Package de.xima.fc.api.entity
Class WorkflowStateAPI
API class for reading and writing
WorkflowState
entities.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Field Summary
Fields inherited from class de.xima.fc.api.entity.AEntityAPI
entityClass
-
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 de.xima.fc.api.entity.AEntityAPI
create, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, update
Methods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider
-
Constructor Details
-
WorkflowStateAPI
public WorkflowStateAPI()
-
-
Method Details
-
getAllByWorkflowVersion
Finds all available states for the given workflow version.- 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) Finds all available states for the given workflow version.- 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.
-