Package de.xima.fc.api.entity
Class WorkflowStateAPI
- java.lang.Object
 - 
- de.xima.fc.api.ASubAPI
 - 
- de.xima.fc.api.entity.AEntityAPI<WorkflowState>
 - 
- de.xima.fc.api.entity.WorkflowStateAPI
 
 
 
 
- 
public class WorkflowStateAPI extends AEntityAPI<WorkflowState>
API class for reading and writingWorkflowStateentities.- Since:
 - 7.0.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Field Summary
- 
Fields inherited from class de.xima.fc.api.entity.AEntityAPI
entityClass 
 - 
 
- 
Constructor Summary
Constructors Constructor Description WorkflowStateAPI() 
- 
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.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 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getAllByWorkflowVersion
public List<WorkflowState> getAllByWorkflowVersion(UserContext uc, WorkflowVersion workflowVersion)
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.
 
 
 - 
 
 -