Package com.axemble.vdoc.sdk.interfaces
Interface IDelegationController
- All Superinterfaces:
IController,Serializable
- All Known Implementing Classes:
ProcessDelegationController
The IDelegationController interface allows you to either replace of delegate objects which supports delegation.
- Since:
- 1.0, 15/04/2008
- See Also:
-
Method Summary
Modifier 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) Deprecated.: use delegateOperatorRoles or delegateProfilesvoidremoveDelegation(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 user
-
Method Details
-
addDelegation
Add a delegation unit to all objects which support delegation on a server scope- Parameters:
user- The user to replacesubstituteUser- The next fulfiller
-
removeDelegation
Remove a delegation unit for all objects which support delegation on a server scope -
addDelegation
Add a delegation unit to any object which supports delegation- Parameters:
user- The user to replacesubstituteUser- The next fulfillerdelegationSupport- The object which supports delegation
-
addDelegation
void addDelegation(IUser user, IUser substituteUser, IDelegationSupport delegationSupport, String comment) Add a delegation unit to any object which supports delegation- Parameters:
user- The user to replacesubstituteUser- The next fulfillerdelegationSupport- The object which supports delegation
-
removeDelegation
Remove a delegation unit for a particular user -
breakDelegation
Break a delegation unit. It prevents an embedded object from being delegated -
addDelegation
void addDelegation(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 task -
removeDelegation
Remove a delegation unit for a particular user and a specific task -
breakDelegation
Break a delegation unit. It prevents an embedded object from being delegated -
delegate
Delegate a specific task instance. -
delegateResources
IReport delegateResources(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 instances- Returns:
- A
IReportobject.
-
delegateRoles
@Deprecated IReport delegateRoles(ICatalog catalog, Collection<? extends IRole> roles, Collection<? extends IWorkflowInstance> resources, IUser user, IUser substituteUser) Deprecated.: use delegateOperatorRoles or delegateProfilesAllow to replace a user for the roles- Returns:
- A
IReportobject.
-
delegateOperatorRoles
IReport delegateOperatorRoles(ICatalog catalog, Collection<? extends IOperatorRole> roles, IUser user, IUser substituteUser) Allow to replace a user for the operator roles- Returns:
- report
-
delegateProfiles
IReport delegateProfiles(ICatalog catalog, Collection<? extends IProfile> profiles, IUser user, IUser substituteUser) Allow to replace a user for the profiles- Returns:
- A
IReportobject.
-