|
|||||||||
| 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.UserWorklist
public class UserWorklist
Specialization of a Worklist being owned by a
User. User worklists usually contain
sub-worklists containing work items from granted roles or organizations.
| Method Summary | |
|---|---|
UserInfo |
getOwner()
Retrieves the owning user 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. |
List |
getSubDetails()
|
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 |
| Method Detail |
|---|
public UserInfo getOwner()
getOwner in class Worklistpublic 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()public List getSubDetails()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||