|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGenericDaoFactory
Abstract Factory for creating instances of IGenericReadOnlyDao
and
IGenericDao
types
Method Summary | ||
---|---|---|
|
createDao(Class<Element> aPersistentClass)
Returns the Generic DAO implementation corresponding to the given model class type. |
|
|
createReadOnlyDao(Class<Element> aPersistentClass)
Returns the Generic Read-Only DAO implementation corresponding to the given model class type. |
Methods inherited from interface org.perfectjpattern.jee.api.integration.dao.IBaseDaoFactory |
---|
setDaoSessionStrategy, setDaoTransactionStrategy, shutdown |
Method Detail |
---|
<Id extends Serializable,Element> IGenericReadOnlyDao<Id,Element> createReadOnlyDao(Class<Element> aPersistentClass) throws IllegalArgumentException
createReadOnlyDao
in interface IBaseDaoFactory
Id
- Id typeElement
- Element typeaPersistentClass
- Data model class type
IllegalArgumentException
- 'aPersistentClass' must not be null
IllegalArgumentException
- 'aPersistentClass' must be a class type<Id extends Serializable,Element> IGenericDao<Id,Element> createDao(Class<Element> aPersistentClass) throws IllegalArgumentException
createDao
in interface IBaseDaoFactory
Id
- Id typeElement
- Element typeaPersistentClass
- Data model class type
IllegalArgumentException
- 'aPersistentClass' must not be null
IllegalArgumentException
- 'aPersistentClass' must be a class type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |