railo.runtime.type
Interface Iterator

All Known Subinterfaces:
Query, QueryTable

public interface Iterator

Interface for a simple Iterator


Method Summary
 int getCurrentrow()
          return the actuell position of the internal pointer
 int getRecordcount()
          return recordcount of the iterator object
 boolean go(int index)
          Deprecated. use instead go(int,int)
 boolean go(int index, int pid)
          set the internal pointer to defined position
 boolean isEmpty()
           
 boolean next()
          Deprecated. use instead next(int)
 boolean next(int pid)
          set the intern pointer of the iterator to the next position, return true if next position exist otherwise false.
 void reset()
          Deprecated. use instead reset(int)
 void reset(int pid)
          reset ther intern pointer
 

Method Detail

next

public boolean next()
             throws PageException
Deprecated. use instead next(int)

set the intern pointer of the iterator to the next position, return true if next position exist otherwise false.

Returns:
boolean
Throws:
PageException

next

public boolean next(int pid)
             throws PageException
set the intern pointer of the iterator to the next position, return true if next position exist otherwise false.

Returns:
boolean
Throws:
PageException

reset

public void reset()
           throws PageException
Deprecated. use instead reset(int)

reset ther intern pointer

Throws:
PageException

reset

public void reset(int pid)
           throws PageException
reset ther intern pointer

Throws:
PageException

getRecordcount

public int getRecordcount()
return recordcount of the iterator object

Returns:
int

getCurrentrow

public int getCurrentrow()
return the actuell position of the internal pointer

Returns:
int

go

public boolean go(int index)
           throws PageException
Deprecated. use instead go(int,int)

set the internal pointer to defined position

Parameters:
index -
Returns:
int
Throws:
PageException

go

public boolean go(int index,
                  int pid)
           throws PageException
set the internal pointer to defined position

Parameters:
index -
Returns:
int
Throws:
PageException

isEmpty

public boolean isEmpty()
Returns:
returns if iterator is empty or not