|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataManager
Provides an interface to access the underlying database.
Method Summary | |
---|---|
void |
delete(long recordNumber)
Deletes the Record with the specified ID. |
Record[] |
find(Condition condition)
Returns all records that match the Condition . |
void |
insert(Record record)
Inserts a new Record . |
void |
update(Record record)
Updates the provided Record with its changed fields. |
Method Detail |
---|
Record[] find(Condition condition) throws java.io.IOException
records
that match the Condition
.
condition
- the matching Condition
records
java.io.IOException
- iff an I/O error occursvoid update(Record record) throws java.io.IOException
Record
with its changed fields.
The record is identified by its ID.
record
- the record with the new values
java.io.IOException
- iff an I/O error occursvoid insert(Record record) throws java.io.IOException
Record
.
record
- the new record
java.io.IOException
- iff an I/O error occursvoid delete(long recordNumber) throws java.io.IOException
Record
with the specified ID.
recordNumber
- the ID of the record
java.io.IOException
- iff an I/O error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |