public class QueueSet
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
QueueSet.setType |
Constructor and Description |
---|
QueueSet() |
QueueSet(java.lang.String pid,
QueueSet.setType sType,
boolean persisting) |
Modifier and Type | Method and Description |
---|---|
void |
addToQueue(int queue,
WorkQueue queueToAdd) |
void |
addToQueue(WorkItemRecord wir,
int queue) |
void |
addToQueue(WorkItemRecord wir,
int queue,
boolean log) |
void |
cleanseAllQueues(WorkItemCache cache) |
void |
cleanseQueue(WorkItemCache cache,
int queue) |
void |
fromXML(Element element) |
void |
fromXML(java.lang.String xml) |
java.util.Set<WorkQueue> |
getActiveQueues() |
java.lang.String |
getID() |
boolean |
getPersisting() |
WorkQueue |
getQueue(int queue) |
java.util.Set<WorkItemRecord> |
getQueuedWorkItems(int queue) |
int |
getQueueSize(int queue) |
WorkQueue |
getWorklistedQueues() |
boolean |
hasWorkItemInAnyQueue(WorkItemRecord wir) |
boolean |
hasWorkItemInQueue(java.lang.String itemID,
int queue) |
void |
movetoStarted(WorkItemRecord wir) |
void |
movetoStarted(WorkItemRecord parent,
WorkItemRecord child) |
void |
movetoSuspend(WorkItemRecord wir) |
void |
movetoUnsuspend(WorkItemRecord wir) |
void |
purgeAllQueues() |
void |
purgeQueue(int queue) |
void |
refresh(WorkItemRecord wir) |
void |
removeCaseFromAllQueues(java.lang.String caseID) |
void |
removeCaseFromQueue(java.lang.String caseID,
int queue) |
void |
removeFromAllQueues(WorkItemRecord wir) |
boolean |
removeFromQueue(WorkItemRecord wir,
int queue) |
void |
removeFromQueue(WorkQueue queueToRemove,
int queue) |
void |
setID(java.lang.String id) |
void |
setPersisting(boolean persisting) |
void |
setQueue(WorkQueue queue) |
java.lang.String |
toXML() |
public QueueSet()
public QueueSet(java.lang.String pid, QueueSet.setType sType, boolean persisting)
public java.lang.String getID()
public void setID(java.lang.String id)
public void setPersisting(boolean persisting)
public boolean getPersisting()
public int getQueueSize(int queue)
public void movetoSuspend(WorkItemRecord wir)
public void movetoStarted(WorkItemRecord parent, WorkItemRecord child)
public void movetoStarted(WorkItemRecord wir)
public void movetoUnsuspend(WorkItemRecord wir)
public WorkQueue getQueue(int queue)
public void setQueue(WorkQueue queue)
public void addToQueue(WorkItemRecord wir, int queue)
public void addToQueue(WorkItemRecord wir, int queue, boolean log)
public void addToQueue(int queue, WorkQueue queueToAdd)
public boolean removeFromQueue(WorkItemRecord wir, int queue)
public void removeFromQueue(WorkQueue queueToRemove, int queue)
public void removeCaseFromQueue(java.lang.String caseID, int queue)
public void cleanseQueue(WorkItemCache cache, int queue)
public java.util.Set<WorkItemRecord> getQueuedWorkItems(int queue)
public WorkQueue getWorklistedQueues()
public java.util.Set<WorkQueue> getActiveQueues()
public void refresh(WorkItemRecord wir)
public boolean hasWorkItemInQueue(java.lang.String itemID, int queue)
public boolean hasWorkItemInAnyQueue(WorkItemRecord wir)
public void removeFromAllQueues(WorkItemRecord wir)
public void removeCaseFromAllQueues(java.lang.String caseID)
public void cleanseAllQueues(WorkItemCache cache)
public void purgeQueue(int queue)
public void purgeAllQueues()
public java.lang.String toXML()
public void fromXML(java.lang.String xml)
public void fromXML(Element element)
Copyright © 2004-2014 The YAWL Foundation.