org.eclipse.stardust.engine.api.query
Class PerformingOnBehalfOfFilter

java.lang.Object
  extended by org.eclipse.stardust.engine.api.query.PerformingOnBehalfOfFilter
All Implemented Interfaces:
Serializable, FilterCriterion

public class PerformingOnBehalfOfFilter
extends Object
implements FilterCriterion

See Also:
Serialized Form

Nested Class Summary
static class PerformingOnBehalfOfFilter.Kind
          Enumeration for participant filter kind definitions.
 
Field Summary
static PerformingOnBehalfOfFilter.Kind FILTER_KIND_MODEL_PARTICIPANT
          Constant marking a model participant filter.
static PerformingOnBehalfOfFilter.Kind FILTER_KIND_USER_GROUP
          Constant marking a user group filter.
 
Method Summary
 Object accept(FilterEvaluationVisitor visitor, Object context)
          Visitor dispatch callback used for evaluating filter criteria.
static PerformingOnBehalfOfFilter forModelParticpant(String participantID)
          Deprecated. Superseded by forParticipant(ParticipantInfo)
static PerformingOnBehalfOfFilter forModelParticpant(String participantID, boolean recursively)
          Deprecated. Superseded by forParticipant(ParticipantInfo, boolean)
static PerformingOnBehalfOfFilter forModelParticpants(Set<String> participantIDs)
          Deprecated. Superseded by forParticipant(ParticipantInfo, boolean)
static PerformingOnBehalfOfFilter forParticipant(ParticipantInfo participant)
           
static PerformingOnBehalfOfFilter forParticipant(ParticipantInfo participant, boolean recursively)
           
static PerformingOnBehalfOfFilter forParticipants(Set<? extends ParticipantInfo> participants)
           
static PerformingOnBehalfOfFilter forUserGroup(String groupID)
          Deprecated. Superseded by forParticipant(ParticipantInfo)
 Set<ParticipantInfo> getContributors()
           
 PerformingOnBehalfOfFilter.Kind getFilterKind()
           
 ParticipantInfo getParticipant()
           
 String getParticipantID()
           
 boolean isRecursively()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILTER_KIND_MODEL_PARTICIPANT

public static final PerformingOnBehalfOfFilter.Kind FILTER_KIND_MODEL_PARTICIPANT
Constant marking a model participant filter.


FILTER_KIND_USER_GROUP

public static final PerformingOnBehalfOfFilter.Kind FILTER_KIND_USER_GROUP
Constant marking a user group filter.

Method Detail

forModelParticpants

public static PerformingOnBehalfOfFilter forModelParticpants(Set<String> participantIDs)
Deprecated. Superseded by forParticipant(ParticipantInfo, boolean)


forModelParticpant

public static PerformingOnBehalfOfFilter forModelParticpant(String participantID,
                                                            boolean recursively)
Deprecated. Superseded by forParticipant(ParticipantInfo, boolean)


forModelParticpant

public static PerformingOnBehalfOfFilter forModelParticpant(String participantID)
Deprecated. Superseded by forParticipant(ParticipantInfo)


forUserGroup

public static PerformingOnBehalfOfFilter forUserGroup(String groupID)
Deprecated. Superseded by forParticipant(ParticipantInfo)


forParticipant

public static PerformingOnBehalfOfFilter forParticipant(ParticipantInfo participant)

forParticipant

public static PerformingOnBehalfOfFilter forParticipant(ParticipantInfo participant,
                                                        boolean recursively)

forParticipants

public static PerformingOnBehalfOfFilter forParticipants(Set<? extends ParticipantInfo> participants)

getFilterKind

public PerformingOnBehalfOfFilter.Kind getFilterKind()

getParticipantID

public String getParticipantID()

getParticipant

public ParticipantInfo getParticipant()

isRecursively

public boolean isRecursively()

getContributors

public Set<ParticipantInfo> getContributors()

accept

public Object accept(FilterEvaluationVisitor visitor,
                     Object context)
Description copied from interface: FilterCriterion
Visitor dispatch callback used for evaluating filter criteria. Usually implemented as return visitor.visit(this, context), thus calling the appropriately overloaded visitation method.

Specified by:
accept in interface FilterCriterion
Parameters:
visitor - The visitor performing the evaluation.
context - Information used by the visitor during the visitation process.
Returns:
Visitor specific result of the visitation.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.