Uses of Interface
com.comalatech.workflow.model.State
Package
Description
This package provide the services for accessing and manipulating Ad hoc Workflows information
This package define the workflow related events
-
Uses of State in com.comalatech.workflow
Modifier and TypeMethodDescriptionStateService.getCurrentState
(com.atlassian.confluence.core.ContentEntityObject content) Returns the current content's state Retrieves theStateService.getPublishedState
(com.atlassian.confluence.core.ContentEntityObject content) Retrieves the most recent published state of the content if it has active workflows.StateService.setState
(com.atlassian.confluence.core.ContentEntityObject content, String stateName, String comment) Changes the state of the content.StateService.setState
(com.atlassian.confluence.core.ContentEntityObject content, String stateName, String comment, boolean validate) Changes the state of pages.StateService.updateExpiryDate
(com.atlassian.confluence.core.ContentEntityObject content, Date newExpiryDate) Change the expiry date for the current state on the page.StateService.updateExpiryDate
(com.atlassian.confluence.core.ContentEntityObject content, Date newExpiryDate, boolean validateChangeDueDate) Change the expiry date for the current state on the page. -
Uses of State in com.comalatech.workflow.event
Modifier and TypeMethodDescriptionStateChangeEvent.getPreviousEvent()
Provides the preceding stateWorkflowEvent.getState()
The current state of the content
DocumentActivityService
instead with an adequate query - filtering by type "state" and subtype "transition" - to obtain the list of states recorded for the page.