|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Persister<T>
Data Access Object-ok közös interfésze.
| Method Summary | |
|---|---|
void |
commit()
Commits the recent changes on the storage. |
void |
delete(T entity)
Deletes the business entity from the storage. |
void |
rollback()
Rolls back the recent changes on the storage. |
void |
save(T entity)
Saves the business entity onto the storage. |
void |
update(T entity)
Updates the business entity on the storage. |
| Method Detail |
|---|
void commit()
throws java.lang.Exception
java.lang.Exception
void rollback()
throws java.lang.Exception
java.lang.Exception
void save(T entity)
throws java.lang.Exception
entity - the business entity to be saved
java.lang.Exception
void update(T entity)
throws java.lang.Exception
entity - the business entity to be updated
java.lang.Exception
void delete(T entity)
throws java.lang.Exception
entity - the business entity to be deleted
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||