|
Fuego Process API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfuego.papi.Participant
It represents a Participant, it contains the participant metadata.
This information can be obtained from a PAPI session.
Through this object all the role permissions can be asked.
ProcessServiceNESession.getParticipant(),
Serialized Form| Nested Class Summary | |
static class |
Participant.RoleAssignment
|
| Method Summary | |
char |
compareParticipantCategoryWith(Participant participant,
String roleId)
Returns if the category relation between the actual participant and the given participant. |
String |
getMail()
Returns the participant e-mail address |
String |
getName()
Returns the participant name |
String |
getOu()
Returns the Organizational Unit of the participant |
int |
getRoleCategory(String role)
Returns The category from this Participant for the given role. |
String |
getRolePermitions(String roleId)
Returns the permissions from this participant for the given role. |
String[] |
getRoles()
This method returns an array with the roles for this participant. |
String |
getUid()
Returns the user Id |
boolean |
hasAbortPermision(String role)
To know if the participant can abort any instance for the given role |
boolean |
hasExecutePermision(String role)
To know if the participant has execution permission for the given role. |
boolean |
hasRole(String roleId)
Returns true if the participiant belongs to the specified role |
boolean |
hasSendPermision(String role)
To know if the participant can send any instance for the given role |
boolean |
hasSuspendPermision(String role)
To know if the participant can suspend any instance for the given role |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public String getMail()
public String getName()
public String getOu()
public int getRoleCategory(String role)
role -
public String getRolePermitions(String roleId)
roleId - The roleId
public String[] getRoles()
public String getUid()
public char compareParticipantCategoryWith(Participant participant,
String roleId)
participant - roleId -
public boolean hasAbortPermision(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.
|
Fuego Process API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||