|
ALBPM Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfuego.papi.Participant
public abstract class 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.
ProcessServiceSession.getParticipant()
,
Serialized FormNested 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. |
int |
compareTo(Participant participant)
|
boolean |
equals(Object compare)
|
String |
getFirstName()
Returns the participant first name |
String |
getLastName()
Returns the participant last name |
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)
Deprecated. use hasAbortPermission(String) instead |
boolean |
hasAbortPermission(String role)
To know if the participant can abort any instance for the given role |
boolean |
hasDelegatePermission(String role)
To know if the participant can delegate any instance for the given role |
boolean |
hasEscalatePermission(String role)
To know if the participant can escalate any instance for the given role |
boolean |
hasExecutePermision(String role)
Deprecated. use hasExecutePermission(String) instead |
boolean |
hasExecutePermission(String role)
To know if the participant has execution permission for the given role. |
int |
hashCode()
|
boolean |
hasPeerAssignmentPermission(String role)
To know if the participant can reassign to a peer any instance for the given role |
boolean |
hasReassignPermission(String role)
To know if the participant can reassign any instance for the given role |
boolean |
hasRole(String roleId)
Returns true if the participiant belongs to the specified role |
abstract boolean |
hasRole(String role,
String parameter)
Returns true if the participiant belongs to the specified role |
boolean |
hasSendPermision(String role)
Deprecated. use hasSendPermision(String) instead |
boolean |
hasSendPermission(String role)
To know if the participant can send any instance for the given role |
boolean |
hasSuspendPermision(String role)
Deprecated. use hasSuspendPermission(String) instead |
boolean |
hasSuspendPermission(String role)
To know if the participant can suspend any instance for the given 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
- role nameparameter
- role parameter
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)
roleId
- The role identification to obtain the permissions.
public String[] getRoles()
public String getUid()
public char compareParticipantCategoryWith(Participant participant, String roleId)
participant
- roleId
-
public int compareTo(Participant participant)
compareTo
in interface Comparable<Participant>
public boolean equals(Object compare)
equals
in class Object
@Deprecated public boolean hasAbortPermision(String role)
hasAbortPermission(String)
instead
role
- The role identification to check permission.
public boolean hasAbortPermission(String role)
role
- The role identification to check permission.
@Deprecated public boolean hasExecutePermision(String role)
hasExecutePermission(String)
instead
role
- The role identification to check permission.
public boolean hasExecutePermission(String role)
role
- The role identification to check permission.
public boolean hasRole(String roleId)
roleId
- role id
@Deprecated public boolean hasSendPermision(String role)
hasSendPermision(String)
instead
role
- The role identification to check permission.
public boolean hasSendPermission(String role)
role
- The role identification to check permission.
public boolean hasReassignPermission(String role)
role
- The role identification to check permission.
public boolean hasPeerAssignmentPermission(String role)
role
- The role identification to check permission.
public boolean hasEscalatePermission(String role)
role
- The role identification to check permission.
public boolean hasDelegatePermission(String role)
role
- The role identification to check permission.
@Deprecated public boolean hasSuspendPermision(String role)
hasSuspendPermission(String)
instead
role
- The role identification to check permission.
public boolean hasSuspendPermission(String role)
role
- The role identification to check permission.
public int hashCode()
hashCode
in class Object
|
ALBPM Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |