|
SPT Object Database API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DatabaseSystem
An interface that captures the interactions supported by the object database system.
© Copyright 2008 Sans Pareil Technologies, Inc.
| Method Summary | |
|---|---|
PrevalentObject |
delete(PrevalentObject object,
Date executionTime)
Delete the specified prevalent object from the prevalent system. |
PrevalentObject |
save(PrevalentObject object,
Date executionTime)
Save the specified prevalent object to the prevalent system. |
| Methods inherited from interface com.sptci.prevayler.AbstractDatabase |
|---|
count, fetch, fetch, fetch, fetchIntersection, fetchUnion, search |
| Method Detail |
|---|
PrevalentObject save(PrevalentObject object,
Date executionTime)
throws PrevalentException
object - The prevalent object to be saved in the system.executionTime - The time at which the transaction was executed.
PrevalentException - If errors are encountered while
adding/updating the object. Errors thrown could indicate constraint
violations.
PrevalentObject delete(PrevalentObject object,
Date executionTime)
throws PrevalentException
object - The prevalent object to delete.executionTime - The datetime at which the transaction was executed.
PrevalentException - If errors are encountered while deleting the
prevalent object.
|
SPT Object Database API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||