|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList
org.eclipse.stardust.engine.api.query.Worklist
org.eclipse.stardust.engine.api.query.ParticipantWorklist
public class ParticipantWorklist
Specialization of a 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 Summary | |
|---|---|
ParticipantWorklist(ParticipantInfo owner,
WorklistQuery query,
SubsetPolicy subset,
List items,
boolean moreAvailable,
Long totalCount,
long totalCountThreshold)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.eclipse.stardust.engine.api.query.Worklist |
|---|
get, getCumulatedItems, getCumulatedSize, getQuery, getSubsetPolicy, getTotalCount, getTotalCountThreshold, hasMore, hasMorePrivateItems, size |
| Methods inherited from class java.util.AbstractList |
|---|
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, subList, toArray, toArray |
| Constructor Detail |
|---|
public ParticipantWorklist(ParticipantInfo owner,
WorklistQuery query,
SubsetPolicy subset,
List items,
boolean moreAvailable,
Long totalCount,
long totalCountThreshold)
| Method Detail |
|---|
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()
Worklist
getOwnerID 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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||