Interface IWorkflowTaskHandler
- 
- All Superinterfaces:
- IAPIHandler,- IGenericHandler,- Serializable
 - All Known Implementing Classes:
- WorkflowTaskHandler
 
 public interface IWorkflowTaskHandler extends IGenericHandler Handler forWorkflowTaskentities.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description List<WorkflowTask>getInboxTasks(UserContext uc, Vorgang formRecord, Benutzer user)Deprecated.UsegetInboxTasks(UserContext, Vorgang, IUser)instead.List<WorkflowTask>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 interface de.xima.fc.com.interfaces.IAPIHandlergetName
 - 
Methods inherited from interface de.xima.fc.handler.interfaces.entity.IGenericHandlercreate, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update
 
- 
 
- 
- 
- 
Method Detail- 
getInboxTasksList<WorkflowTask> getInboxTasks(UserContext uc, Vorgang formRecord, IUser user) Finds all tasks that are allowed to be invoked by the given user in the inbox.- 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.
 
 - 
isTaskInvokableInInboxboolean isTaskInvokableInInbox(UserContext uc, WorkflowTask task, Vorgang formRecord, IUser user) Checks whether the given task may be initiated by the given user in the inbox.- 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, or- falseotherwise.
 
 - 
getInboxTasks@Deprecated List<WorkflowTask> getInboxTasks(UserContext uc, Vorgang formRecord, Benutzer user) Deprecated.UsegetInboxTasks(UserContext, Vorgang, IUser)instead.Finds all tasks that are allowed to be invoked by the given user in the inbox.- 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 boolean isTaskInvokableInInbox(UserContext uc, WorkflowTask task, Vorgang formRecord, Benutzer user) Deprecated.Checks whether the given task may be initiated by the given user in the inbox.- 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, or- falseotherwise.
 
 
- 
 
-