|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RecordDaoBase
RecordDaoBaseData Access Object (DAO). Responsible for accessing database.
| Method Summary | |
|---|---|
Record |
add(Record object)
Adds a new Record to the database |
void |
delete(Record object)
Deletes a Record from the database. |
java.util.List<Record> |
listAllRecords()
Selects all Records from the database. |
Record |
retrieve(long id)
Retrieves a Record by its ID from the database. |
Record |
update(Record object)
Stores/Updates the Record in the database. |
| Method Detail |
|---|
Record retrieve(long id)
id - id of the Record to retrieve.
Record add(Record object)
object - the Record to add to the database.
Record update(Record object)
object - the Record to store/update
void delete(Record object)
object - the Record to deletejava.util.List<Record> listAllRecords()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||