Interface CriteriaLookupService

All Known Implementing Classes:
CriteriaLookupServiceImpl

@Deprecated public interface CriteriaLookupService
Deprecated.
use new KRAD Data framework DataObjectService
  • Method Details

    • lookup

      <T> GenericQueryResults<T> lookup(Class<T> queryClass, QueryByCriteria criteria)
      Deprecated.
      Looks up a type based on a query criteria.
      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.
      Throws:
      IllegalArgumentException - if the criteria is null
    • lookup

      <T> GenericQueryResults<T> lookup(Class<T> queryClass, QueryByCriteria criteria, LookupCustomizer<T> customizer)
      Deprecated.
      Looks up a type based on a query criteria.
      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.
      Throws:
      IllegalArgumentException - if the criteria is null