public static interface SQLiteHouseRelay.Listener
SQLiteHouseKeeper
.Modifier and Type | Method and Description |
---|---|
void |
onDeleteFailed()
Called by
SQLiteHouseRelay.onDeleteFailed(android.content.Intent) to inform the
listener of a failed deletion. |
void |
onInsertFailed()
Called by
SQLiteHouseRelay.onInsertFailed(android.content.Intent) to inform the
listener of a failed insertion. |
void |
onRowInserted(long nRowID)
Called by
SQLiteHouseRelay.onRowInserted(android.content.Intent) to inform the
listener of a successful insertion. |
void |
onRowsDeleted(int nCount)
Called by
SQLiteHouseRelay.onRowsDeleted(android.content.Intent) to inform the
listener of a successful deletion. |
<SC extends SQLightable> |
onRowsSelected(java.lang.Class<SC> cls,
int nTotalCount,
java.util.List<SC> aoRows)
Called by
SQLiteHouseRelay.onRowsSelected(android.content.Intent) to pass the results
of a successful selection to the listener. |
void |
onRowsUpdated(int nCount)
Called by
SQLiteHouseRelay.onRowsUpdated(android.content.Intent) to inform the
listener of a successful update. |
void |
onSelectFailed()
Called by
SQLiteHouseRelay.onSelectFailed(android.content.Intent) to inform the
listener of a failed selection. |
void |
onUpdateFailed()
Called by
SQLiteHouseRelay.onUpdateFailed(android.content.Intent) to inform the
listener of a failed update. |
void onRowInserted(long nRowID)
SQLiteHouseRelay.onRowInserted(android.content.Intent)
to inform the
listener of a successful insertion.nRowID
- the integer ID of the new database rowvoid onInsertFailed()
SQLiteHouseRelay.onInsertFailed(android.content.Intent)
to inform the
listener of a failed insertion.void onRowsUpdated(int nCount)
SQLiteHouseRelay.onRowsUpdated(android.content.Intent)
to inform the
listener of a successful update.nCount
- the number of rows that were updatedvoid onUpdateFailed()
SQLiteHouseRelay.onUpdateFailed(android.content.Intent)
to inform the
listener of a failed update.void onRowsDeleted(int nCount)
SQLiteHouseRelay.onRowsDeleted(android.content.Intent)
to inform the
listener of a successful deletion.nCount
- the number of rows that were deletedvoid onDeleteFailed()
SQLiteHouseRelay.onDeleteFailed(android.content.Intent)
to inform the
listener of a failed deletion.<SC extends SQLightable> void onRowsSelected(java.lang.Class<SC> cls, int nTotalCount, java.util.List<SC> aoRows)
SQLiteHouseRelay.onRowsSelected(android.content.Intent)
to pass the results
of a successful selection to the listener.SC
- the schematic classcls
- the schematic class that will marshal the datanTotalCount
- the total number of rowsaoRows
- the rows themselves, already marshalledvoid onSelectFailed()
SQLiteHouseRelay.onSelectFailed(android.content.Intent)
to inform the
listener of a failed selection.