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
Handler implementation for reading and writing
WorkflowState entities.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
Fields inherited from class GenericHandler
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllByWorkflowVersion(UserContext uc, Projekt project, long versionNumber) Finds all available states for the given workflow version.getAllByWorkflowVersion(UserContext uc, WorkflowVersion workflowVersion) Finds all available states for the given workflow version.Methods inherited from class GenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, serializableList, update, updateMethods inherited from class AMSApiHandler
getNameMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IAPIHandler
getNameMethods inherited from interface IGenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update
-
Constructor Details
-
WorkflowStateHandler
public WorkflowStateHandler()
-
-
Method Details
-
getAllByWorkflowVersion
Description copied from interface:IWorkflowStateHandlerFinds all available states for the given workflow version.- Specified by:
getAllByWorkflowVersionin 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:IWorkflowStateHandlerFinds all available states for the given workflow version.- Specified by:
getAllByWorkflowVersionin 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.
-