public class WorkflowStates extends BaseManager
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
WorkflowState |
createWorkflowState(java.lang.String defaultName)
Adds a new state.
|
void |
deleteWorkflowState(WorkflowState value)
Delete the given state.
|
WorkflowState |
getWorkflowState(int stateID)
Returns the state for the given ID.
|
java.util.Set<java.lang.Integer> |
getWorkflowStateIDs()
Returns all available state IDs of this instance.
|
java.util.List<WorkflowState> |
getWorkflowStates()
Returns a list of all contained states.
|
java.util.List<WorkflowState> |
getWorkflowStates(java.util.Set<java.lang.Integer> wantedStateIDs)
Returns the list of states for the given list of IDs.
|
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public WorkflowState createWorkflowState(java.lang.String defaultName)
defaultName
- the default name for the new statepublic void deleteWorkflowState(WorkflowState value)
value
- state to delete.public java.util.List<WorkflowState> getWorkflowStates()
public java.util.Set<java.lang.Integer> getWorkflowStateIDs()
public java.util.List<WorkflowState> getWorkflowStates(java.util.Set<java.lang.Integer> wantedStateIDs)
wantedStateIDs
- ids of the wanted statespublic WorkflowState getWorkflowState(int stateID)
stateID
- ID of the state to getwww.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.