|
ALBPM Process API (PAPI) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfuego.papi.Participant
Contains Participant metadata and methods to get permissions and roles.
To get the current Participant for this session, useProcessServiceNESession.getParticipant().
To get a Participant by its participantUid, use ProcessServiceNESession.getParticipant(String).
To search for a Participant, use ProcessServiceNESession.searchParticipantsByName(String).
| Nested Class Summary | |
static class |
Participant.RoleAssignment
Contains Participant role assignment metadata. |
| Method Summary | |
char |
compareParticipantCategoryWith(Participant participant,
String roleId)
Compares the role category of the specified participant and role to this participant. |
int |
compareTo(Object compare)
Compares this object with the specified object for order. |
boolean |
equals(Object compare)
Indicates whether some other object is "equal to" this one. |
String |
getFirstName()
Gets the first name of this participant. |
String |
getLastName()
Gets the last name of this participant. |
String |
getMail()
Gets the e-mail address of this participant. |
String |
getName()
Gets the name (fisrt and last name) of this participant. |
String |
getOu()
Gets the organizational unit of this participant. |
int |
getRoleCategory(String role)
Gets the category from this Participant for the given role. |
String |
getRolePermitions(String roleId)
Gets the permissions from this participant for the given role. |
String[] |
getRoles()
Gets the roles for this participant. |
String |
getUid()
Gets the Uid for this participant. |
boolean |
hasAbortPermision(String role)
Returns true if this participant has abort permissions for the specified role. |
boolean |
hasDelegatePermission(String role)
Returns true if this participant has delegate permissions for the specified role. |
boolean |
hasEscalatePermission(String role)
Returns true if this participant has excalate permissions for the specified role. |
boolean |
hasExecutePermision(String role)
Returns true if this participant has execute permissions for the specified role. |
int |
hashCode()
Gets the hashCode for this participant. |
boolean |
hasPeerAssignmentPermission(String role)
Returns true if this participant has peer assignment permissions for the specified role. |
boolean |
hasRole(String roleId)
Returns true if this participant has the specified role. |
abstract boolean |
hasRole(String role,
String parameter)
Returns true if the participant belongs to the abstract role with the given parameter. |
boolean |
hasSendPermision(String role)
Returns true if this participant has route (send) permissions for the specified role. |
boolean |
hasSuspendPermision(String role)
Returns true if this participant has suspend permissions for the specified role. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public abstract boolean hasRole(String role,
String parameter)
role - Abstract role nameparameter - Parameter to check
public String getMail()
public String getName()
public String getFirstName()
public String getLastName()
public String getOu()
public int getRoleCategory(String role)
role - Role identification to obtain the category.
public String getRolePermitions(String roleId)
Role permissions are set per participant in Process Administrator. Each character in the returned String corresponds to a role permission:
roleId - The role identification to obtain the permissions.
public String[] getRoles()
public String getUid()
public char compareParticipantCategoryWith(Participant participant,
String roleId)
participant - Participant to compare to this participant.roleId - role to check for category for participant.
public int compareTo(Object compare)
compareTo in interface Comparablecompare - the Object to be compared.
public boolean equals(Object compare)
compare - the reference object with which to compare.
true if this object is the same as the obj
argument; false otherwise.public boolean hasAbortPermision(String role)
role - role name.
public boolean hasEscalatePermission(String role)
role - role name
public boolean hasDelegatePermission(String role)
role - role name
public boolean hasPeerAssignmentPermission(String role)
role - role name
public boolean hasExecutePermision(String role)
role - role name
public boolean hasRole(String roleId)
roleId - role id
public boolean hasSendPermision(String role)
role - role name
public boolean hasSuspendPermision(String role)
role - role name
public int hashCode()
|
ALBPM Process API (PAPI) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||