public class YWorkItemRepository
extends java.lang.Object
Constructor and Description |
---|
YWorkItemRepository() |
Modifier and Type | Method and Description |
---|---|
protected YWorkItem |
add(YWorkItem workItem) |
java.util.Set<YWorkItem> |
cancelNet(YIdentifier caseIDForNet)
Removes all workitems that belong to a net.
|
void |
cleanseRepository() |
void |
clear() |
void |
dump(org.apache.logging.log4j.Logger logger) |
YWorkItem |
get(java.lang.String itemID) |
YWorkItem |
get(java.lang.String caseIDStr,
java.lang.String taskID) |
java.util.Set<YWorkItem> |
getChildrenOf(java.lang.String workItemID) |
java.util.Set<YWorkItem> |
getCompletedWorkItems() |
java.util.Set<YWorkItem> |
getEnabledWorkItems() |
java.util.Set<YWorkItem> |
getExecutingWorkItems() |
java.util.Set<YWorkItem> |
getExecutingWorkItems(java.lang.String serviceName) |
java.util.Set<YWorkItem> |
getFiredWorkItems() |
java.util.Set<YWorkItem> |
getParentWorkItems() |
java.util.Set<YWorkItem> |
getWorkItems() |
java.util.Set<YWorkItem> |
getWorkItems(YWorkItemStatus status) |
java.util.List<YWorkItem> |
getWorkItemsForCase(YIdentifier caseID) |
java.util.Set<YWorkItem> |
getWorkItemsForService(java.lang.String serviceURI) |
java.util.Set<YWorkItem> |
getWorkItemsWithIdentifier(java.lang.String idType,
java.lang.String id) |
YWorkItem |
remove(YWorkItem workItem) |
java.util.Set<YWorkItem> |
removeWorkItemFamily(YWorkItem workItem) |
java.util.Set<YWorkItem> |
removeWorkItemsForCase(YIdentifier caseID)
Removes all work items for a given case id.
|
public YWorkItem get(java.lang.String caseIDStr, java.lang.String taskID)
public YWorkItem get(java.lang.String itemID)
public void clear()
public java.util.Set<YWorkItem> cancelNet(YIdentifier caseIDForNet)
caseIDForNet
- public java.util.Set<YWorkItem> getParentWorkItems()
public java.util.Set<YWorkItem> getEnabledWorkItems()
public java.util.Set<YWorkItem> getFiredWorkItems()
public java.util.Set<YWorkItem> getExecutingWorkItems()
public java.util.Set<YWorkItem> getExecutingWorkItems(java.lang.String serviceName)
public java.util.Set<YWorkItem> getCompletedWorkItems()
public java.util.Set<YWorkItem> getWorkItems(YWorkItemStatus status)
public java.util.Set<YWorkItem> getWorkItems()
public void cleanseRepository()
public java.util.Set<YWorkItem> getChildrenOf(java.lang.String workItemID)
public java.util.Set<YWorkItem> removeWorkItemsForCase(YIdentifier caseID)
caseID
- must be a case id (not a child of a caseid).public java.util.List<YWorkItem> getWorkItemsForCase(YIdentifier caseID)
public java.util.Set<YWorkItem> getWorkItemsWithIdentifier(java.lang.String idType, java.lang.String id)
public java.util.Set<YWorkItem> getWorkItemsForService(java.lang.String serviceURI)
public void dump(org.apache.logging.log4j.Logger logger)
Copyright © 2004-2014 The YAWL Foundation.