Package com.axemble.vdoc.sdk.impl
Class ProcessDelegationController
java.lang.Object
com.axemble.vdoc.sdk.impl.AbstractElement
com.axemble.vdoc.sdk.impl.ProcessDelegationController
- All Implemented Interfaces:
- IController,- IDelegationController,- Serializable
- See Also:
- 
Field SummaryFields inherited from class com.axemble.vdoc.sdk.impl.AbstractElementmodule
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddDelegation(IUser user, IUser substituteUser) Add a delegation unit to all objects which support delegation on a server scopevoidaddDelegation(IUser user, IUser substituteUser, IWorkflowInstance workflowInstance, ITask task) Add a delegation unit to a specific workflow instance for a user in the context of a taskvoidaddDelegation(IUser user, IUser substituteUser, IDelegationSupport delegationSupport) Add a delegation unit to any object which supports delegationvoidaddDelegation(IUser user, IUser substituteUser, IDelegationSupport delegationSupport, String comment) Add a delegation unit to any object which supports delegationvoidbreakDelegation(IUser user, IWorkflowInstance workflowInstance, ITask task) Break a delegation unit.voidbreakDelegation(IUser user, IDelegationSupport delegationSupport) Break a delegation unit.voiddelegate(IUser user, IUser substituteUser, ITaskInstance taskInstance) Delegate a specific task instance.delegateOperatorRoles(ICatalog catalog, Collection<? extends IOperatorRole> roles, IUser user, IUser substituteUser) Allow to replace a user for the operator rolesdelegateProfiles(ICatalog catalog, Collection<? extends IProfile> profiles, IUser user, IUser substituteUser) Allow to replace a user for the profilesdelegateResources(ICatalog catalog, Collection<? extends IOperatorRole> roles, Collection<? extends IWorkflowInstance> resources, IUser user, IUser substituteUser) Allow to replace a user for a specified set of workflow instancesdelegateRoles(ICatalog catalog, Collection<? extends IRole> roles, Collection<? extends IWorkflowInstance> resources, IUser user, IUser substituteUser) Allow to replace a user for the rolesvoidremoveDelegation(IUser user) Remove a delegation unit for all objects which support delegation on a server scopevoidremoveDelegation(IUser user, IWorkflowInstance workflowInstance, ITask task) Remove a delegation unit for a particular user and a specific taskvoidremoveDelegation(IUser user, IDelegationSupport delegationSupport) Remove a delegation unit for a particular userMethods inherited from class com.axemble.vdoc.sdk.impl.AbstractElementgetModule
- 
Constructor Details- 
ProcessDelegationController
 
- 
- 
Method Details- 
delegateResourcespublic IReport delegateResources(ICatalog catalog, Collection<? extends IOperatorRole> roles, Collection<? extends IWorkflowInstance> resources, IUser user, IUser substituteUser) Description copied from interface:IDelegationControllerAllow to replace a user for a specified set of workflow instances- Specified by:
- delegateResourcesin interface- IDelegationController
- Parameters:
- catalog-
- roles-
- resources-
- user-
- substituteUser-
- Returns:
- A IReportobject.
 
- 
delegateRolespublic IReport delegateRoles(ICatalog catalog, Collection<? extends IRole> roles, Collection<? extends IWorkflowInstance> resources, IUser user, IUser substituteUser) Description copied from interface:IDelegationControllerAllow to replace a user for the roles- Specified by:
- delegateRolesin interface- IDelegationController
- Parameters:
- catalog-
- roles-
- resources-
- user-
- substituteUser-
- Returns:
- A IReportobject.
 
- 
delegateOperatorRolespublic IReport delegateOperatorRoles(ICatalog catalog, Collection<? extends IOperatorRole> roles, IUser user, IUser substituteUser) Description copied from interface:IDelegationControllerAllow to replace a user for the operator roles- Specified by:
- delegateOperatorRolesin interface- IDelegationController
- Parameters:
- catalog-
- roles-
- user-
- substituteUser-
- Returns:
- report
 
- 
delegateProfilespublic IReport delegateProfiles(ICatalog catalog, Collection<? extends IProfile> profiles, IUser user, IUser substituteUser) Description copied from interface:IDelegationControllerAllow to replace a user for the profiles- Specified by:
- delegateProfilesin interface- IDelegationController
- Parameters:
- catalog-
- profiles-
- user-
- substituteUser-
- Returns:
- A IReportobject.
 
- 
addDelegationDescription copied from interface:IDelegationControllerAdd a delegation unit to any object which supports delegation- Specified by:
- addDelegationin interface- IDelegationController
- Parameters:
- user- The user to replace
- substituteUser- The next fulfiller
- delegationSupport- The object which supports delegation
 
- 
addDelegationpublic void addDelegation(IUser user, IUser substituteUser, IDelegationSupport delegationSupport, String comment) Description copied from interface:IDelegationControllerAdd a delegation unit to any object which supports delegation- Specified by:
- addDelegationin interface- IDelegationController
- Parameters:
- user- The user to replace
- substituteUser- The next fulfiller
- delegationSupport- The object which supports delegation
- comment-
 
- 
removeDelegationDescription copied from interface:IDelegationControllerRemove a delegation unit for a particular user- Specified by:
- removeDelegationin interface- IDelegationController
- Parameters:
- user-
- delegationSupport-
 
- 
breakDelegationDescription copied from interface:IDelegationControllerBreak a delegation unit. It prevents an embedded object from being delegated- Specified by:
- breakDelegationin interface- IDelegationController
- Parameters:
- user-
- delegationSupport-
 
- 
addDelegationpublic void addDelegation(IUser user, IUser substituteUser, IWorkflowInstance workflowInstance, ITask task) Description copied from interface:IDelegationControllerAdd a delegation unit to a specific workflow instance for a user in the context of a task- Specified by:
- addDelegationin interface- IDelegationController
- Parameters:
- user-
- substituteUser-
- workflowInstance-
- task-
 
- 
removeDelegationDescription copied from interface:IDelegationControllerRemove a delegation unit for a particular user and a specific task- Specified by:
- removeDelegationin interface- IDelegationController
- Parameters:
- user-
- workflowInstance-
- task-
 
- 
breakDelegationDescription copied from interface:IDelegationControllerBreak a delegation unit. It prevents an embedded object from being delegated- Specified by:
- breakDelegationin interface- IDelegationController
- Parameters:
- user-
- workflowInstance-
- task-
 
- 
addDelegationDescription copied from interface:IDelegationControllerAdd a delegation unit to all objects which support delegation on a server scope- Specified by:
- addDelegationin interface- IDelegationController
- Parameters:
- user- The user to replace
- substituteUser- The next fulfiller
 
- 
removeDelegationDescription copied from interface:IDelegationControllerRemove a delegation unit for all objects which support delegation on a server scope- Specified by:
- removeDelegationin interface- IDelegationController
- Parameters:
- user-
 
- 
delegateDescription copied from interface:IDelegationControllerDelegate a specific task instance.- Specified by:
- delegatein interface- IDelegationController
- Parameters:
- user-
- substituteUser-
- taskInstance-
 
 
-