Package de.xima.fc.dao.impl
Class WorkflowProcessDao
- java.lang.Object
-
- de.xima.cmn.dao.AbstractDao<T,Long,IEntityContext>
-
- de.xima.fc.dao.impl.GenericDao<WorkflowProcess>
-
- de.xima.fc.dao.impl.WorkflowProcessDao
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<WorkflowProcess,Long,IEntityContext>
,IGenericDao<WorkflowProcess>
,IWorkflowProcessDao
public class WorkflowProcessDao extends GenericDao<WorkflowProcess> implements IWorkflowProcessDao
The default implementation ofIWorkflowProcessDao
that can be accessed viaDaoProvider
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description WorkflowProcessDao()
Creates a new instance of this DAO.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowProcess
loadMainProcess(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, read
-
Methods 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, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
getEntityRefs, read
-
-
-
-
Constructor Detail
-
WorkflowProcessDao
public WorkflowProcessDao()
Creates a new instance of this DAO. Normally you should use the singleton instance provided byDaoProvider.WORKFLOWPROCESS_DAO
.
-
-
Method Detail
-
loadMainProcess
public WorkflowProcess loadMainProcess(IEntityContext ec, WorkflowVersion workflowVersion)
Description copied from interface:IWorkflowProcessDao
Fetches the main process of the given workflow version of the given project.- Specified by:
loadMainProcess
in 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.
-
-