Interface Common.WorkflowTransitionInfo

All Superinterfaces:
org.timepedia.exporter.client.Exportable
Enclosing interface:
Common

public static interface Common.WorkflowTransitionInfo extends org.timepedia.exporter.client.Exportable
JavaScriptObject which is passed over to the WorkflowTransitionListeners when a workflow transition happens.
Since:
5.2.2007
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the transition id of the workflow.
    long
    Returns the id of the store element describing this workflow.
    Returns the affected element.
    boolean
    Returns true if the affected element was deleted during transition.
    boolean
    Returns true if the workflow is now in the end state
    boolean
    Returns true if the transition was the first one of the workflow.
    boolean
    Returns true if the affected element was released during transition.
  • Method Details

    • getWorkflowTarget

      FSID getWorkflowTarget()
      Returns the affected element. Should normally return the FSID of the store element on which the workflow is applied.
      Returns:
      the affected element
      Since:
      5.2.2007
    • isDeleted

      boolean isDeleted()
      Returns true if the affected element was deleted during transition.
      Returns:
      true if deleted
      Since:
      5.2.2007
    • isReleased

      boolean isReleased()
      Returns true if the affected element was released during transition.
      Returns:
      true if released
      Since:
      5.2.2007
    • isFirstTransition

      boolean isFirstTransition()
      Returns true if the transition was the first one of the workflow.
      Returns:
      true if the workflow just started
      Since:
      5.2.2007
    • getTransitionId

      long getTransitionId()
      Returns the transition id of the workflow.
      Returns:
      the transition id
      Since:
      5.2.2007
    • getWorkflowId

      long getWorkflowId()
      Returns the id of the store element describing this workflow.
      Returns:
      the workflow id
      Since:
      5.2.2007
    • isEndState

      boolean isEndState()
      Returns true if the workflow is now in the end state
      Returns:
      true if in end state
      Since:
      5.2.2007