|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface State
Interface describing a representation of the <state> element of a Process Model.
Method Summary | |
---|---|
void |
addActivity(ContextualDesignation description)
Add an activity Method needed primarily by Castor |
void |
addDescription(ContextualDesignation description)
Add a description Method needed primarily by Castor |
void |
addLabel(ContextualDesignation label)
Add a label Method needed primarily by Castor |
AllowedActions |
createAllowedActions()
Create and return an object implementing AllowedActions |
ContextualDesignation |
createDesignation()
Create an object implementing ContextualDesignation Method needed primarily by Castor |
QualifiedUsers |
createQualifiedUsers()
Create and return an object implementing QalifiedUsers |
TimeOutActions |
createTimeOutActions()
Create and return an object implementing TimeOutActions |
ContextualDesignations |
getActivities()
Get all the activities |
String |
getActivity(String role,
String language)
Get activity in specific language for the given role |
Action[] |
getAllowedActions()
Get actions available in this state |
AllowedActions |
getAllowedActionsEx()
Get all the allowed actions |
String |
getDescription(String role,
String language)
Get description in specific language for the given role |
ContextualDesignations |
getDescriptions()
Get all the descriptions |
Action[] |
getFilteredActions()
|
QualifiedUsers |
getInterestedUsers()
Get all the users interested by this state |
QualifiedUsers |
getInterestedUsersEx()
Get all the users interested by this state |
String |
getLabel(String role,
String language)
Get label in specific language for the given role |
ContextualDesignations |
getLabels()
Get all the labels |
String |
getName()
Get the name of this state |
Action |
getTimeoutAction()
Get the timeout action of this state Action that will played if timeout is trigerred |
TimeOutAction[] |
getTimeOutActions()
Get timeout actions for this state |
TimeOutActions |
getTimeOutActionsEx()
Get all the timeout actions |
int |
getTimeoutInterval()
Get the timeout interval of this state |
boolean |
getTimeoutNotifyAdmin()
Get flag for admin notification if true, the timeout manager will send a notification to all supervisors |
QualifiedUsers |
getWorkingUsers()
Get all the users who can act in this state |
QualifiedUsers |
getWorkingUsersEx()
Get all the users who can act in this state |
Iterator<ContextualDesignation> |
iterateActivity()
Iterate through the activities |
Iterator<ContextualDesignation> |
iterateDescription()
Iterate through the descriptions |
Iterator<ContextualDesignation> |
iterateLabel()
Iterate through the Labels |
void |
setAllowedActions(AllowedActions allowedActions)
Set the allowed actions |
void |
setFilteredActions(AllowedActions allowedActions)
|
void |
setInterestedUsers(QualifiedUsers interestedUsers)
Set the users interested by this state |
void |
setName(String name)
Set the name of this state |
void |
setTimeoutAction(Action timeoutAction)
Set the timeout action of this state Action that will played if timeout is trigerred |
void |
setTimeOutActions(TimeOutActions timeOutActions)
Set the timeout actions |
void |
setTimeoutInterval(int iHours)
Set the timeout interval of this state |
void |
setTimeoutNotifyAdmin(boolean timeoutAction)
Set flag for admin notification if true, the timeout manager will send a notification to all supervisors |
void |
setWorkingUsers(QualifiedUsers workingUsers)
Set the users who can act in this state |
Method Detail |
---|
String getName()
void setName(String name)
state
- 's nameString getLabel(String role, String language)
lang
- label's languagerole
- role for which the label is
ContextualDesignations getLabels()
Iterator<ContextualDesignation> iterateLabel()
void addLabel(ContextualDesignation label)
ContextualDesignation createDesignation()
String getActivity(String role, String language)
lang
- activity's languagerole
- role for which the activity is
ContextualDesignations getActivities()
Iterator<ContextualDesignation> iterateActivity()
void addActivity(ContextualDesignation description)
String getDescription(String role, String language)
lang
- description's languagerole
- role for which the description is
ContextualDesignations getDescriptions()
Iterator<ContextualDesignation> iterateDescription()
void addDescription(ContextualDesignation description)
AllowedActions createAllowedActions()
TimeOutActions createTimeOutActions()
TimeOutAction[] getTimeOutActions()
Action[] getAllowedActions()
Action[] getFilteredActions()
TimeOutActions getTimeOutActionsEx()
void setTimeOutActions(TimeOutActions timeOutActions)
AllowedActions getAllowedActionsEx()
void setAllowedActions(AllowedActions allowedActions)
void setFilteredActions(AllowedActions allowedActions)
QualifiedUsers createQualifiedUsers()
QualifiedUsers getInterestedUsers()
null
QualifiedUsers getInterestedUsersEx()
null
if none are
definedvoid setInterestedUsers(QualifiedUsers interestedUsers)
QualifiedUsers getWorkingUsers()
null
QualifiedUsers getWorkingUsersEx()
null
if none are definedvoid setWorkingUsers(QualifiedUsers workingUsers)
int getTimeoutInterval()
void setTimeoutInterval(int iHours)
iHours
- interval in hours (as a int)Action getTimeoutAction()
void setTimeoutAction(Action timeoutAction)
timeoutAction
- timeout actionboolean getTimeoutNotifyAdmin()
void setTimeoutNotifyAdmin(boolean timeoutAction)
admin
- notification flag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |