public class PerformingParticipantFilter extends Object implements FilterCriterion
ParticipantInfo,
Participant,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
PerformingParticipantFilter.Kind
Enumeration for participant filter kind definitions.
|
| Modifier and Type | Field and Description |
|---|---|
static PerformingParticipantFilter |
ANY_FOR_USER
Filter for retrieving items performed by any participant (roles, organizations or
user groups) associated with the calling user.
|
static PerformingParticipantFilter.Kind |
FILTER_KIND_ANY_FOR_USER
Constant marking the special
ANY_FOR_USER filter. |
static PerformingParticipantFilter.Kind |
FILTER_KIND_MODEL_PARTICIPANT
Constant marking a model participant filter.
|
static PerformingParticipantFilter.Kind |
FILTER_KIND_USER_GROUP
Constant marking a user group filter.
|
static PerformingParticipantFilter |
USER_ROLES_AND_ORGANIZATIONS
Deprecated.
Replaced by
ANY_FOR_USER. |
| Constructor and Description |
|---|
PerformingParticipantFilter(String participantID)
Deprecated.
Use
forModelParticipant(String) instead. |
PerformingParticipantFilter(String participantID,
boolean recursively)
Deprecated.
Use
forModelParticipant(String, boolean) instead. |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(FilterEvaluationVisitor visitor,
Object context)
Visitor dispatch callback used for evaluating filter criteria.
|
static PerformingParticipantFilter |
forModelParticipant(String participantID)
Deprecated.
Superseded by
#forModelParticipant(ParticipantInfo) |
static PerformingParticipantFilter |
forModelParticipant(String participantID,
boolean recursively)
Deprecated.
Superseded by
#forModelParticipant(ParticipantInfo, boolean) |
static PerformingParticipantFilter |
forParticipant(ParticipantInfo participant)
Gets the
PerformingParticipantFilter for the given arguments. |
static PerformingParticipantFilter |
forParticipant(ParticipantInfo participant,
boolean recursively)
Gets the
PerformingParticipantFilter for the given arguments |
static PerformingParticipantFilter |
forUserGroup(String groupID)
Deprecated.
Superseded by
#forModelParticipant(ParticipantInfo) |
PerformingParticipantFilter.Kind |
getFilterKind()
Gets the
PerformingParticipantFilter.Kind of the filter
Also see |
ParticipantInfo |
getParticipant()
Returns the
ParticipantInfo for the participant |
String |
getParticipantID()
Returns the id for the participant
|
boolean |
isRecursively()
Returns if this filter should
include all sub participants
|
public static final PerformingParticipantFilter.Kind FILTER_KIND_ANY_FOR_USER
ANY_FOR_USER filter.public static final PerformingParticipantFilter.Kind FILTER_KIND_MODEL_PARTICIPANT
public static final PerformingParticipantFilter.Kind FILTER_KIND_USER_GROUP
public static final PerformingParticipantFilter ANY_FOR_USER
public static final PerformingParticipantFilter USER_ROLES_AND_ORGANIZATIONS
ANY_FOR_USER.public PerformingParticipantFilter(String participantID)
forModelParticipant(String) instead.public PerformingParticipantFilter(String participantID, boolean recursively)
forModelParticipant(String, boolean) instead.public static PerformingParticipantFilter forModelParticipant(String participantID)
#forModelParticipant(ParticipantInfo)public static PerformingParticipantFilter forModelParticipant(String participantID, boolean recursively)
#forModelParticipant(ParticipantInfo, boolean)public static PerformingParticipantFilter forUserGroup(String groupID)
#forModelParticipant(ParticipantInfo)public static PerformingParticipantFilter forParticipant(ParticipantInfo participant)
PerformingParticipantFilter for the given arguments.
All sub participants are also included.participant - - the participant for which the filter should be constructedPerformingParticipantFilterpublic static PerformingParticipantFilter forParticipant(ParticipantInfo participant, boolean recursively)
PerformingParticipantFilter for the given argumentsparticipant - - the participant for which the filter should be constructedrecursively - - if sub participant should be includedPerformingParticipantFilterpublic PerformingParticipantFilter.Kind getFilterKind()
PerformingParticipantFilter.Kind of the filter
Also seePerformingParticipantFilter.KindFILTER_KIND_ANY_FOR_USER,
FILTER_KIND_USER_GROUP,
FILTER_KIND_MODEL_PARTICIPANTpublic String getParticipantID()
public ParticipantInfo getParticipant()
ParticipantInfo for the participantParticipantInfo for the participant, can be nullpublic boolean isRecursively()
public Object accept(FilterEvaluationVisitor visitor, Object context)
FilterCriterionreturn visitor.visit(this, context), thus calling the appropriately
overloaded visitation method.accept in interface FilterCriterionvisitor - The visitor performing the evaluation.context - Information used by the visitor during the visitation process.Copyright © 2016 Eclipse Stardust. All Rights Reserved.