|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - The type of the domain object for which this instance is to be
used.ID - The type of the id of the domain object for which this instance is
to be used.S - The type of criteria strategy used for searching objects.public interface GenericDaoReadOnly<T,ID extends Serializable,S extends org.janux.bus.search.SearchCriteria>
Interface for a Data Access Object that can be used for a single specified type domain object for read operations. A single instance implementing this interface can be used only for the type of domain object specified in the type parameters.
| Method Summary | |
|---|---|
int |
count(S searchCriteria)
TODO |
List<T> |
findByCriteria(S searchCriteria)
TODO Search for objects considering the given search criteria |
T |
load(ID id)
TODO loads an object from persistence using its id |
| Method Detail |
|---|
T load(ID id)
throws DataAccessException
DataAccessException - if the object with that id is not foundList<T> findByCriteria(S searchCriteria)
searchCriteria -
int count(S searchCriteria)
searchCriteria -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||