Package de.xima.fc.handler.entity
Class WorkflowStateHandler
- java.lang.Object
-
- de.xima.fc.handler.AMSApiHandler
-
- de.xima.fc.handler.entity.GenericHandler
-
- de.xima.fc.handler.entity.WorkflowStateHandler
-
- All Implemented Interfaces:
IAPIHandler
,IGenericHandler
,IWorkflowStateHandler
,Serializable
public class WorkflowStateHandler extends GenericHandler implements IWorkflowStateHandler
Handler implementation for reading and writingWorkflowState
entities.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.xima.fc.handler.entity.GenericHandler
LOG
-
-
Constructor Summary
Constructors Constructor Description WorkflowStateHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<WorkflowState>
getAllByWorkflowVersion(UserContext uc, Projekt project, long versionNumber)
Finds all available states for the given workflow version.List<WorkflowState>
getAllByWorkflowVersion(UserContext uc, WorkflowVersion workflowVersion)
Finds all available states for the given workflow version.-
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, update
-
Methods inherited from class de.xima.fc.handler.AMSApiHandler
getName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.com.interfaces.IAPIHandler
getName
-
Methods 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
-
-
-
-
Method Detail
-
getAllByWorkflowVersion
public List<WorkflowState> getAllByWorkflowVersion(UserContext uc, WorkflowVersion workflowVersion)
Description copied from interface:IWorkflowStateHandler
Finds all available states for the given workflow version.- Specified by:
getAllByWorkflowVersion
in interfaceIWorkflowStateHandler
- Parameters:
uc
- Current user context.workflowVersion
- Workflow version for which to find the states.- Returns:
- All appointment slots of the given templates.
-
getAllByWorkflowVersion
public List<WorkflowState> getAllByWorkflowVersion(UserContext uc, Projekt project, long versionNumber)
Description copied from interface:IWorkflowStateHandler
Finds all available states for the given workflow version.- Specified by:
getAllByWorkflowVersion
in interfaceIWorkflowStateHandler
- Parameters:
uc
- Current user context.project
- The project which contains the workflow version.versionNumber
- Workflow version for which to find the states.- Returns:
- All appointment slots of the given templates.
-
-