Package de.xima.fc.dao.impl
Class WorkflowProcessDao
java.lang.Object
de.xima.cmn.dao.AbstractDao<T,Long,IEntityContext>
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<WorkflowProcess,,Long, IEntityContext> IGenericDao<WorkflowProcess>,IWorkflowProcessDao
The default implementation of
IWorkflowProcessDao that can be accessed via DaoProvider.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Field Summary
Fields inherited from class de.xima.cmn.dao.AbstractDao
entityClass, LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionloadMainProcess(IEntityContext ec, WorkflowVersion workflowVersion) Fetches the main process of the given workflow version of the given project.Methods inherited from class de.xima.fc.dao.impl.GenericDao
getEntityRefs, getPostActionHook, getPreActionHook, readMethods inherited from class de.xima.cmn.dao.AbstractDao
all, bulkDelete, bulkUpdate, cb, checkLockingVersion, cq, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, notifyListener, notifyListener, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, updateMethods inherited from interface de.xima.fc.dao.interfaces.IGenericDao
count, findAll, findSingle, getEntityRefs, read
-
Constructor Details
-
WorkflowProcessDao
public WorkflowProcessDao()Creates a new instance of this DAO. Normally you should use the singleton instance provided byDaoProvider.WORKFLOWPROCESS_DAO.
-
-
Method Details
-
loadMainProcess
Description copied from interface:IWorkflowProcessDaoFetches the main process of the given workflow version of the given project.- Specified by:
loadMainProcessin interfaceIWorkflowProcessDao- Parameters:
ec- Entity context to use.workflowVersion- Workflow version for which to load the main process.- Returns:
- The
WorkflowVersion.getMainProcess()of the given workflow version.
-