org.kuali.rice.krad.service.impl
Class LookupServiceImpl

java.lang.Object
  extended by org.kuali.rice.krad.service.impl.LookupServiceImpl
All Implemented Interfaces:
LookupService

public class LookupServiceImpl
extends Object
implements LookupService

Service implementation for the Lookup structure. It Provides a generic search mechanism against Business Objects. This is the default implementation, that is delivered with Kuali.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
LookupServiceImpl()
           
 
Method Summary
 boolean allPrimaryKeyValuesPresentAndNotWildcard(Class<?> boClass, Map<String,String> formProps)
           
<T> Collection<T>
findCollectionBySearch(Class<T> example, Map<String,String> formProps)
          Returns a collection of objects based on the given search parameters.
<T> Collection<T>
findCollectionBySearchHelper(Class<T> example, Map<String,String> formProps, boolean unbounded)
           
<T> Collection<T>
findCollectionBySearchUnbounded(Class<T> example, Map<String,String> formProps)
          Returns a collection of objects based on the given search parameters.
<T> T
findObjectBySearch(Class<T> example, Map<String,String> formProps)
          Retrieves a Object based on the search criteria, which should uniquely identify a record.
 ConfigurationService getKualiConfigurationService()
           
 LookupDao getLookupDao()
           
 void setKualiConfigurationService(ConfigurationService kualiConfigurationService)
           
 void setLookupDao(LookupDao lookupDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupServiceImpl

public LookupServiceImpl()
Method Detail

findCollectionBySearchUnbounded

public <T> Collection<T> findCollectionBySearchUnbounded(Class<T> example,
                                                         Map<String,String> formProps)
Description copied from interface: LookupService
Returns a collection of objects based on the given search parameters. Will not limit results, so the returned Collection could be huge. o

Specified by:
findCollectionBySearchUnbounded in interface LookupService
Returns:

findCollectionBySearch

public <T> Collection<T> findCollectionBySearch(Class<T> example,
                                                Map<String,String> formProps)
Returns a collection of objects based on the given search parameters.

Specified by:
findCollectionBySearch in interface LookupService
Returns:
Collection returned from the search

findCollectionBySearchHelper

public <T> Collection<T> findCollectionBySearchHelper(Class<T> example,
                                                      Map<String,String> formProps,
                                                      boolean unbounded)
Specified by:
findCollectionBySearchHelper in interface LookupService

findObjectBySearch

public <T> T findObjectBySearch(Class<T> example,
                                Map<String,String> formProps)
Retrieves a Object based on the search criteria, which should uniquely identify a record.

Specified by:
findObjectBySearch in interface LookupService
Returns:
Object returned from the search

allPrimaryKeyValuesPresentAndNotWildcard

public boolean allPrimaryKeyValuesPresentAndNotWildcard(Class<?> boClass,
                                                        Map<String,String> formProps)
Specified by:
allPrimaryKeyValuesPresentAndNotWildcard in interface LookupService

getLookupDao

public LookupDao getLookupDao()
Returns:
Returns the lookupDao.

setLookupDao

public void setLookupDao(LookupDao lookupDao)
Parameters:
lookupDao - The lookupDao to set.

getKualiConfigurationService

public ConfigurationService getKualiConfigurationService()

setKualiConfigurationService

public void setKualiConfigurationService(ConfigurationService kualiConfigurationService)


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.