All Packages This Package Class Hierarchy Class Search Index
Class com.syncbuilder.storage.DatabaseImpl
java.lang.Object
|
+----com.syncbuilder.storage.DatabaseImpl
public abstract class DatabaseImpl
extends java.lang.Object
{
// Constructors 1
public DatabaseImpl();
// Methods 13
public AppBlock createAppBlock();
public AppBlock createAppBlock(byte[]);
public Pref createPref(byte[], int, int, boolean) throws NoCreatorException;
public abstract Record createRecord();
public abstract Record createRecord(byte[], RecordID, int, int, int);
public Record createRecord(RecordID);
public Resource createResource();
public Resource createResource(byte[], Char4, int, int);
public Resource createResource(Char4, int);
public SortBlock createSortBlock();
public SortBlock createSortBlock(byte[]);
public abstract Char4 getCreatorID();
public abstract String getDBName();
}
DatabaseImpl is a helper class for Database.
It implements all the operations which are application-specific. It is subclassed
by several application-specific implementations.
See Also:
Database
- Extended By:
- DatabaseImpl, DatabaseImpl, DatabaseImpl, DatabaseImpl, DatabaseImpl, DatabaseImpl, DatabaseImpl
- Returned By:
- DatabaseImplFactory.findDatabaseImplByCreator(), DatabaseImplFactory.findDatabaseImplByName()
public DatabaseImpl()
Default constructor
public abstract Record createRecord()
public Record createRecord(RecordID id)
public abstract Record createRecord(byte[] contents,
RecordID id,
int index,
int attr,
int cat)
public Resource createResource()
public Resource createResource(Char4 type,
int id)
public Resource createResource(byte[] contents,
Char4 type,
int id,
int index)
public Pref createPref(byte[] contents,
int id,
int version,
boolean backup) throws NoCreatorException
public AppBlock createAppBlock()
public SortBlock createSortBlock()
public AppBlock createAppBlock(byte[] contents)
public SortBlock createSortBlock(byte[] contents)
public abstract Char4 getCreatorID()
Get the creator ID of the database.
The creator ID is a unique four-letter ID which is used to link a database
to the application which created it.
public abstract String getDBName()
Get the name of the database.
The name can have up to 31 characters.
All Packages This Package Class Hierarchy Class Search Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7