dataIterator() method

This method should return either a partial or complete list of the records for the complex table, depending on the result of calling willRebuildTable().

Syntax

public abstract Iterator< CTOBJ > dataIterator () throws AgentryException

Returns

an Iterator object that will iterate over the records of the complex table.

Exceptions

Usage

It returns these records in the form of a Iterator object that iterates over a list of objects. Subclasses should override this method to return the desired data.

If willRebuildTable() returns false (indicating that the client will receive an incremental update), then this method should only return those records that have been added to the complex table since the client's last update time (which can be retrieved via getClientLastDataUpdateTime()). If willRebuildTable() returns true (indicating that the client should rebuild its complex table from scratch), then this method should return the complete set of complex table records.