com.plumtree.portaluiinfrastructure.compoundlist
Interface ICPListEntryIterator

All Known Implementing Classes:
ASCompoundList

public interface ICPListEntryIterator

Iterator Interface for Compoundlist

Author:
robertz

Method Summary
 ListEntry GetEntry()
          Gets the current entry.
 ListEntry GetEntryAtIndex(int nIndex)
          Gets the entry at a specified entry
 void GetIterator()
          Resets the iterator
 int GetTotalCount()
          Gets the amount of entries in the list
 boolean Next()
          Advance the iterator to next entry.
 

Method Detail

GetEntry

ListEntry GetEntry()
Gets the current entry. Doesn't advance the iterator

Returns:
Current entry

GetEntryAtIndex

ListEntry GetEntryAtIndex(int nIndex)
Gets the entry at a specified entry

Parameters:
nIndex - Index of the entry
Returns:
Entry at the specified index

GetIterator

void GetIterator()
Resets the iterator


GetTotalCount

int GetTotalCount()
Gets the amount of entries in the list

Returns:
Number of entries in the list

Next

boolean Next()
Advance the iterator to next entry.

Returns:
false if no more entries, otherwise true.



Copyright 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.