Package org.uengine.persistence.processdefinition

Examples of org.uengine.persistence.processdefinition.ProcessDefinitionRepositoryHomeLocal.create()


      ProcessDefinitionRepositoryLocal pdr = null;
     
      try {
        pdr = pdhr.findByNameSameLevel(folderName, new Long(parentFolder), "folder");
      } catch (Exception e) {
        pdr = pdhr.create(UniqueKeyGenerator.issueProcessDefinitionKey(getTransactionContext()));
        pdr.setName(folderName);
        pdr.setParentFolder(new Long(parentFolder));
        pdr.setIsFolder(true);
        pdr.setObjType("folder");
      }
View Full Code Here


      }catch(Exception e){
      }
    }   
    if(!definitionExist){
      belongingPdid = ""+UniqueKeyGenerator.issueProcessDefinitionKey(tc);
      ProcessDefinitionRepositoryLocal pdr = pdhr.create(new Long(belongingPdid));
      pdr.setName(name);
      pdr.setParentFolder(new Long(folder));
      if(UEngineUtil.isNotEmpty(description))
        pdr.setDescription(description);
     
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.