|
||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||
| Packages that use DatabaseException | |
| com.syncbuilder.storage | Storage in the style of Palm OS databases. |
| Uses of DatabaseException in com.syncbuilder.storage |
| Methods in com.syncbuilder.storage that throw DatabaseException | |
AppBlock |
Database.getAppBlock()
Get a new instance of an AppBlock that matches the Database. |
void |
Database.setAppBlock(AppBlock appblock)
Associate the AppBlock with the Database. |
SortBlock |
Database.getSortBlock()
Get a new instance of a SortBlock that matches the Database. |
void |
Database.setSortBlock(SortBlock sortblock)
Associate the SortBlock with the Database. |
Record |
Database.getRecord(int index)
Retrieve the Record with the specified index from the Database. |
Record |
Database.getRecord(RecordID uid)
Retrieve the Record with the specified UID from the Database. |
Record |
Database.getNextRecord(int category)
Retrieve the next Record within the specified category from the Database. |
Record |
Database.getNextModifiedRecord()
Retrieve the next modified Record from the Database. |
Record |
Database.getNextModifiedRecord(int category)
Retrieve the next modified Record within the specified category from the Database. |
void |
Database.resetNext()
Resets the 'next record' index to the beginning |
void |
Database.putRecord(Record record)
Stores a record in the database. |
void |
Database.deleteRecord(RecordID uid)
Delete the record with the specified UID from the database. |
void |
Database.deleteAllRecords()
Delete ALL records in the database. |
void |
Database.deleteCategory(int category)
Delete all records from a specified category |
void |
Database.moveCategory(int from,
int to)
|
RecordID[] |
Database.getRecordIDs()
Return the UIDs of all records in the DB, in an unsorted fashion. |
RecordID[] |
Database.getRecordIDs(boolean sort)
Return the UIDs of all records in the DB. |
RecordID[] |
Database.getRecordIDs(boolean sort,
int start)
Return the UIDs of selected records in the DB. |
RecordID[] |
Database.getRecordIDs(boolean sort,
int start,
int max)
Return the UIDs of selected records in the DB. |
void |
Database.purgeRecords()
Deletes all records which are marked as archived or deleted |
Resource |
Database.getResource(int index)
Get a resource through the specified index. |
Resource |
Database.getResource(Char4 type,
int id)
Get a resource through the type and id. |
void |
Database.putResource(Resource resource)
Store a resource in the database. |
void |
Database.deleteResource(Char4 type,
int id)
Delete a single resource from the database. |
void |
Database.deleteAllResources()
Delete ALL resources. |
Pref |
Database.getPref(int id)
Get one of the preferences which are associated with the same app as the database. |
Pref |
Database.getPref(int id,
boolean backed_up)
Get one of the preferences which are associated with the same app as the database. |
void |
Database.setPref(Pref pref)
Store a Pref which is associated with the same app as the database to the database. |
void |
Database.close()
Closes the database. |
void |
Database.resetFlags()
For record databases, reset all dirty flags. |
int |
Database.getRecordCount()
Return the number of records in the Database. |
DBInfo |
Database.getDBInfo()
Return meta-information about the Database. |
void |
Database.setDBInfo(DBInfo dbinfo)
Associate a complete set of meta-information with the Database. |
abstract AppBlock |
DatabaseBase.getAppBlock()
|
abstract void |
DatabaseBase.setAppBlock(AppBlock appblock)
|
abstract SortBlock |
DatabaseBase.getSortBlock()
|
abstract void |
DatabaseBase.setSortBlock(SortBlock sortblock)
|
abstract Record |
DatabaseBase.getRecord(int index)
|
abstract Record |
DatabaseBase.getRecord(RecordID uid)
|
abstract Record |
DatabaseBase.getNextRecord(int category)
|
abstract Record |
DatabaseBase.getNextModifiedRecord()
|
abstract Record |
DatabaseBase.getNextModifiedRecord(int category)
|
abstract void |
DatabaseBase.resetNext()
Resets the "next record" index to the beginning |
abstract void |
DatabaseBase.putRecord(Record record)
Writes a record to the database. |
abstract void |
DatabaseBase.deleteRecord(RecordID uid)
Delete the record with the specified UID from the database. |
abstract void |
DatabaseBase.deleteAllRecords()
Delete ALL records in the database. |
abstract void |
DatabaseBase.deleteCategory(int category)
Delete all records from a specified category |
abstract void |
DatabaseBase.moveCategory(int from,
int to)
|
RecordID[] |
DatabaseBase.getRecordIDs()
Return the UIDs of all records in the DB, in an unsorted fashion. |
RecordID[] |
DatabaseBase.getRecordIDs(boolean sort)
Return the UIDs of all records in the DB. |
RecordID[] |
DatabaseBase.getRecordIDs(boolean sort,
int start)
Return the UIDs of selected records in the DB. |
abstract RecordID[] |
DatabaseBase.getRecordIDs(boolean sort,
int start,
int max)
Return the UIDs of selected records in the DB. |
abstract void |
DatabaseBase.purgeRecords()
Deletes all records which are marked as archived or deleted |
abstract void |
DatabaseBase.moveRecord(int from,
int to)
Move a record from one position to another. |
abstract Resource |
DatabaseBase.getResource(int index)
|
abstract Resource |
DatabaseBase.getResource(Char4 type,
int id)
|
abstract void |
DatabaseBase.putResource(Resource resource)
|
abstract void |
DatabaseBase.deleteResource(Char4 type,
int id)
|
abstract void |
DatabaseBase.deleteAllResources()
Delete ALL resources. |
Pref |
DatabaseBase.getPref(int id)
|
abstract Pref |
DatabaseBase.getPref(int id,
boolean backed_up)
Get one of the preferences which are associated with the same app as the database. |
abstract void |
DatabaseBase.setPref(Pref pref)
Store a Pref which is associated with the same app as the database to the database. |
abstract void |
DatabaseBase.close()
Closes the database. |
abstract void |
DatabaseBase.resetFlags()
For record databases, reset all dirty flags. |
abstract int |
DatabaseBase.getRecordCount()
Return the number of records in the Database |
abstract DBInfo |
DatabaseBase.getDBInfo()
Return meta-information about the Database Caution! |
protected void |
DatabaseBase.finalize()
|
AppBlock |
MemoryDatabase.getAppBlock()
|
void |
MemoryDatabase.setAppBlock(AppBlock appblock)
|
SortBlock |
MemoryDatabase.getSortBlock()
|
void |
MemoryDatabase.setSortBlock(SortBlock sortblock)
|
Record |
MemoryDatabase.getRecord(int index)
|
Record |
MemoryDatabase.getRecord(RecordID uid)
|
Record |
MemoryDatabase.getNextRecord(int category)
|
Record |
MemoryDatabase.getNextModifiedRecord()
|
Record |
MemoryDatabase.getNextModifiedRecord(int category)
|
void |
MemoryDatabase.resetNext()
Resets the "next record" index to the beginning |
void |
MemoryDatabase.putRecord(Record record)
Writes a record to the database. |
void |
MemoryDatabase.deleteRecord(RecordID uid)
Delete the record with the specified UID from the database. |
void |
MemoryDatabase.deleteAllRecords()
Delete ALL records in the database. |
void |
MemoryDatabase.deleteCategory(int category)
Delete all records from a specified category |
void |
MemoryDatabase.moveCategory(int from,
int to)
|
RecordID[] |
MemoryDatabase.getRecordIDs(boolean sort,
int start,
int max)
Return the UIDs of selected records in the DB. |
void |
MemoryDatabase.purgeRecords()
Deletes all records which are marked as archived or deleted |
void |
MemoryDatabase.moveRecord(int from,
int to)
Move a record from one position to another. |
Resource |
MemoryDatabase.getResource(int index)
|
Resource |
MemoryDatabase.getResource(Char4 type,
int id)
|
void |
MemoryDatabase.putResource(Resource resource)
|
void |
MemoryDatabase.deleteResource(Char4 type,
int id)
|
void |
MemoryDatabase.deleteAllResources()
Delete ALL resources. |
Pref |
MemoryDatabase.getPref(int id,
boolean backed_up)
Get one of the preferences which are associated with the same app as the database. |
void |
MemoryDatabase.setPref(Pref pref)
Store a Pref which is associated with the same app as the database to the database. |
void |
MemoryDatabase.close()
Closes the database. |
void |
MemoryDatabase.resetFlags()
For record databases, reset all dirty flags. |
int |
MemoryDatabase.getRecordCount()
Return the number of records in the Database |
DBInfo |
MemoryDatabase.getDBInfo()
Return meta-information about the Database Caution! |
void |
MemoryDatabase.setDBInfo(DBInfo dbinfo)
Associate a complete set of meta-information with the Database. |
AppBlock |
DeviceDatabase.getAppBlock()
|
void |
DeviceDatabase.setAppBlock(AppBlock appblock)
|
SortBlock |
DeviceDatabase.getSortBlock()
|
void |
DeviceDatabase.setSortBlock(SortBlock sortblock)
|
Record |
DeviceDatabase.getRecord(int index)
|
Record |
DeviceDatabase.getRecord(RecordID uid)
|
Record |
DeviceDatabase.getNextRecord(int category)
|
Record |
DeviceDatabase.getNextModifiedRecord()
|
Record |
DeviceDatabase.getNextModifiedRecord(int category)
|
void |
DeviceDatabase.resetNext()
Resets the "next record" index to the beginning |
void |
DeviceDatabase.putRecord(Record record)
Writes a record to the database. |
void |
DeviceDatabase.deleteRecord(RecordID uid)
Delete the record with the specified UID from the database. |
void |
DeviceDatabase.deleteAllRecords()
Delete ALL records in the database. |
void |
DeviceDatabase.deleteCategory(int category)
Delete all records from a specified category |
void |
DeviceDatabase.moveCategory(int from,
int to)
|
RecordID[] |
DeviceDatabase.getRecordIDs(boolean sort,
int start,
int max)
Return the UIDs of selected records in the DB. |
void |
DeviceDatabase.purgeRecords()
Deletes all records which are marked as archived or deleted |
void |
DeviceDatabase.moveRecord(int from,
int to)
Move a record from one position to another. |
Resource |
DeviceDatabase.getResource(int index)
|
Resource |
DeviceDatabase.getResource(Char4 type,
int id)
|
void |
DeviceDatabase.putResource(Resource resource)
|
void |
DeviceDatabase.deleteResource(Char4 type,
int id)
|
void |
DeviceDatabase.deleteAllResources()
Delete ALL resources. |
Pref |
DeviceDatabase.getPref(int id,
boolean backed_up)
Get one of the preferences which are associated with the same app as the database. |
void |
DeviceDatabase.setPref(Pref pref)
Store a Pref which is associated with the same app as the database to the database. |
void |
DeviceDatabase.close()
Closes the database. |
void |
DeviceDatabase.resetFlags()
For record databases, reset all dirty flags. |
int |
DeviceDatabase.getRecordCount()
Return the number of records in the Database |
DBInfo |
DeviceDatabase.getDBInfo()
Return meta-information about the Database Caution! |
void |
DeviceDatabase.setDBInfo(DBInfo dbinfo)
Associate a complete set of meta-information with the Database. Caution! |
|
||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||