|
Fuego Process API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Contains the metadata of a particular Process.
Operations on a process can be done through ProcessServiceSession
or ProcessServiceNESession.
| 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 |
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 ProcessServiceNESession.getProcessDocumentation(String, java.util.Locale) |
Map |
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. |
Map |
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()
|
String |
getName()
Returns this process' name |
String |
getOrganizationUnit()
Returns the organization unit where this process is deployed |
String[] |
getRoles()
Return all roles in this process |
VarDefinition[] |
getVars()
Returns all the variable definitions. |
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 |
public int getCatalogIn()
public boolean isActive()
public Activity[] getActivities()
public String[] getActivitiesForParticipant(Participant participant)
participant - The participant to filter the activities
public String[] getActivitiesForRoles(String[] roles)
roles - Role identification
public Activity getActivity(String activity)
activity - The name or id of required activity
public String[] getApplicationRoles()
public boolean isAutomatic()
public Activity getBeginActivity()
public String getConsolidatedId()
public String getDeployedEngine()
public String getDescription(Locale locale)
getDescription in interface MDObjectlocale - the desired locale
getName()public String getDocumentation(Locale locale)
ProcessServiceNESession.getProcessDocumentation(String, java.util.Locale)
ProcessServiceNESession.getProcessDocumentation(String, java.util.Locale).
getDocumentation in interface MDObjectlocale - the desired locale
ProcessServiceNESession.getProcessDocumentation(java.lang.String, java.util.Locale)public Map getDocumentationMap()
public String getFolderName()
getFolderName in interface MDObjectpublic String[] getGlobalCreationRoles()
public Activity[] getGrabActivitiesForActivity(String activityId)
activityId - Activity identification to obtain the grab activities
public String getId()
"/OrganizationalUnit/ProcessName#Version"
getId in interface MDObjectpublic int getIn()
public String[] getInteractiveRoles()
public String getLabel(Locale locale)
getLabel in interface MDObjectlocale - the desired locale
getName()public String getLabelWithOU(Locale locale)
locale - the desired locale
getLabel(Locale locale)
public String getLabelWithOUForParticipant(Locale locale,
Participant participant)
locale - the desired localeparticipant - the participant to use
getLabel(Locale locale)public Map getLabels()
public void setLastNewsTimestamp(long l)
public long getLastNewsTimestamp()
public String getName()
getName in interface MDObjectpublic boolean isOnline()
public String getOrganizationUnit()
public String[] getRoles()
public VarDefinition[] getVars()
public String getVersion()
public boolean isVisibleTo(Participant participant)
participant - The participant to check.public void activate()
public boolean containsDocumentation(Locale locale)
containsDocumentation in interface MDObjectlocale - specific java.util.Locale to verify if this process contains documentation for that language.
public void deprecate()
public boolean hasApplicationRole(String roleId)
roleId - Role identification
public boolean hasGlobalCreationRole(String roleId)
roleId - Role identification
public boolean hasInteractiveRole(String roleId)
roleId - Role identification
public boolean hasLocalDocumentation()
hasLocalDocumentation in interface MDObjectpublic boolean hasRole(String role)
role - Role identification
|
Fuego Process API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||