public class ParticipantWorklist extends Worklist
Worklist being owned by
either an Organization or a
Role. Participant worklists don't contain
sub-worklists, any work items from associated organizations will be directly contained
in a user worklist.| Constructor and Description |
|---|
ParticipantWorklist(ParticipantInfo owner,
WorklistQuery query,
SubsetPolicy subset,
List items,
boolean moreAvailable,
Long totalCount,
long totalCountThreshold) |
| Modifier and Type | Method and Description |
|---|---|
ParticipantInfo |
getOwner()
Retrieves the owning participant of this worklist.
|
String |
getOwnerID()
The human readable ID of the worklist owner.
|
String |
getOwnerName()
The name of the owner of the worklist.
|
long |
getOwnerOID()
The OID of the owner of this worklist.
|
Iterator |
getSubWorklists()
Retrieves an iterator over all contained sub-worklists.
|
boolean |
isUserWorklist()
Indicates if the worklist is a user worklist or a participant worklist.
|
get, getCumulatedItems, getCumulatedSize, getQuery, getSubsetPolicy, getTotalCount, getTotalCountThreshold, hasMore, hasMorePrivateItems, sizeadd, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, subListpublic ParticipantWorklist(ParticipantInfo owner, WorklistQuery query, SubsetPolicy subset, List items, boolean moreAvailable, Long totalCount, long totalCountThreshold)
public ParticipantInfo getOwner()
getOwner in class WorklistUserGroupInfo or a
Organization or a
Role. May be null.public boolean isUserWorklist()
WorklistUser worklists may contain nested sub-worklists, while participant worklists can't.
isUserWorklist in class Worklisttrue in case of a user worklist, false in case of
a participant worklist.public long getOwnerOID()
WorklistIf the worklist belongs to a participant not existing anymore in the current
model version the OID will be 0.
getOwnerOID in class WorklistWorklist.getOwnerID()public String getOwnerID()
WorklistgetOwnerID in class WorklistWorklist.getOwnerOID()public String getOwnerName()
WorklistIf the worklist belongs to a participant not existing anymore in the current model version the name will be empty.
getOwnerName in class WorklistWorklist.getOwnerID()public Iterator getSubWorklists()
WorklistOnly user worklists may contain sub-worklists.
getSubWorklists in class WorklistWorklist.Worklist.isUserWorklist()Copyright © 2016 Eclipse Stardust. All Rights Reserved.