fuego.papi
Enum ParticipantFor
java.lang.Object
java.lang.Enum<ParticipantFor>
fuego.papi.ParticipantFor
- All Implemented Interfaces:
- fuego.resources.I18nProvider, Serializable, Comparable<ParticipantFor>
public enum ParticipantFor
- extends Enum<ParticipantFor>
- implements fuego.resources.I18nProvider
Specifies the action type for changing the participant an instance (or set of instances) is assigned to.
Instances can be assigned to a specific participant invocating ProcessServiceSession.instancesReassign(fuego.papi.collections.InstanceActivityPairSet, String)
depending on a number of conditions.
A participant with an assigned instance, which is located at a particular role, is able to change the assigned participant performing a number of actions,
depending on the permissions specified in the role assignment.
If an instance is assigned to the current participant, he/she may:
If an instance is assigned or unassigned, and located at a role assigned to the current participant,
he/she may assign it to any other participant with that role, if he/she has Participant.REASIGN_PERMISION permission in the role assignment.
- See Also:
ProcessServiceSession.instanceGetParticipants(String, String, ParticipantFor, String, int),
ProcessServiceSession.instancesGetParticipants(fuego.papi.collections.InstanceActivityPairSet, ParticipantFor, String, int),
Participant.hasPermission(String, ParticipantFor)
REASSIGN
public static final ParticipantFor REASSIGN
DELEGATE
public static final ParticipantFor DELEGATE
ESCALATE
public static final ParticipantFor ESCALATE
PEER_ASSIGNMENT
public static final ParticipantFor PEER_ASSIGNMENT
values
public static final ParticipantFor[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(ParticipantFor c : ParticipantFor.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static ParticipantFor valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
getStringRepresentation
public abstract String getStringRepresentation()
getString
public String getString()
- Specified by:
getString in interface fuego.resources.I18nProvider
getString
public String getString(Locale locale)
- Specified by:
getString in interface fuego.resources.I18nProvider
getMsg
public fuego.resources.Msg getMsg()
© Copyright 1996-2008 Oracle Corporation