Interface Activity
- All Superinterfaces:
WorkflowElement
This interface represents an activity in an workflow-model.
- Since:
- 3.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
E-mail property bit value on whether to send to editos.static final int
E-mail property bit value on whether to send to the last editor.static final int
E-mail property bit value on whether to send to a list.static final int
E-mail property bit value on whether to send to beneficiaries.static final int
E-mail property bit value on whether to send e-mails.static final int
E-mail property bit value on whether to send to the task creator.static final String
Name of transition mode automatic property.static final String
Name of e-mail body property.static final String
Name of activation property to send e-mails to editors.static final String
Name of property defining a list of e-mail receivers by group names.static final String
Name of activation property to send e-mails to the last editor.static final String
Name of activation property to send e-mails to a list of e-mail receivers.static final String
Name of activation property to send e-mails to beneficiaries.static final String
Name of e-mail activation property.static final String
Name of e-mail subject property.static final String
Name of activation property to send e-mails to task creators.static final String
Name of property defining a list of e-mail receivers by user names.static final String
Name of location property.static final String
Name of script property.Fields inherited from interface de.espirit.firstspirit.workflow.model.WorkflowElement
ACTIVITY, PROPERTY_DESCRIPTION, PROPERTY_DESCRIPTION_LANGUAGE, PROPERTY_NAME, PROPERTY_NAME_LANGUAGE, STATE, TRANSITION
-
Method Summary
Modifier and TypeMethodDescriptionReturns the text from the email.Provides the groups who are selected to be notified by mail.boolean
getEmailProperty
(int property) Returns true if this activity has the given propertyReturns the title from the email.Returns the user who are selected to be notified by mail.Returns the script name that belongs to this activity.List<? extends Transition>
Returns all transitions that points TO this activity.List<? extends Transition>
Returns all Transitions which points FROM this activity.boolean
Returns if this activity is exectued autmaticallly.Methods inherited from interface de.espirit.firstspirit.workflow.model.WorkflowElement
getDescription, getDescription, getDisplayName, getID, getProperty, getType, getUid, getWorkflow
-
Field Details
-
PROPERTY_SCRIPT
Name of script property.- Since:
- 3.0
- See Also:
-
PROPERTY_LOCATION
Name of location property.- Since:
- 3.0
- See Also:
-
PROPERTY_AUTOMATIC
Name of transition mode automatic property.- Since:
- 3.0
- See Also:
-
PROPERTY_EMAIL_SEND
Name of e-mail activation property.- Since:
- 3.0
- See Also:
-
PROPERTY_EMAIL_RESPONSIBLE
Name of activation property to send e-mails to beneficiaries.- Since:
- 3.0
- See Also:
-
PROPERTY_EMAIL_TASK_CREATOR
Name of activation property to send e-mails to task creators.- Since:
- 3.0
- See Also:
-
PROPERTY_EMAIL_EDITORS
Name of activation property to send e-mails to editors.- Since:
- 3.0.4
- See Also:
-
PROPERTY_EMAIL_LAST_AGENT
Name of activation property to send e-mails to the last editor.- Since:
- 3.0
- See Also:
-
PROPERTY_EMAIL_LIST
Name of activation property to send e-mails to a list of e-mail receivers.- Since:
- 3.0
- See Also:
-
PROPERTY_EMAIL_SUBJECT
Name of e-mail subject property.- Since:
- 3.0
- See Also:
-
PROPERTY_EMAIL_BODY
Name of e-mail body property.- Since:
- 3.0
- See Also:
-
PROPERTY_EMAIL_USER
Name of property defining a list of e-mail receivers by user names.- Since:
- 3.0
- See Also:
-
PROPERTY_EMAIL_GROUPS
Name of property defining a list of e-mail receivers by group names.- Since:
- 3.0.6
- See Also:
-
EMAIL_SEND
static final int EMAIL_SENDE-mail property bit value on whether to send e-mails.- Since:
- 3.0
- See Also:
-
EMAIL_RESPONSIBLE
static final int EMAIL_RESPONSIBLEE-mail property bit value on whether to send to beneficiaries.- Since:
- 3.0
- See Also:
-
EMAIL_TASK_CREATOR
static final int EMAIL_TASK_CREATORE-mail property bit value on whether to send to the task creator.- Since:
- 3.0
- See Also:
-
EMAIL_LAST_AGENT
static final int EMAIL_LAST_AGENTE-mail property bit value on whether to send to the last editor.- Since:
- 3.0
- See Also:
-
EMAIL_LIST
static final int EMAIL_LISTE-mail property bit value on whether to send to a list.- Since:
- 3.0
- See Also:
-
EMAIL_EDITORS
static final int EMAIL_EDITORSE-mail property bit value on whether to send to editos.- Since:
- 3.0.4
- See Also:
-
-
Method Details
-
getSourceTransitions
List<? extends Transition> getSourceTransitions()Returns all transitions that points TO this activity.- Returns:
- an list with all transitions or an empty list if there is no transition.
- Since:
- 3.0
-
getTargetTransitions
List<? extends Transition> getTargetTransitions()Returns all Transitions which points FROM this activity.- Returns:
- an list with all transitions or an empty list if there is no transitions.
- Since:
- 3.0
-
getScript
String getScript()Returns the script name that belongs to this activity.- Returns:
- an unique script name; null if there is no script assigned.
- Since:
- 3.0
-
isAutomatic
boolean isAutomatic()Returns if this activity is exectued autmaticallly.- Returns:
- true if this activity executed automatically; false if this activity must be executed manually.
- Since:
- 3.0
-
getEmailProperty
boolean getEmailProperty(int property) Returns true if this activity has the given property- Parameters:
property
- one of the email properties defined by this interface- Returns:
- true if the given property is correct
- Since:
- 3.0
-
getEmailSubject
String getEmailSubject()Returns the title from the email. Is only valid with email-send property.- Returns:
- the title as a string
- Since:
- 3.0
-
getEmailBody
String getEmailBody()Returns the text from the email. Is only valid with email-send property.- Returns:
- the text as a string
- Since:
- 3.0
-
getEmailUser
Returns the user who are selected to be notified by mail. Only valid with email-list property.- Returns:
- a list with the selected users
- Since:
- 3.0
-
getEmailGroups
Provides the groups who are selected to be notified by mail. Only valid with e-mail list property.- Returns:
- A list of groups.
- Since:
- 3.0.6
-