de.espirit.firstspirit.workflow.model
Interface Activity

All Superinterfaces:
WorkflowElement

public interface Activity
extends WorkflowElement

This interface represents an activity in an workflow-model.

Since:
3.0

Field Summary
static int EMAIL_EDITORS
           
static int EMAIL_LAST_AGENT
           
static int EMAIL_LIST
           
static int EMAIL_RESPONSIBLE
           
static int EMAIL_SEND
           
static int EMAIL_TASK_CREATOR
           
static String PROPERTY_AUTOMATIC
           
static String PROPERTY_EMAIL_BODY
           
static String PROPERTY_EMAIL_EDITORS
           
static String PROPERTY_EMAIL_GROUPS
           
static String PROPERTY_EMAIL_LAST_AGENT
           
static String PROPERTY_EMAIL_LIST
           
static String PROPERTY_EMAIL_RESPONSIBLE
           
static String PROPERTY_EMAIL_SEND
           
static String PROPERTY_EMAIL_SUBJECT
           
static String PROPERTY_EMAIL_TASK_CREATOR
           
static String PROPERTY_EMAIL_USER
           
static String PROPERTY_LOCATION
           
static String PROPERTY_SCRIPT
           
 
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
 String getEmailBody()
          Returns the text from the email.
 List<String> getEmailGroups()
           
 boolean getEmailProperty(int property)
          Returns true if this activity has the given property
 String getEmailSubject()
          Returns the title from the email.
 List<String> getEmailUser()
          Returns the user who are selected to be notiefied by mail.
 String getScript()
          Returns the script name that belongs to this activity.
 List<? extends Transition> getSourceTransitions()
          Returns all transitions that points TO this activity.
 List<? extends Transition> getTargetTransitions()
          Returns all Transitions which points FROM this activity.
 boolean isAutomatic()
          Returns if this activity is exectued autmaticallly.
 
Methods inherited from interface de.espirit.firstspirit.workflow.model.WorkflowElement
getDescription, getDescription, getDisplayName, getID, getName, getProperty, getType, getUid, getWorkflow
 

Field Detail

PROPERTY_SCRIPT

static final String PROPERTY_SCRIPT
Since:
3.0
See Also:
Constant Field Values

PROPERTY_LOCATION

static final String PROPERTY_LOCATION
Since:
3.0
See Also:
Constant Field Values

PROPERTY_AUTOMATIC

static final String PROPERTY_AUTOMATIC
Since:
3.0
See Also:
Constant Field Values

PROPERTY_EMAIL_SEND

static final String PROPERTY_EMAIL_SEND
Since:
3.0
See Also:
Constant Field Values

PROPERTY_EMAIL_RESPONSIBLE

static final String PROPERTY_EMAIL_RESPONSIBLE
Since:
3.0
See Also:
Constant Field Values

PROPERTY_EMAIL_TASK_CREATOR

static final String PROPERTY_EMAIL_TASK_CREATOR
Since:
3.0
See Also:
Constant Field Values

PROPERTY_EMAIL_EDITORS

static final String PROPERTY_EMAIL_EDITORS
Since:
3.0.4
See Also:
Constant Field Values

PROPERTY_EMAIL_LAST_AGENT

static final String PROPERTY_EMAIL_LAST_AGENT
Since:
3.0
See Also:
Constant Field Values

PROPERTY_EMAIL_LIST

static final String PROPERTY_EMAIL_LIST
Since:
3.0
See Also:
Constant Field Values

PROPERTY_EMAIL_SUBJECT

static final String PROPERTY_EMAIL_SUBJECT
Since:
3.0
See Also:
Constant Field Values

PROPERTY_EMAIL_BODY

static final String PROPERTY_EMAIL_BODY
Since:
3.0
See Also:
Constant Field Values

PROPERTY_EMAIL_USER

static final String PROPERTY_EMAIL_USER
Since:
3.0
See Also:
Constant Field Values

PROPERTY_EMAIL_GROUPS

static final String PROPERTY_EMAIL_GROUPS
Since:
3.0.6
See Also:
Constant Field Values

EMAIL_SEND

static final int EMAIL_SEND
Since:
3.0
See Also:
Constant Field Values

EMAIL_RESPONSIBLE

static final int EMAIL_RESPONSIBLE
Since:
3.0
See Also:
Constant Field Values

EMAIL_TASK_CREATOR

static final int EMAIL_TASK_CREATOR
Since:
3.0
See Also:
Constant Field Values

EMAIL_LAST_AGENT

static final int EMAIL_LAST_AGENT
Since:
3.0
See Also:
Constant Field Values

EMAIL_LIST

static final int EMAIL_LIST
Since:
3.0
See Also:
Constant Field Values

EMAIL_EDITORS

static final int EMAIL_EDITORS
Since:
3.0.4
See Also:
Constant Field Values
Method Detail

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

List<String> getEmailUser()
Returns the user who are selected to be notiefied by mail. Only valid with email-list property.

Returns:
a list with the selected users
Since:
3.0

getEmailGroups

List<String> getEmailGroups()
Since:
3.0.6


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480