public interface WorkflowContainer extends IDProvider
workflows and WorkflowFolder as children.IDProvider.DependentReleaseType, IDProvider.RevertType, IDProvider.UidTypeHistoryProvider.RevisionProviderCHANGED, NEVER_RELEASED, RELEASEDALL_REVISIONS, EVER_SINCE, UNTIL_NOW| Modifier and Type | Method and Description |
|---|---|
Workflow |
createWorkflow(String uid,
String description)
Creates a new workflow with the given uid and description as child of this workflow container.
|
Workflow |
createWorkflow(String name,
String description,
boolean unify)
Creates a new workflow with the given uid and description as child of this workflow container.
|
WorkflowFolder |
createWorkflowFolder(String name)
Creates a new workflow folder with the given name as child of this workflow container.
|
WorkflowFolder |
createWorkflowFolder(String name,
Map<Language,String> lang2DisplayName)
Creates a new
WorkflowFolder with the given name and displaynames as child of this workflow container. |
contrastWith, getDisplayName, getId, getInRevision, getLanguageInfo, getLongID, getMeta, getMetaFormData, getParent, getReleasedBy, getReleaseRevision, getReleaseStatus, getRevision, getUid, getUidType, hasMeta, hasUid, isInReleaseStore, isReleased, isReleaseSupported, moveChild, moveChild, release, release, revert, setMeta, setMetaFormData, setUidappendChild, appendChildBefore, delete, exportStoreElement, getChildCount, getChildIndex, getChildren, getChildren, getChildren, getChildren, getCreateWorkflowPermission, getDefinedPrincipalPermissions, getEditor, getElementType, getFirstChild, getIncomingReferences, getInheritedPrincipalPermissions, getLastChanged, getName, getNextSibling, getOutgoingReferences, getPermission, getPermission, getPermission, getProject, getReferenceName, getReferences, getStore, getTreePermission, getWorkflowPermission, getWorkflowPermissions, getWriteLock, hasIncomingReferences, hasPermissions, importStoreElement, importStoreElements, inheritWorkflowPermission, isDeleted, isExportSupported, isFolder, isImportSupported, isLocked, isLockedOnServer, isLockSupported, isPermissionSupported, isWorkflowAllowed, isWorkflowSupported, refresh, removeAllWorkflowPermissions, removeChild, removePermission, removePermission, removePermission, removeWorkflowPermission, replaceChild, save, save, save, setInheritWorkflowPermission, setLock, setLock, setPermission, setPermission, setPermission, setWorkflowPermission, setWorkflowPermissions, setWriteLock, toXml, toXml, toXml, updategetColor, getTask, hasTask, removeTask, setColor, setTaskcompareToasRevisionProvider, getHistory, getHistoryWorkflowFolder createWorkflowFolder(String name) throws LockException, ElementDeletedException
LockExceptionElementDeletedExceptioncreateWorkflowFolder(String, java.util.Map)WorkflowFolder createWorkflowFolder(String name, @Nullable Map<Language,String> lang2DisplayName) throws LockException, ElementDeletedException
WorkflowFolder with the given name and displaynames as child of this workflow container.name - the name of the new folderlang2DisplayName - mapping of language to language specific displayname; used to create LanguageInfo nodesLockException - if this folder is locked in another sessionElementDeletedException - if this folder is already deleted on the serverWorkflow createWorkflow(String uid, String description) throws LockException, DuplicateReferenceNameException, ElementDeletedException
createWorkflow(uid, description, false)DuplicateReferenceNameException - if an element with the given uid in the same namescope (Workflow.UID_TYPE) already exits on the serverLockExceptionElementDeletedExceptionWorkflow createWorkflow(String name, String description, boolean unify) throws LockException, ElementDeletedException
DuplicateReferenceNameException - if unify == false and an element with the given uid in the same namescope (Workflow.UID_TYPE) already exits on the serverLockExceptionElementDeletedExceptionCopyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500