vishnu.model.volatiles.recordset
Class AbstractVolatileRecordSet

java.lang.Object
  extended by vishnu.model.volatiles.recordset.AbstractVolatileRecordSet
All Implemented Interfaces:
java.io.Serializable, RecordSet, VolatileRecordSet
Direct Known Subclasses:
DefaultVolatileRecordSet, OrderedVolatileRecordSet

public abstract class AbstractVolatileRecordSet
extends java.lang.Object
implements VolatileRecordSet, java.io.Serializable

Author:
Hernan Rancati
See Also:
Serialized Form
 

Field Summary
protected  int index
           
protected  java.lang.String sortColumn
           
 
Constructor Summary
AbstractVolatileRecordSet(TableSignature s, Session session)
           
 
Method Summary
 void drop()
          Borra la coleccion de registros.
 Session getSession()
           
 void moveTo(int recordIndex)
          Mueve el puntero de proximo registro a recordIndex.
 void order()
          Ordena el conjunto de registros por la columna definida a estos efectos en la tabla.
 java.lang.String orderedBy()
           
 void persist()
          Persiste los datos del recordSet.
 void reset()
          Posiciona el RecordSet antes del primer registro.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface vishnu.model.RecordSet
delete, getCount, hasNext, hasPrevious, insert, next, previous, update
 

Field Detail

index

protected int index

sortColumn

protected java.lang.String sortColumn
Constructor Detail

AbstractVolatileRecordSet

public AbstractVolatileRecordSet(TableSignature s,
                                 Session session)
Method Detail

reset

public void reset()
Description copied from interface: RecordSet
Posiciona el RecordSet antes del primer registro.

Specified by:
reset in interface RecordSet

drop

public void drop()
Description copied from interface: RecordSet
Borra la coleccion de registros.

Specified by:
drop in interface RecordSet

moveTo

public void moveTo(int recordIndex)
            throws java.lang.IndexOutOfBoundsException
Description copied from interface: RecordSet
Mueve el puntero de proximo registro a recordIndex.

Specified by:
moveTo in interface RecordSet
Throws:
java.lang.IndexOutOfBoundsException
Parameters:
recordIndex - - la nueva posicion del puntero a proximo registro.

orderedBy

public java.lang.String orderedBy()

persist

public void persist()
Description copied from interface: RecordSet
Persiste los datos del recordSet.

Specified by:
persist in interface RecordSet

order

public void order()
Description copied from interface: RecordSet
Ordena el conjunto de registros por la columna definida a estos efectos en la tabla.

Specified by:
order in interface RecordSet

getSession

public Session getSession()
Specified by:
getSession in interface VolatileRecordSet