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 Summary
Fields inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
module
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDelegation
(IUser user, IUser substituteUser) Add a delegation unit to all objects which support delegation on a server scopevoid
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 taskvoid
addDelegation
(IUser user, IUser substituteUser, IDelegationSupport delegationSupport) Add a delegation unit to any object which supports delegationvoid
addDelegation
(IUser user, IUser substituteUser, IDelegationSupport delegationSupport, String comment) Add a delegation unit to any object which supports delegationvoid
breakDelegation
(IUser user, IWorkflowInstance workflowInstance, ITask task) Break a delegation unit.void
breakDelegation
(IUser user, IDelegationSupport delegationSupport) Break a delegation unit.void
delegate
(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 rolesvoid
removeDelegation
(IUser user) Remove a delegation unit for all objects which support delegation on a server scopevoid
removeDelegation
(IUser user, IWorkflowInstance workflowInstance, ITask task) Remove a delegation unit for a particular user and a specific taskvoid
removeDelegation
(IUser user, IDelegationSupport delegationSupport) Remove a delegation unit for a particular userMethods inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
getModule
-
Constructor Details
-
ProcessDelegationController
-
-
Method Details
-
delegateResources
public IReport delegateResources(ICatalog catalog, Collection<? extends IOperatorRole> roles, Collection<? extends IWorkflowInstance> resources, IUser user, IUser substituteUser) Description copied from interface:IDelegationController
Allow to replace a user for a specified set of workflow instances- Specified by:
delegateResources
in interfaceIDelegationController
- Parameters:
catalog
-roles
-resources
-user
-substituteUser
-- Returns:
- A
IReport
object.
-
delegateRoles
public IReport delegateRoles(ICatalog catalog, Collection<? extends IRole> roles, Collection<? extends IWorkflowInstance> resources, IUser user, IUser substituteUser) Description copied from interface:IDelegationController
Allow to replace a user for the roles- Specified by:
delegateRoles
in interfaceIDelegationController
- Parameters:
catalog
-roles
-resources
-user
-substituteUser
-- Returns:
- A
IReport
object.
-
delegateOperatorRoles
public IReport delegateOperatorRoles(ICatalog catalog, Collection<? extends IOperatorRole> roles, IUser user, IUser substituteUser) Description copied from interface:IDelegationController
Allow to replace a user for the operator roles- Specified by:
delegateOperatorRoles
in interfaceIDelegationController
- Parameters:
catalog
-roles
-user
-substituteUser
-- Returns:
- report
-
delegateProfiles
public IReport delegateProfiles(ICatalog catalog, Collection<? extends IProfile> profiles, IUser user, IUser substituteUser) Description copied from interface:IDelegationController
Allow to replace a user for the profiles- Specified by:
delegateProfiles
in interfaceIDelegationController
- Parameters:
catalog
-profiles
-user
-substituteUser
-- Returns:
- A
IReport
object.
-
addDelegation
Description copied from interface:IDelegationController
Add a delegation unit to any object which supports delegation- Specified by:
addDelegation
in interfaceIDelegationController
- Parameters:
user
- The user to replacesubstituteUser
- The next fulfillerdelegationSupport
- The object which supports delegation
-
addDelegation
public void addDelegation(IUser user, IUser substituteUser, IDelegationSupport delegationSupport, String comment) Description copied from interface:IDelegationController
Add a delegation unit to any object which supports delegation- Specified by:
addDelegation
in interfaceIDelegationController
- Parameters:
user
- The user to replacesubstituteUser
- The next fulfillerdelegationSupport
- The object which supports delegationcomment
-
-
removeDelegation
Description copied from interface:IDelegationController
Remove a delegation unit for a particular user- Specified by:
removeDelegation
in interfaceIDelegationController
- Parameters:
user
-delegationSupport
-
-
breakDelegation
Description copied from interface:IDelegationController
Break a delegation unit. It prevents an embedded object from being delegated- Specified by:
breakDelegation
in interfaceIDelegationController
- Parameters:
user
-delegationSupport
-
-
addDelegation
public void addDelegation(IUser user, IUser substituteUser, IWorkflowInstance workflowInstance, ITask task) Description copied from interface:IDelegationController
Add a delegation unit to a specific workflow instance for a user in the context of a task- Specified by:
addDelegation
in interfaceIDelegationController
- Parameters:
user
-substituteUser
-workflowInstance
-task
-
-
removeDelegation
Description copied from interface:IDelegationController
Remove a delegation unit for a particular user and a specific task- Specified by:
removeDelegation
in interfaceIDelegationController
- Parameters:
user
-workflowInstance
-task
-
-
breakDelegation
Description copied from interface:IDelegationController
Break a delegation unit. It prevents an embedded object from being delegated- Specified by:
breakDelegation
in interfaceIDelegationController
- Parameters:
user
-workflowInstance
-task
-
-
addDelegation
Description copied from interface:IDelegationController
Add a delegation unit to all objects which support delegation on a server scope- Specified by:
addDelegation
in interfaceIDelegationController
- Parameters:
user
- The user to replacesubstituteUser
- The next fulfiller
-
removeDelegation
Description copied from interface:IDelegationController
Remove a delegation unit for all objects which support delegation on a server scope- Specified by:
removeDelegation
in interfaceIDelegationController
- Parameters:
user
-
-
delegate
Description copied from interface:IDelegationController
Delegate a specific task instance.- Specified by:
delegate
in interfaceIDelegationController
- Parameters:
user
-substituteUser
-taskInstance
-
-