BPM Process API

fuego.papi
Enum ParticipantScope

java.lang.Object
  extended by java.lang.Enum<ParticipantScope>
      extended by fuego.papi.ParticipantScope
All Implemented Interfaces:
fuego.resources.I18nProvider, Serializable, Comparable<ParticipantScope>

public enum ParticipantScope
extends Enum<ParticipantScope>
implements fuego.resources.I18nProvider

Specifies conditions on instance current role (instance location) and instance assigned participant for a Filter's SearchScope.

See Also:
Filter, SearchScope, StatusScope

Enum Constant Summary
ALL
          All process instances (i.e.: there is no condition regarding assigned participant or instance location).
ALL_IN_ROLE
          All process instances in a role assigned to the current participant, including instances assigned to other participants.
PARTICIPANT
          All process instances assigned to the current participant.
PARTICIPANT_ROLES
          All process instances in a role assigned to the current participant, excluding instances assigned to other participants.
PROCESS_ROLES
          All process instances located in interactive activities.
 
Method Summary
 fuego.resources.Msg getMsg()
           
 String getString()
           
 String getString(Locale locale)
           
static ParticipantScope valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ParticipantScope[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ALL

public static final ParticipantScope ALL
All process instances (i.e.: there is no condition regarding assigned participant or instance location).


PROCESS_ROLES

public static final ParticipantScope PROCESS_ROLES
All process instances located in interactive activities.


ALL_IN_ROLE

public static final ParticipantScope ALL_IN_ROLE
All process instances in a role assigned to the current participant, including instances assigned to other participants.


PARTICIPANT_ROLES

public static final ParticipantScope PARTICIPANT_ROLES
All process instances in a role assigned to the current participant, excluding instances assigned to other participants.


PARTICIPANT

public static final ParticipantScope PARTICIPANT
All process instances assigned to the current participant.

Method Detail

values

public static final ParticipantScope[] 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(ParticipantScope c : ParticipantScope.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static ParticipantScope 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

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()

BPM Process API

© Copyright 1996-2008 Oracle Corporation