Uses of Interface
com.comalatech.workflow.model.State

Packages that use 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

    Methods in com.comalatech.workflow that return State
    Modifier and Type
    Method
    Description
    StateService.getCurrentState(com.atlassian.confluence.core.ContentEntityObject content)
    Returns the current content's state Retrieves the
    StateService.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.
    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 in DocumentActivityService 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
    StateChangeEvent.getPreviousEvent()
    Provides the preceding state
    WorkflowEvent.getState()
    The current state of the content