|
Process Class Relationships | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--filenet.vw.api.VWWorkflowMilestones
Queries for workflow milestone occurrences in the work flow log. VWProcess.fetchReachedWorkflowMilestones creates an object of this class, so that you can fetch milestone items (VWMilestoneElement objects)with the next() method.
A query ends when the next() method returns null values. Use the hasNext() method if you wish to check whether any more elements are available.
This API implements iterator methods next() and hasNext(), which emulate the new collection model in Java 2.
VWProcess.fetchReachedWorkflowMilestones(int)
,
VWMilestoneElement
,
VWMilestoneDefinition
Method Summary | |
boolean |
hasNext()
Determines whether the retrieval iteration has more elements. |
VWMilestoneElement |
next()
Retrieves subsequent milestone occurrences (if you call this method repeatedly). |
void |
resetFetch()
Resets the last element fetched for this step history object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void resetFetch()
public boolean hasNext() throws VWException
Note: Make the buffer size to fetch greater than 1 to check the elements as intended.
VWWorkflowHistory.setBufferSize(int)
public VWMilestoneElement next() throws VWException
Note:Before using this method, create the VWWorkflowHistory object with VWProcess.fetchWorkflowHistory. This method sets the buffer size for retrieval from the server in the VWStepHistory object.
VWException
- Thrown if there is a problem with retrieval of
subsequent milestone occurrencesVWProcess.fetchWorkflowHistory(int)
,
VWWorkflowHistory.setBufferSize(int)
|
Process Class Relationships | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |