Package de.xima.fc.dao.interfaces
Interface IWorkflowTriggerDao
-
- All Superinterfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<WorkflowTrigger,Long,IEntityContext>
,IGenericDao<WorkflowTrigger>
,IWorkflowElementDao<WorkflowTrigger>
- All Known Implementing Classes:
WorkflowTriggerDao
public interface IWorkflowTriggerDao extends IWorkflowElementDao<WorkflowTrigger>
Data access object for creating, updating, and deletingWorkflowTrigger
entities.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkflowTrigger
getUserTriggerByRecordAndUser(IEntityContext ec, IUser user, UUID formRecordUuid, UUID taskUuid, UUID triggerUuid)
Returns the workflow user trigger defined by the given record, task and trigger UUID.PagedResult<WorkflowTrigger>
getUserTriggersByRecordAndUser(IEntityContext ec, UUID formRecordUuid, IUser user, int page, int pageSize)
Finds the portal workflow triggers available for the form record given by its UUID if the given user can access the form record.-
Methods inherited from interface de.xima.cmn.dao.interfaces.IAbstractDao
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
-
Methods inherited from interface de.xima.fc.dao.interfaces.IGenericDao
count, findAll, findSingle, getEntityRefs, read
-
Methods inherited from interface de.xima.fc.dao.interfaces.IWorkflowElementDao
byUuid, byUuid, getAllReferencingElements, getAllReferencingElements, getAllReferencingElements, getForActiveVersionBy, getForActiveVersionBy, getForActiveVersionBy, getForCurrentVersionBy, getForCurrentVersionBy, getForCurrentVersionBy, searchTermExists, searchTermExists, searchTermNotExists, searchTermNotExists
-
-
-
-
Method Detail
-
getUserTriggersByRecordAndUser
PagedResult<WorkflowTrigger> getUserTriggersByRecordAndUser(IEntityContext ec, UUID formRecordUuid, IUser user, int page, int pageSize)
Finds the portal workflow triggers available for the form record given by its UUID if the given user can access the form record.- Parameters:
ec
- entity context for accessing the database.formRecordUuid
- the UUID of the form recorduser
- to get the portal workflow triggers for.page
- to get.pageSize
- size of the page to get.- Returns:
- a list of portal workflow triggers the user has access to ordered by their name (asc).
null
if the form record given by the UUID could not be found. - Since:
- 8.2.0
-
getUserTriggerByRecordAndUser
WorkflowTrigger getUserTriggerByRecordAndUser(IEntityContext ec, IUser user, UUID formRecordUuid, UUID taskUuid, UUID triggerUuid)
Returns the workflow user trigger defined by the given record, task and trigger UUID. The workflow trigger needs to be of type USER.- Parameters:
ec
- entity context for accessing the database.user
- to get the user workflow trigger for.formRecordUuid
- the UUID of the form record.taskUuid
- the UUID of the workflow task.triggerUuid
- the UUID of the workflow trigger.- Returns:
- the workflow user trigger defined by the given record, task and trigger UUID.
null
if no workflow trigger was found with the given specification. - Since:
- 8.2.0
-
-