Examples of containKeys()


Examples of org.uengine.util.export.UEngineArchive.containKeys()

            if (UEngineUtil.isNotEmpty(formDefId)) {
              String formAlias = formDefId.substring(1, formDefId.indexOf("]"));
              String defVerId = getProcessDefinitionProductionVersionByAlias(formAlias);
              ProcessDefinitionRemote formPdr = getProcessDefinitionRemote(defVerId);
             
              if (!ua.containKeys(formPdr.getBelongingDefinitionId()) ) {
                      //_SubProc folder create
                ua.setDefinitionList("_Form","", "_Form", "", ZipEntryMapper.TYPE_FOLDER ,"_Form" ,"", ua.getMainProcessDefinition().getBelongingId(), "", false);

                String fileName = ZipEntryMapper.ENTRY_SEPARATOR+formPdr.getName().getText()+ZipEntryMapper.ENTRY_SEPARATOR+formPdr.getAlias()+ZipEntryMapper.ENTRY_SEPARATOR+formPdr.getId()+ZipEntryMapper.ENTRY_SEPARATOR+formPdr.getObjType();
                String desc = formPdr.getDescription() == null ? "" : formPdr.getDescription().getText();
View Full Code Here

Examples of org.uengine.util.export.UEngineArchive.containKeys()

      String subDefVerId = (String) subDefinition.get(key);
     
      ProcessDefinitionRemote pdr = getProcessDefinitionRemote(subDefVerId);
      pdr.setObjType("process");
     
      if ( !ua.containKeys(pdr.getBelongingDefinitionId())) {
              //_SubProc folder create
        ua.setDefinitionList("_SubProc","", "_SubProc", "", ZipEntryMapper.TYPE_FOLDER ,"_SubProc" ,"", ua.getMainProcessDefinition().getBelongingId(), "", false);
       
        //add sub-process
        String fileName = ZipEntryMapper.ENTRY_SEPARATOR+pdr.getName().getText()+ZipEntryMapper.ENTRY_SEPARATOR+pdr.getAlias()+ZipEntryMapper.ENTRY_SEPARATOR+pdr.getId()+ZipEntryMapper.ENTRY_SEPARATOR+pdr.getObjType();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.