|
Fuego Process API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfuego.processmodel.Activity
fuego.papi.Activity
| Field Summary |
| Fields inherited from class fuego.processmodel.Activity |
AUTOMATIC, BEGIN, COMPENSATE, CONDITIONAL, CREATION, END, GLOBAL, GLOBAL_AUTOMATIC, GLOBAL_CREATION, GRAB, GROUP, INTERACTIVE, INTERACTIVE_COMPONENT_CALL, INTERACTIVE_GRAB, JOIN, NOTIFICATION_WAIT, PROCESS_CREATION, PROCESS_NOTIFICATION, SPLIT, SPLIT_N, SUBFLOW, SUBPROCESS, TERMINATION_WAIT |
| Constructor Summary | |
Activity()
|
|
| Method Summary | |
abstract boolean |
canBeGrabbedBy(Activity grabActivity)
Returns true if this activity can be grabbed by the given grab activity, otherwise false. |
abstract boolean |
canBeSeenByParticipant(Participant participant)
Returns true if the given participant can see this activity. |
abstract boolean |
canBeSeenByRole(String role)
|
abstract boolean |
canGrab(String sourceActivity)
Returns true if this activity can grab from the given one, otherwise false. |
abstract boolean |
containsDocumentation(Locale locale)
Returns if this activity contains documentation for an specific locale. |
abstract String |
getActivityName()
Returns the activity name |
static String |
getActivityName(String activityId)
Returns the activity name for the given activity id. |
abstract String |
getDescription(Locale locale)
Returns the localized description for the given Locale |
abstract String |
getDocumentation(Locale locale)
Deprecated. use ProcessServiceNESession.getActivityDocumentation(String, java.util.Locale) |
abstract Map |
getDocumentationMap()
|
abstract String |
getFolderName()
Returns the name of the activity folder into the working folder. |
abstract String |
getId()
Returns the activity Id. |
abstract int |
getIn()
Returns the activity identification number |
abstract String |
getLabel(Locale locale)
Returns the label of the activity for the given Locale |
abstract Map |
getLabels()
Return all labels |
abstract Process |
getProcess()
Returns the parent process for this activity |
abstract String |
getProcessId()
Returns the process Id |
static String |
getProcessId(String activityId)
Returns the process Id for the given activity id |
abstract String |
getRole()
Returns the associated role for this activity |
abstract Activity[] |
getSourceActivitiesForGrab()
Returns the activities where this activity can grab from. |
abstract Task |
getTask(int taskNumber)
Returns the named task defined for this activity |
abstract Task |
getTask(String taskId)
Returns the named task defined for this activity |
abstract Task[] |
getTasks()
Returns all the tasks defined for this activity |
abstract Object |
getVar(String variableId,
Locale locale)
Returns the value of any variable by id. |
abstract VarDefinition[] |
getVars()
Returns all the variable definitions for this activity. |
abstract boolean |
hasInstanceAccess()
Returns whether or not global activity has instance access |
abstract boolean |
hasLocalDocumentation()
Returns if this activity contains documentation stored in the folder name |
abstract boolean |
hasOutgoingTransitions()
Return if this activity has unconditional or conditional transitions to another activity. |
abstract boolean |
hasTransitionsToInteractiveActivities()
Return if this activity has any transition to an interactive activity |
abstract boolean |
isAbortEnabled()
Returns whether or not instances in this activity can be aborted |
abstract boolean |
isActive()
Returns whether or not this activity belongs to an active process Note: In the case of consolidated processes, it will return true if one of the process versions the activity belongs to is active |
abstract boolean |
isAutoCompleteEnabled()
Returns whether or not this activity will automatically be completed after all mandatory items are successfully processed. |
abstract boolean |
isInstancePresentation()
Return whether o not global activity is used to show the instance details |
abstract boolean |
isOnline()
Returns whether or not the process this activity belongs to is online Note: In the case of consolidated processes it will return true if any of the process versions this activity belongs to is online |
abstract boolean |
isResaignEnabled()
Returns the status of the activity option "Reasign" |
abstract boolean |
isSelectEnabled()
Returns true if the instances in this activity can be selected. |
abstract boolean |
isSuspendEnabled()
Returns whether or not instances in this activity can be aborted |
abstract boolean |
isUserSelectsTransitionEnabled()
Returns whether or not the user (participant) can select the transition to route the instance. |
static String |
makeId(String processId,
String activityName)
Builds the activity id from the processId and the activityName. activityId = "processId/activityName". |
abstract void |
setDocumentation(Locale locale,
String html)
|
abstract void |
setDocumentationMap(Map documentationMap)
|
| Methods inherited from class fuego.processmodel.Activity |
getName, getType, hasType |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface fuego.papi.MDObject |
getName |
| Constructor Detail |
public Activity()
| Method Detail |
public abstract boolean isAbortEnabled()
public abstract boolean isActive()
public abstract boolean isAutoCompleteEnabled()
public abstract String getDocumentation(Locale locale)
ProcessServiceNESession.getActivityDocumentation(String, java.util.Locale)
ProcessServiceNESession.getActivityDocumentation(String, java.util.Locale).
getDocumentation in interface MDObjectlocale - the desired locale
ProcessServiceNESession.getActivityDocumentation(java.lang.String, java.util.Locale)public abstract String getFolderName()
getFolderName in interface MDObjectpublic abstract String getId()
getId in interface MDObjectmakeId(String,String)public abstract int getIn()
public abstract boolean isInstancePresentation()
public abstract boolean isOnline()
public abstract Process getProcess()
public abstract String getProcessId()
public abstract boolean isResaignEnabled()
public abstract boolean hasInstanceAccess()
public static String getProcessId(String activityId)
activityId -
public abstract String getActivityName()
public static String getActivityName(String activityId)
activityId -
public abstract String getDescription(Locale locale)
getDescription in interface MDObjectpublic abstract String getLabel(Locale locale)
getLabel in interface MDObjectlocale -
public abstract Map getLabels()
public abstract String getRole()
public abstract boolean isSelectEnabled()
public abstract Activity[] getSourceActivitiesForGrab()
public abstract boolean isSuspendEnabled()
public abstract Task getTask(int taskNumber)
taskNumber -
Taskpublic abstract Task getTask(String taskId)
taskId -
Taskpublic abstract Task[] getTasks()
Taskpublic abstract boolean isUserSelectsTransitionEnabled()
public abstract boolean hasLocalDocumentation()
hasLocalDocumentation in interface MDObjectpublic abstract boolean hasOutgoingTransitions()
public abstract boolean hasTransitionsToInteractiveActivities()
public static String makeId(String processId,
String activityName)
processId - activityName -
getId()
public abstract void setDocumentation(Locale locale,
String html)
setDocumentation in interface MDObjectpublic abstract void setDocumentationMap(Map documentationMap)
public abstract Map getDocumentationMap()
public abstract Object getVar(String variableId,
Locale locale)
throws InvalidVariableIdException
variableId - The id of the variable whose value is requiredlocale - The locale for the variable returned.
InvalidVariableIdExceptionpublic abstract VarDefinition[] getVars()
public abstract boolean canBeGrabbedBy(Activity grabActivity)
grabActivity - The grab activity.public abstract boolean canBeSeenByParticipant(Participant participant)
participant - The participant with its roles
public abstract boolean canBeSeenByRole(String role)
public abstract boolean canGrab(String sourceActivity)
sourceActivity - The source activity name where to grab from.public abstract boolean containsDocumentation(Locale locale)
containsDocumentation in interface MDObjectlocale - specific java.util.Locale to verify if this activity contains documentation for that language.
|
Fuego Process API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||