public interface State extends WorkflowElement
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_COLOR
Name of property for defining the workflow state color.
|
static String |
PROPERTY_DURATION
Name of property for duration.
|
static String |
PROPERTY_EDITOR_MODE
Name of property for editor mode.
|
static String |
PROPERTY_GROUPS
Name of property defining the responsible groups.
|
static String |
PROPERTY_LOCATION
Name of property for location.
|
static String |
PROPERTY_LOCK_STOREELEMENT
Name of property for write protection.
|
static String |
PROPERTY_RELEASE
Name of property for operating on release store.
|
static String |
PROPERTY_USER
Name of property defining the responsible users.
|
static int |
PROPERTY_VALUE_AUTOMATIC_EDITOR
Mode for automatic editor selection.
|
static int |
PROPERTY_VALUE_MANUAL_EDITOR
Mode for manual editor selection.
|
ACTIVITY, PROPERTY_DESCRIPTION, PROPERTY_DESCRIPTION_LANGUAGE, PROPERTY_NAME, PROPERTY_NAME_LANGUAGE, STATE, TRANSITION
Modifier and Type | Method and Description |
---|---|
Color |
getColor()
Returns the color that represents this state in the tree-model.
|
long |
getDuration()
Returns the maximum retention period for this state.
|
int |
getEditorMode()
Return the mode of the permission checking
|
List<String> |
getResponsibleGroups()
Returns the groups (names) who are responsible for this state.
|
List<String> |
getResponsibleUser()
Returns the user (login names) who are responsible for this state.
|
List<? extends Transition> |
getSourceTransitions()
Returns all transitions that points TO this state.
|
boolean |
getStoreElementLock()
Get StoreElement writelock
|
List<? extends Transition> |
getTargetTransitions()
Returns all Transitions which points FROM this state.
|
boolean |
isEndState()
Returns true if this state is an end-state; false otherwise.
|
boolean |
isErrorState()
Returns true if this state is an error-state; false otherwise.
|
boolean |
isStartState()
Returns true if this state is an start-state; false otherwise.
|
boolean |
releaseStoreElement()
Returns true if end-state and the store-element will be released when reached this state.
|
getDescription, getDescription, getDisplayName, getID, getProperty, getType, getUid, getWorkflow
static final int PROPERTY_VALUE_AUTOMATIC_EDITOR
static final int PROPERTY_VALUE_MANUAL_EDITOR
static final String PROPERTY_LOCK_STOREELEMENT
static final String PROPERTY_EDITOR_MODE
static final String PROPERTY_RELEASE
static final String PROPERTY_COLOR
static final String PROPERTY_DURATION
static final String PROPERTY_USER
static final String PROPERTY_GROUPS
static final String PROPERTY_LOCATION
List<? extends Transition> getSourceTransitions()
List<? extends Transition> getTargetTransitions()
Color getColor()
long getDuration()
List<String> getResponsibleUser()
List<String> getResponsibleGroups()
boolean isStartState()
boolean isEndState()
boolean isErrorState()
boolean releaseStoreElement()
int getEditorMode()
boolean getStoreElementLock()
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210