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

public class CriteriaLookupDaoOjb extends PlatformAwareDaoBaseOjb implements CriteriaLookupDao
  • Constructor Details

    • CriteriaLookupDaoOjb

      public CriteriaLookupDaoOjb()
  • Method Details

    • 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.