Class LookupDaoProxy

java.lang.Object
org.kuali.rice.krad.dao.proxy.LookupDaoProxy
All Implemented Interfaces:
LookupDao

@Transactional public class LookupDaoProxy extends Object implements LookupDao
  • Constructor Details

    • LookupDaoProxy

      public LookupDaoProxy()
  • Method Details

    • setLookupDaoOjb

      public void setLookupDaoOjb(LookupDao lookupDaoOjb)
    • createCriteria

      public boolean createCriteria(Object example, String searchValue, String propertyName, Object criteria)
      Description copied from interface: LookupDao
      Create OJB criteria based on business object, search field and value
      Specified by:
      createCriteria in interface LookupDao
      Returns:
      true if the criteria is created successfully; otherwise, return false
      See Also:
    • createCriteria

      public boolean createCriteria(Object example, String searchValue, String propertyName, boolean caseInsensitive, boolean treatWildcardsAndOperatorsAsLiteral, Object criteria)
      Description copied from interface: LookupDao
      Create OJB criteria based on business object, search field and value
      Specified by:
      createCriteria in interface LookupDao
      Returns:
      true if the criteria is created successfully; otherwise, return false
      See Also:
      • invalid reference
        org.kuali.rice.krad.dao.LookupDao#createCriteria(java.lang.Object, java.lang.String, java.lang.String, boolean, java.lang.Object)
    • findCollectionBySearchHelper

      public Collection findCollectionBySearchHelper(Class businessObjectClass, Map formProps, boolean unbounded, boolean usePrimaryKeyValuesOnly)
      Since 2.3 This version of findCollectionBySearchHelper is needed for version compatibility. It allows executeSearch to behave the same way as it did prior to 2.3. In the LookupDao, the value for searchResultsLimit will be retrieved from the KNS version of LookupUtils in the LookupDao.
      Specified by:
      findCollectionBySearchHelper in interface LookupDao
      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
      See Also:
    • findCollectionBySearchHelper

      public Collection findCollectionBySearchHelper(Class businessObjectClass, Map formProps, boolean unbounded, boolean usePrimaryKeyValuesOnly, Integer searchResultsLimit)
      Description copied from interface: LookupDao
      Retrieves a collection of objects for the businessObjectClass based on the other information passed into the method.
      Specified by:
      findCollectionBySearchHelper in interface LookupDao
      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
      See Also:
    • findCountByMap

      public Long findCountByMap(Object example, Map formProps)
      Description copied from interface: LookupDao
      Returns a count of objects based on the given search parameters.
      Specified by:
      findCountByMap in interface LookupDao
      Returns:
      Long returned from the search
      See Also:
    • findObjectByMap

      public <T> T findObjectByMap(Class<T> type, Map<String,String> formProps)
      Description copied from interface: LookupDao
      Retrieves a Object based on the search criteria, which should uniquely identify a record.
      Specified by:
      findObjectByMap in interface LookupDao
      Returns:
      Object returned from the search