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 TypeMethodDescriptionlongReturns the transition id of the workflow.longReturns the id of the store element describing this workflow.Returns the affected element.booleanReturnstrueif the affected element was deleted during transition.booleanReturnstrueif the workflow is now in the end statebooleanReturnstrueif the transition was the first one of the workflow.booleanReturnstrueif 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()Returnstrueif the affected element was deleted during transition.- Returns:
trueif deleted- Since:
- 5.2.2007
-
isReleased
boolean isReleased()Returnstrueif the affected element was released during transition.- Returns:
trueif released- Since:
- 5.2.2007
-
isFirstTransition
boolean isFirstTransition()Returnstrueif the transition was the first one of the workflow.- Returns:
trueif 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()Returnstrueif the workflow is now in the end state- Returns:
trueif in end state- Since:
- 5.2.2007
-