Build 1.0_r1(from source)

android.database
Class BulkCursorProxy

java.lang.Object
  extended by android.database.BulkCursorProxy
All Implemented Interfaces:
IBulkCursor, IInterface

final class BulkCursorProxy
extends Object
implements IBulkCursor


Field Summary
 
Fields inherited from interface android.database.IBulkCursor
CLOSE_TRANSACTION, COUNT_TRANSACTION, DEACTIVATE_TRANSACTION, DELETE_ROW_TRANSACTION, descriptor, GET_COLUMN_NAMES_TRANSACTION, GET_CURSOR_WINDOW_TRANSACTION, GET_EXTRAS_TRANSACTION, ON_MOVE_TRANSACTION, REQUERY_TRANSACTION, RESPOND_TRANSACTION, UPDATE_ROWS_TRANSACTION, WANTS_ON_MOVE_TRANSACTION
 
Constructor Summary
BulkCursorProxy(IBinder remote)
           
 
Method Summary
 IBinder asBinder()
          Retrieve the Binder object associated with this interface.
 void close()
           
 int count()
          Returns the number of rows in the cursor.
 void deactivate()
           
 boolean deleteRow(int position)
           
 String[] getColumnNames()
          Returns a string array holding the names of all of the columns in the cursor in the order in which they were listed in the result.
 Bundle getExtras()
           
 boolean getWantsAllOnMoveCalls()
           
 CursorWindow getWindow(int startPos)
          Returns a BulkCursorWindow, which either has a reference to a shared memory segment with the rows, or an array of JSON strings.
 void onMove(int position)
           
 int requery(IContentObserver observer, CursorWindow window)
           
 Bundle respond(Bundle extras)
           
 boolean updateRows(Map values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BulkCursorProxy

public BulkCursorProxy(IBinder remote)
Method Detail

asBinder

public IBinder asBinder()
Description copied from interface: IInterface
Retrieve the Binder object associated with this interface. You must use this instead of a plain cast, so that proxy objects can return the correct result.

Specified by:
asBinder in interface IInterface

getWindow

public CursorWindow getWindow(int startPos)
                       throws RemoteException
Description copied from interface: IBulkCursor
Returns a BulkCursorWindow, which either has a reference to a shared memory segment with the rows, or an array of JSON strings.

Specified by:
getWindow in interface IBulkCursor
Throws:
RemoteException

onMove

public void onMove(int position)
            throws RemoteException
Specified by:
onMove in interface IBulkCursor
Throws:
RemoteException

count

public int count()
          throws RemoteException
Description copied from interface: IBulkCursor
Returns the number of rows in the cursor.

Specified by:
count in interface IBulkCursor
Returns:
the number of rows in the cursor.
Throws:
RemoteException

getColumnNames

public String[] getColumnNames()
                        throws RemoteException
Description copied from interface: IBulkCursor
Returns a string array holding the names of all of the columns in the cursor in the order in which they were listed in the result.

Specified by:
getColumnNames in interface IBulkCursor
Returns:
the names of the columns returned in this query.
Throws:
RemoteException

deactivate

public void deactivate()
                throws RemoteException
Specified by:
deactivate in interface IBulkCursor
Throws:
RemoteException

close

public void close()
           throws RemoteException
Specified by:
close in interface IBulkCursor
Throws:
RemoteException

requery

public int requery(IContentObserver observer,
                   CursorWindow window)
            throws RemoteException
Specified by:
requery in interface IBulkCursor
Throws:
RemoteException

updateRows

public boolean updateRows(Map values)
                   throws RemoteException
Specified by:
updateRows in interface IBulkCursor
Throws:
RemoteException

deleteRow

public boolean deleteRow(int position)
                  throws RemoteException
Specified by:
deleteRow in interface IBulkCursor
Throws:
RemoteException

getWantsAllOnMoveCalls

public boolean getWantsAllOnMoveCalls()
                               throws RemoteException
Specified by:
getWantsAllOnMoveCalls in interface IBulkCursor
Throws:
RemoteException

getExtras

public Bundle getExtras()
                 throws RemoteException
Specified by:
getExtras in interface IBulkCursor
Throws:
RemoteException

respond

public Bundle respond(Bundle extras)
               throws RemoteException
Specified by:
respond in interface IBulkCursor
Throws:
RemoteException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature