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 TypeMethodDescriptionlong
Returns the transition id of the workflow.long
Returns the id of the store element describing this workflow.Returns the affected element.boolean
Returnstrue
if the affected element was deleted during transition.boolean
Returnstrue
if the workflow is now in the end stateboolean
Returnstrue
if the transition was the first one of the workflow.boolean
Returnstrue
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()Returnstrue
if the affected element was deleted during transition.- Returns:
true
if deleted- Since:
- 5.2.2007
-
isReleased
boolean isReleased()Returnstrue
if the affected element was released during transition.- Returns:
true
if released- Since:
- 5.2.2007
-
isFirstTransition
boolean isFirstTransition()Returnstrue
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()Returnstrue
if the workflow is now in the end state- Returns:
true
if in end state- Since:
- 5.2.2007
-