Package org.kuali.rice.krad.criteria
Class CriteriaLookupDaoOjb
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
org.kuali.rice.krad.criteria.CriteriaLookupDaoOjb
- All Implemented Interfaces:
PlatformAwareDao,CriteriaLookupDao,org.springframework.beans.factory.InitializingBean
-
Field Summary
Fields inherited from class org.springframework.dao.support.DaoSupport
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> GenericQueryResults<T> lookup(Class<T> queryClass, QueryByCriteria criteria) Looks up a type based on a query criteria.<T> GenericQueryResults<T> lookup(Class<T> queryClass, QueryByCriteria criteria, LookupCustomizer<T> customizer) Looks up a type based on a query criteria.Methods inherited from class org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
getDbPlatform, setDbPlatformMethods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplateMethods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
-
Constructor Details
-
CriteriaLookupDaoOjb
public CriteriaLookupDaoOjb()
-
-
Method Details
-
lookup
Description copied from interface:CriteriaLookupDaoLooks up a type based on a query criteria.- Specified by:
lookupin interfaceCriteriaLookupDao- Type Parameters:
T- the type that is being looked up.- Parameters:
queryClass- the class to lookupcriteria- the criteria to lookup against. cannot be null.- Returns:
- the results. will never be null.
-
lookup
public <T> GenericQueryResults<T> lookup(Class<T> queryClass, QueryByCriteria criteria, LookupCustomizer<T> customizer) Description copied from interface:CriteriaLookupDaoLooks up a type based on a query criteria.- Specified by:
lookupin interfaceCriteriaLookupDao- Type Parameters:
T- the type that is being looked up.- Parameters:
queryClass- the class to lookupcriteria- the criteria to lookup against. cannot be null.- Returns:
- the results. will never be null.
-