|
ALBPM Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Process
Contains the metadata of a particular Process.
Operations on a process can be done through ProcessServiceSession
Method Summary | |
---|---|
void |
activate()
Activate this process |
boolean |
containsDocumentation(Locale locale)
Returns if this process contains documentation for an specific locale. |
void |
deprecate()
Deprecate this process |
Activity[] |
getActivities()
This method returns an activity array all activities of this process |
String[] |
getActivitiesForParticipant(Participant participant)
The visible activities in this process for the given participant |
String[] |
getActivitiesForRoles(String[] roles)
Return all activities int this process that can be see for these roles |
Activity |
getActivity(String activity)
Finds an activity of this process by name or id. |
String[] |
getApplicationRoles()
Return all roles with global activities (not include global automatic) in this process |
ArgumentSet[] |
getArgumentSets()
Returns all ArgumentSet for the begin activity of the process. |
ArgumentSet[] |
getArgumentSets(String activity)
Returns all ArgumentSet for a given activity name. |
Activity |
getBeginActivity()
Returns the begin activity of this process |
int |
getCatalogIn()
Returns this process' catalog identification number. |
String |
getConsolidatedId()
|
String |
getDeployedEngine()
Return the engine where this process was deployed |
String |
getDescription(Locale locale)
Returns this process' localized description. |
String |
getDocumentation(Locale locale)
Deprecated. use ProcessServiceSession.getProcessDocumentation(String, java.util.Locale) |
Map<Locale,String> |
getDocumentationMap()
|
String |
getFolderName()
Returns the name of the process folder into the working folder. |
String[] |
getGlobalCreationRoles()
Return all roles with global creation activities (not include global automatic) in this process |
Activity[] |
getGrabActivitiesForActivity(String activityId)
Return all grab activities where the instances in the given activity can be grabbed |
String |
getId()
Returns this process' id. |
int |
getIn()
Returns this process' identification number. |
String[] |
getInteractiveRoles()
Return all roles with interactive activities in this process |
String |
getLabel(Locale locale)
Returns this process' localized label. |
fuego.collections.maps.LocaleStringMap |
getLabels()
Returns all localized labels of this process. |
String |
getLabelWithOU(Locale locale)
Returns this process' localized label with the organizational unit. |
String |
getLabelWithOUForParticipant(Locale locale,
Participant participant)
Returns this process' localized label with the organizational unit for a given participant. |
long |
getLastNewsTimestamp()
|
Activity[] |
getMeasurements()
This method returns an measurement array width all measurements of this process |
String |
getName()
Returns this process' name |
String |
getOrganizationUnit()
Returns the organization unit where this process is deployed |
String |
getProjectName()
Returns this process' project name. |
String[] |
getRoles()
Return all roles in this process |
VarDefinition[] |
getVariables()
Returns all the variable definitions. |
VarDefinition[] |
getVars()
Deprecated. Use instead . |
String |
getVersion()
Returns the process version |
boolean |
hasApplicationRole(String roleId)
Return if this process has global activity (not include global automatic) in the specific role. |
boolean |
hasGlobalCreationRole(String roleId)
Return if this process has global creation activity in the specific role. |
boolean |
hasInteractiveRole(String roleId)
Return if this process has an interactive activity in the specific role. |
boolean |
hasLocalDocumentation()
Returns if this process contains documentation stored in the folder name |
boolean |
hasRole(String role)
Check if this process contains the specific role identification |
boolean |
isActive()
Returns true if this process is active. |
boolean |
isAutomatic()
Return if this process contains only automatic activities. |
boolean |
isOnline()
Returns true if this process is online. |
boolean |
isVisibleTo(Participant participant)
Returns true if the participant has any role in this process, otherwise false. |
void |
setLastNewsTimestamp(long l)
|
Methods inherited from interface fuego.papi.MDObject |
---|
setDocumentation |
Method Detail |
---|
int getCatalogIn()
String getProjectName()
boolean isActive()
Activity[] getActivities()
String[] getActivitiesForParticipant(Participant participant)
participant
- The participant to filter the activities
String[] getActivitiesForRoles(String[] roles)
roles
- Role identification
Activity getActivity(String activity)
activity
- The name or id of required activity
String[] getApplicationRoles()
ArgumentSet[] getArgumentSets()
ArgumentSet[] getArgumentSets(String activity)
activity
- The name of the activity to obtain the ArgumentSet.
boolean isAutomatic()
Activity getBeginActivity()
String getConsolidatedId()
String getDeployedEngine()
String getDescription(Locale locale)
getDescription
in interface MDObject
locale
- the desired locale
getName()
@Deprecated String getDocumentation(Locale locale)
ProcessServiceSession.getProcessDocumentation(String, java.util.Locale)
ProcessServiceSession.getProcessDocumentation(String, java.util.Locale)
.
getDocumentation
in interface MDObject
locale
- the desired locale
ProcessServiceSession.getProcessDocumentation(java.lang.String, java.util.Locale)
Map<Locale,String> getDocumentationMap()
String getFolderName()
getFolderName
in interface MDObject
String[] getGlobalCreationRoles()
Activity[] getGrabActivitiesForActivity(String activityId)
activityId
- Activity identification to obtain the grab activities
String getId()
"/OrganizationalUnit/ProcessName#Version"
getId
in interface MDObject
int getIn()
String[] getInteractiveRoles()
String getLabel(Locale locale)
getLabel
in interface MDObject
locale
- the desired locale
getName()
String getLabelWithOU(Locale locale)
locale
- the desired locale
getLabel(Locale locale)
String getLabelWithOUForParticipant(Locale locale, Participant participant)
locale
- the desired localeparticipant
- the participant to use
getLabel(Locale locale)
fuego.collections.maps.LocaleStringMap getLabels()
void setLastNewsTimestamp(long l)
long getLastNewsTimestamp()
Activity[] getMeasurements()
String getName()
getName
in interface MDObject
boolean isOnline()
String getOrganizationUnit()
String[] getRoles()
@Deprecated VarDefinition[] getVars()
instead
.
VarDefinition[] getVariables()
String getVersion()
boolean isVisibleTo(Participant participant)
participant
- The participant to check.
void activate()
boolean containsDocumentation(Locale locale)
containsDocumentation
in interface MDObject
locale
- specific java.util.Locale to verify if this process contains documentation for that language.
void deprecate()
boolean hasApplicationRole(String roleId)
roleId
- Role identification
boolean hasGlobalCreationRole(String roleId)
roleId
- Role identification
boolean hasInteractiveRole(String roleId)
roleId
- Role identification
boolean hasLocalDocumentation()
hasLocalDocumentation
in interface MDObject
boolean hasRole(String role)
role
- Role identification
|
ALBPM Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |