Package de.xima.fc.handler.entity
Class WorkflowTaskHandler
java.lang.Object
de.xima.fc.handler.AMSApiHandler
de.xima.fc.handler.entity.GenericHandler
de.xima.fc.handler.entity.WorkflowTaskHandler
- All Implemented Interfaces:
IAPIHandler,IGenericHandler,IWorkflowTaskHandler,Serializable
Handler implementation for reading and writing
WorkflowTask entities.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
Fields inherited from class de.xima.fc.handler.entity.GenericHandler
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInboxTasks(UserContext uc, Vorgang formRecord, Benutzer user) Deprecated.getInboxTasks(UserContext uc, Vorgang formRecord, IUser user) Finds all tasks that are allowed to be invoked by the given user in the inbox.booleanisTaskInvokableInInbox(UserContext uc, WorkflowTask task, Vorgang formRecord, Benutzer user) Deprecated.booleanisTaskInvokableInInbox(UserContext uc, WorkflowTask task, Vorgang formRecord, IUser user) Checks whether the given task may be initiated by the given user in the inbox.Methods inherited from class de.xima.fc.handler.entity.GenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, serializableList, update, updateMethods inherited from class de.xima.fc.handler.AMSApiHandler
getNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.xima.fc.com.interfaces.IAPIHandler
getNameMethods inherited from interface de.xima.fc.handler.interfaces.entity.IGenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update
-
Constructor Details
-
WorkflowTaskHandler
public WorkflowTaskHandler()
-
-
Method Details
-
getInboxTasks
Description copied from interface:IWorkflowTaskHandlerFinds all tasks that are allowed to be invoked by the given user in the inbox.- Specified by:
getInboxTasksin interfaceIWorkflowTaskHandler- Parameters:
uc- Current user context for database transactions.formRecord- Form record for which to find the tasks.user- User for checking permissions.- Returns:
- A list of all invokable tasks for the given form record, restricted to the tasks permitted to the given
user. The
WorkflowTask.getTrigger()field will be initialized.
-
isTaskInvokableInInbox
public boolean isTaskInvokableInInbox(UserContext uc, WorkflowTask task, Vorgang formRecord, IUser user) Description copied from interface:IWorkflowTaskHandlerChecks whether the given task may be initiated by the given user in the inbox.- Specified by:
isTaskInvokableInInboxin interfaceIWorkflowTaskHandler- Parameters:
uc- Current user context for database transactions.task- A workflow task to check.formRecord- Form record for which to find the tasks.user- User for checking permissions.- Returns:
trueif the given user is permitted to initiated the given task, orfalseotherwise.
-
getInboxTasks
@Deprecated public List<WorkflowTask> getInboxTasks(UserContext uc, Vorgang formRecord, Benutzer user) Deprecated.Description copied from interface:IWorkflowTaskHandlerFinds all tasks that are allowed to be invoked by the given user in the inbox.- Specified by:
getInboxTasksin interfaceIWorkflowTaskHandler- Parameters:
uc- Current user context for database transactions.formRecord- Form record for which to find the tasks.user- User for checking permissions.- Returns:
- A list of all invokable tasks for the given form record, restricted to the tasks permitted to the given
user. The
WorkflowTask.getTrigger()field will be initialized.
-
isTaskInvokableInInbox
@Deprecated public boolean isTaskInvokableInInbox(UserContext uc, WorkflowTask task, Vorgang formRecord, Benutzer user) Deprecated.Description copied from interface:IWorkflowTaskHandlerChecks whether the given task may be initiated by the given user in the inbox.- Specified by:
isTaskInvokableInInboxin interfaceIWorkflowTaskHandler- Parameters:
uc- Current user context for database transactions.task- A workflow task to check.formRecord- Form record for which to find the tasks.user- User for checking permissions.- Returns:
trueif the given user is permitted to initiated the given task, orfalseotherwise.
-