org.tentackle.db.rmi
Interface RemoteDbCursor

All Superinterfaces:
Remote
All Known Implementing Classes:
RemoteDbCursorImpl

public interface RemoteDbCursor
extends Remote

Remote delegate interface for DbCursor.

Author:
harald

Method Summary
 int afterLast()
           
 void beforeFirst()
           
 void close()
           
 boolean deleteObject()
           
 boolean deleteObjectAt(int row)
           
 List<? extends DbObject> fetch()
           
 int first()
           
 String getDbClassName()
           
 int getFetchDirection()
           
 int getFetchSize()
           
 String getName()
           
 DbObject getObject()
           
 DbObject getObjectAt(int row)
           
 int getRow()
           
 int getRowCount()
           
 boolean isAfterLast()
           
 boolean isBeforeFirst()
           
 int last()
           
 boolean next()
           
 boolean previous()
           
 void setFetchDirection(int direction)
           
 void setFetchSize(int rows)
           
 boolean setRow(int row)
           
 List<? extends DbObject> toList()
           
 boolean updateObject(DbObject object)
           
 boolean updateObjectAt(DbObject object, int row)
           
 boolean updateObjectOnly(DbObject object)
           
 

Method Detail

close

void close()
           throws RemoteException
Throws:
RemoteException

getRowCount

int getRowCount()
                throws RemoteException
Throws:
RemoteException

getRow

int getRow()
           throws RemoteException
Throws:
RemoteException

setRow

boolean setRow(int row)
               throws RemoteException
Throws:
RemoteException

first

int first()
          throws RemoteException
Throws:
RemoteException

last

int last()
         throws RemoteException
Throws:
RemoteException

next

boolean next()
             throws RemoteException
Throws:
RemoteException

previous

boolean previous()
                 throws RemoteException
Throws:
RemoteException

beforeFirst

void beforeFirst()
                 throws RemoteException
Throws:
RemoteException

afterLast

int afterLast()
              throws RemoteException
Throws:
RemoteException

isBeforeFirst

boolean isBeforeFirst()
                      throws RemoteException
Throws:
RemoteException

isAfterLast

boolean isAfterLast()
                    throws RemoteException
Throws:
RemoteException

getObject

DbObject getObject()
                   throws RemoteException
Throws:
RemoteException

updateObjectOnly

boolean updateObjectOnly(DbObject object)
                         throws RemoteException
Throws:
RemoteException

updateObject

boolean updateObject(DbObject object)
                     throws RemoteException
Throws:
RemoteException

deleteObject

boolean deleteObject()
                     throws RemoteException
Throws:
RemoteException

getObjectAt

DbObject getObjectAt(int row)
                     throws RemoteException
Throws:
RemoteException

updateObjectAt

boolean updateObjectAt(DbObject object,
                       int row)
                       throws RemoteException
Throws:
RemoteException

deleteObjectAt

boolean deleteObjectAt(int row)
                       throws RemoteException
Throws:
RemoteException

toList

List<? extends DbObject> toList()
                                throws RemoteException
Throws:
RemoteException

getDbClassName

String getDbClassName()
                      throws RemoteException
Throws:
RemoteException

getName

String getName()
               throws RemoteException
Throws:
RemoteException

setFetchSize

void setFetchSize(int rows)
                  throws RemoteException
Throws:
RemoteException

getFetchSize

int getFetchSize()
                 throws RemoteException
Throws:
RemoteException

setFetchDirection

void setFetchDirection(int direction)
                       throws RemoteException
Throws:
RemoteException

getFetchDirection

int getFetchDirection()
                      throws RemoteException
Throws:
RemoteException

fetch

List<? extends DbObject> fetch()
                               throws RemoteException
Throws:
RemoteException


Copyright © 2001-2008 Harald Krake, Bergstr. 48, 78098 Triberg, Germany, harald@krake.de