Purpose:
This class is a collection that supports sequential access in a bi-directional manner. The purpose of this class is to hold the workbasket IDs in a workflow.
Methods:
LPDISPATCH createIterator()
Creates a DXSequentialIteratorDL object over the collection object that is used to retrieve the workbasket IDs in the collection. The returned LPDISPATCH pointer contains a DXSequentialIteratorDL object.
long cardinality();
BSTR retrieveItemIDXt(LPDISPATCH iterator)
Returns the workbasket ID the iterator is pointing at. The input parameter LPDISPATCH pointer contains a DXSequentialIteratorDL object.
addItemID(LPCTSTR itemID)
Adds a workbasket ID to the collection and invalidates all of the current iterators.
insertItemIDXt(LPCTSTR itemID, LPDISPATCH iterator)
Adds a new workBasket ID, after the workBasket ID the iterator is currently pointing to. The iterator is advanced to the new workBasket ID, invalidating all other iterators. The input parameter LPDISPATCH pointer contains a DXSequentialIteratorDL object.
BSTR removeItemIDXt(LPDISPATCH iterator)
Removes the workBasket ID the iterator is currently pointing at, and returns the workBasket IDs that gets removed. The iterator is automatically advanced to the next workBasket ID after this operation, invalidating all other iterators. The input parameter LPDISPATCH pointer contains a DXSequentialIteratorDL object.
BSTR replaceItemIDXt(LPCTSTR itemID, LPDISPATCH iterator)
Replaces the workBasket ID the iterator is currently pointing at, and returns the workBasket ID that gets replaced. The input parameter LPDISPATCH pointer contains a DXSequentialIteratorDL object.
removeAllItemIDs()
Removes all of the workbasket IDs in the collection.
(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.