Index

DXWorkBasketSequentialDL

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:

createIterator
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.

cardinality
long cardinality();

Returns the number of workbasket IDs in the collection.

retrieveItemIDXt
BSTR retrieveItemIDXt(LPDISPATCH iterator)

Returns the workbasket ID the iterator is pointing at. The input parameter LPDISPATCH pointer contains a DXSequentialIteratorDL object.

addItemID
addItemID(LPCTSTR itemID)

Adds a workbasket ID to the collection and invalidates all of the current iterators.

insertItemIDXt
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.

removeItemIDAt
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.

replaceItemIDAt
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
removeAllItemIDs()

Removes all of the workbasket IDs in the collection.

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.