org.kuali.student.r2.common.criteria.impl
Class CriteriaLookupServiceImpl

java.lang.Object
  extended by org.kuali.student.r2.common.criteria.impl.CriteriaLookupServiceImpl
All Implemented Interfaces:
CriteriaLookupService

public class CriteriaLookupServiceImpl
extends Object
implements CriteriaLookupService


Constructor Summary
CriteriaLookupServiceImpl()
           
 
Method Summary
 List<LookupCustomizer.PredicateTransform> getAdditionalTransforms()
           
 List<LookupCustomizer.PredicateTransform> getPredicateTransforms()
           
<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.
 void setAdditionalTransforms(List<LookupCustomizer.PredicateTransform> additionalTransforms)
           
 void setCriteriaLookupDao(CriteriaLookupDaoJpaImpl criteriaLookupDao)
           
 void setPredicateTransforms(List<LookupCustomizer.PredicateTransform> predicateTransforms)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.student.r2.common.criteria.CriteriaLookupService
genericLookup, genericLookup, lookupIds, lookupIds
 

Constructor Detail

CriteriaLookupServiceImpl

public CriteriaLookupServiceImpl()
Method Detail

getAdditionalTransforms

public List<LookupCustomizer.PredicateTransform> getAdditionalTransforms()

setAdditionalTransforms

public void setAdditionalTransforms(List<LookupCustomizer.PredicateTransform> additionalTransforms)

getPredicateTransforms

public List<LookupCustomizer.PredicateTransform> getPredicateTransforms()

setPredicateTransforms

public void setPredicateTransforms(List<LookupCustomizer.PredicateTransform> predicateTransforms)

setCriteriaLookupDao

public void setCriteriaLookupDao(CriteriaLookupDaoJpaImpl criteriaLookupDao)

lookup

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

Specified by:
lookup in interface CriteriaLookupService
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: CriteriaLookupService
Looks up a type based on a query criteria.

Specified by:
lookup in interface CriteriaLookupService
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 © 2004-2012 The Kuali Foundation. All Rights Reserved.