Interface WorkflowContainer
- All Superinterfaces:
- Comparable<StoreElement>,- HistoryProvider,- IDProvider,- StoreElement,- Workflowable
- All Known Subinterfaces:
- WorkflowFolder,- Workflows
Interface providing methods for elements which can have 
workflows and WorkflowFolder as children.- Since:
- 4.0
- 
Nested Class SummaryNested classes/interfaces inherited from interface de.espirit.firstspirit.storage.HistoryProviderHistoryProvider.RevisionProviderNested classes/interfaces inherited from interface de.espirit.firstspirit.access.store.IDProviderIDProvider.DependentReleaseType, IDProvider.RevertType, IDProvider.UidType
- 
Field SummaryFields inherited from interface de.espirit.firstspirit.storage.HistoryProviderALL_REVISIONS, EVER_SINCE, UNTIL_NOWFields inherited from interface de.espirit.firstspirit.access.store.IDProviderCHANGED, NEVER_RELEASED, RELEASED
- 
Method SummaryModifier and TypeMethodDescriptioncreateWorkflow(String uid, String description) Creates a new workflow with the given uid and description as child of this workflow container.createWorkflow(String name, String description, boolean unify) Creates a new workflow with the given uid and description as child of this workflow container.createWorkflowFolder(String name) Creates a new workflow folder with the given name as child of this workflow container.createWorkflowFolder(String name, @Nullable Map<Language, String> lang2DisplayName) Creates a newWorkflowFolderwith the given name and displaynames as child of this workflow container.Methods inherited from interface java.lang.ComparablecompareToMethods inherited from interface de.espirit.firstspirit.storage.HistoryProviderasRevisionProvider, getHistory, getHistoryMethods inherited from interface de.espirit.firstspirit.access.store.IDProvidercontrastWith, getDisplayName, getId, getInRevision, getLanguageInfo, getLongID, getMeta, getMetaFormData, getParent, getReleasedBy, getReleaseRevision, getReleaseRevision, getReleaseStatus, getReleaseStatus, getRevision, getUid, getUidType, hasMeta, hasUid, isInReleaseStore, isInReleaseStore, isReachableInReleaseStore, isReleased, isReleased, isReleaseSupported, moveChild, moveChild, release, release, release, release, revert, setDisplayName, setMeta, setMetaFormData, setUidMethods inherited from interface de.espirit.firstspirit.access.store.StoreElementappendChild, appendChildBefore, delete, exportStoreElement, getChildCount, getChildIndex, getChildren, getChildren, getChildren, getChildren, getCreateWorkflowPermission, getDefinedPrincipalPermissions, getEditor, getElementType, getFirstChild, getIncomingReferences, getInheritedPrincipalPermissions, getLastChanged, getName, getNextSibling, getOutgoingReferences, getPermission, getPermission, getPermission, getPreviousSibling, getProject, getReferenceName, getReferences, 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, toXmlMethods inherited from interface de.espirit.firstspirit.access.WorkflowablegetColor, getTask, hasTask, removeTask, setColor, setTask
- 
Method Details- 
createWorkflowFolderCreates a new workflow folder with the given name as child of this workflow container.- Throws:
- LockException
- ElementDeletedException
- Since:
- 3.0
- See Also:
 
- 
createWorkflowFolderWorkflowFolder createWorkflowFolder(String name, @Nullable @Nullable Map<Language, String> lang2DisplayName) throws LockException, ElementDeletedExceptionCreates a newWorkflowFolderwith the given name and displaynames as child of this workflow container.- Parameters:
- name- the name of the new folder
- lang2DisplayName- mapping of language to language specific displayname; used to create- LanguageInfonodes
- Returns:
- the new folder
- Throws:
- LockException- if this folder is locked in another session
- ElementDeletedException- if this folder is already deleted on the server
- Since:
- 4.2.400
 
- 
createWorkflowWorkflow createWorkflow(String uid, String description) throws LockException, DuplicateReferenceNameException, ElementDeletedException Creates a new workflow with the given uid and description as child of this workflow container. CallscreateWorkflow(uid, description, false)- Throws:
- DuplicateReferenceNameException- if an element with the given uid in the same namescope (- Workflow.UID_TYPE) already exits on the server
- LockException
- ElementDeletedException
- Since:
- 3.0
 
- 
createWorkflowWorkflow createWorkflow(String name, String description, boolean unify) throws LockException, ElementDeletedException Creates a new workflow with the given uid and description as child of this workflow container.- Throws:
- DuplicateReferenceNameException- if- unify == falseand an element with the given uid in the same namescope (- Workflow.UID_TYPE) already exits on the server
- LockException
- ElementDeletedException
- Since:
- 4.0
 
 
-