Interface LookupDao

All Known Implementing Classes:
LookupDaoOjb, LookupDaoProxy

@Deprecated public interface LookupDao
Deprecated.
use new KRAD Data framework DataObjectService
Defines basic methods that Lookup Dao's must provide
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Method Details

    • findCollectionBySearchHelper

      @Deprecated <T> Collection<T> findCollectionBySearchHelper(Class<T> businessObjectClass, Map<String,String> formProps, boolean unbounded, boolean usePrimaryKeyValuesOnly)
      Deprecated.
      Retrieves a collection of objects for the businessObjectClass based on the other information passed into the method.
      Parameters:
      businessObjectClass - - business object being queried on
      formProps - - map of form properties
      unbounded - - indicates if the search should be unbounded
      usePrimaryKeyValuesOnly - - indicates if only primary key values should be used
      Returns:
      Object returned from the search
    • findCollectionBySearchHelper

      @Deprecated <T> Collection<T> findCollectionBySearchHelper(Class<T> businessObjectClass, Map<String,String> formProps, boolean unbounded, boolean usePrimaryKeyValuesOnly, Integer searchResultsLimit)
      Deprecated.
      Retrieves a collection of objects for the businessObjectClass based on the other information passed into the method.
      Parameters:
      businessObjectClass - - business object being queried on
      formProps - - map of form properties
      unbounded - - indicates if the search should be unbounded
      usePrimaryKeyValuesOnly - - indicates if only primary key values should be used
      searchResultsLimit - - used to limit the number of items returned
      Returns:
      Object returned from the search
    • findObjectByMap

      @Deprecated <T> T findObjectByMap(Class<T> type, Map<String,String> formProps)
      Deprecated.
      Retrieves a Object based on the search criteria, which should uniquely identify a record.
      Returns:
      Object returned from the search
    • findCountByMap

      Long findCountByMap(Object example, Map<String,String> formProps)
      Deprecated.
      Returns a count of objects based on the given search parameters.
      Returns:
      Long returned from the search
    • createCriteria

      @Deprecated boolean createCriteria(Object example, String searchValue, String propertyName, Object criteria)
      Deprecated.
      Create OJB criteria based on business object, search field and value
      Returns:
      true if the criteria is created successfully; otherwise, return false
    • createCriteria

      @Deprecated boolean createCriteria(Object example, String searchValue, String propertyName, boolean caseInsensitive, boolean treatWildcardsAndOperatorsAsLiteral, Object criteria)
      Deprecated.
      Create OJB criteria based on business object, search field and value
      Returns:
      true if the criteria is created successfully; otherwise, return false