Uses of Interface
com.comalatech.workflow.model.State
-
Packages that use State Package Description com.comalatech.workflow This package provide the services for accessing and manipulating Ad hoc Workflows informationcom.comalatech.workflow.event This package define the workflow related events -
-
Uses of State in com.comalatech.workflow
Methods in com.comalatech.workflow that return State Modifier and Type Method Description State
StateService. getCurrentState(com.atlassian.confluence.core.ContentEntityObject content)
Returns the current content's state Retrieves theState
StateService. getPublishedState(com.atlassian.confluence.core.ContentEntityObject content)
Retrieves the most recent published state of the content if it has active workflows.State
StateService. setState(com.atlassian.confluence.core.ContentEntityObject content, String stateName, String comment)
Changes the state of the content.State
StateService. setState(com.atlassian.confluence.core.ContentEntityObject content, String stateName, String comment, boolean validate)
Changes the state of pages.State
StateService. updateExpiryDate(com.atlassian.confluence.core.ContentEntityObject content, Date newExpiryDate)
Change the expiry date for the current state on the page.State
StateService. updateExpiryDate(com.atlassian.confluence.core.ContentEntityObject content, Date newExpiryDate, boolean validateChangeDueDate)
Change the expiry date for the current state on the page.Methods in com.comalatech.workflow that return types with arguments of type State Modifier and Type Method Description List<? extends State>
StateService. getStates(com.atlassian.confluence.core.ContentEntityObject content)
Deprecated.since 7.0, use methods inDocumentActivityService
instead with an adequate query - filtering by type "state" and subtype "transition" - to obtain the list of states recorded for the page. -
Uses of State in com.comalatech.workflow.event
Methods in com.comalatech.workflow.event that return State Modifier and Type Method Description State
StateChangeEvent. getPreviousEvent()
Provides the preceding stateState
WorkflowEvent. getState()
The current state of the content
-