org.kuali.rice.krad.criteria
Class CriteriaLookupDaoOjb

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
          extended by org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
              extended by org.kuali.rice.krad.criteria.CriteriaLookupDaoOjb
All Implemented Interfaces:
PlatformAwareDao, CriteriaLookupDao, org.springframework.beans.factory.InitializingBean

public class CriteriaLookupDaoOjb
extends PlatformAwareDaoBaseOjb
implements CriteriaLookupDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
CriteriaLookupDaoOjb()
           
 
Method Summary
<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, setDbPlatform
 
Methods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplate
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CriteriaLookupDaoOjb

public CriteriaLookupDaoOjb()
Method Detail

lookup

public <T> GenericQueryResults<T> lookup(Class<T> queryClass,
                                         QueryByCriteria criteria)
Description copied from interface: CriteriaLookupDao
Looks up a type based on a query criteria.

Specified by:
lookup in interface CriteriaLookupDao
Type Parameters:
T - the type that is being looked up.
Parameters:
queryClass - the class to lookup
criteria - 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: CriteriaLookupDao
Looks up a type based on a query criteria.

Specified by:
lookup in interface CriteriaLookupDao
Type Parameters:
T - the type that is being looked up.
Parameters:
queryClass - the class to lookup
criteria - the criteria to lookup against. cannot be null.
Returns:
the results. will never be null.


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.