|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IdentifiableDbPersister<T extends Identifiable>
Generically defines common persistence methods for Identifiable objects. This (paired with the abstract implementation) simplifies the implementation of persisters.
| Method Summary | |
|---|---|
void |
deleteById(Id id)
Generically delete any Identifiable object by Id. |
void |
deleteById(Id id,
java.sql.Connection conn)
Generically delete any Identifiable object by Id. |
void |
persist(T t)
Generically persist any identifiable object |
void |
persist(T t,
java.sql.Connection conn)
Generically persist any identifiable object |
| Methods inherited from interface blackboard.persist.Persister |
|---|
getAppVersion, init |
| Method Detail |
|---|
void persist(T t)
throws ValidationException,
PersistenceException
t - Identifiable object
ValidationException
PersistenceException
void persist(T t,
java.sql.Connection conn)
throws ValidationException,
PersistenceException
t - Identifiable object
ValidationException
PersistenceException
void deleteById(Id id)
throws PersistenceException
id - The id of the persistent object
PersistenceException
void deleteById(Id id,
java.sql.Connection conn)
throws PersistenceException
id - The id of the persistent object
PersistenceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||