public class LookupServiceImpl extends Object implements LookupService
Constructor and Description |
---|
LookupServiceImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
allPrimaryKeyValuesPresentAndNotWildcard(Class<?> boClass,
Map<String,String> formProps) |
<T> Collection<T> |
findCollectionBySearch(Class<T> type,
Map<String,String> formProps)
Deprecated.
|
<T> Collection<T> |
findCollectionBySearchHelper(Class<T> type,
Map<String,String> formProps,
boolean unbounded)
Deprecated.
|
<T> Collection<T> |
findCollectionBySearchHelper(Class<T> type,
Map<String,String> formProps,
boolean unbounded,
Integer searchResultsLimit)
Deprecated.
|
<T> Collection<T> |
findCollectionBySearchHelper(Class<T> type,
Map<String,String> formProps,
List<String> wildcardAsLiteralPropertyNames,
boolean unbounded,
Integer searchResultsLimit)
Returns a collection of objects based on the given search parameters.
|
<T> Collection<T> |
findCollectionBySearchUnbounded(Class<T> example,
Map<String,String> formProps)
Deprecated.
|
<T> T |
findObjectBySearch(Class<T> type,
Map<String,String> formProps)
Retrieves an Object based on the search criteria, which should uniquely
identify a record.
|
ConfigurationService |
getKualiConfigurationService() |
LegacyDataAdapter |
getLegacyDataAdapter() |
void |
setKualiConfigurationService(ConfigurationService kualiConfigurationService) |
void |
setLegacyDataAdapter(LegacyDataAdapter legacyDataAdapter) |
public LookupServiceImpl()
@Deprecated public <T> Collection<T> findCollectionBySearchUnbounded(Class<T> example, Map<String,String> formProps)
LookupService
findCollectionBySearchUnbounded
in interface LookupService
example
- the type of the object for which to searchformProps
- a map of attributes against which to query@Deprecated public <T> Collection<T> findCollectionBySearch(Class<T> type, Map<String,String> formProps)
LookupService
findCollectionBySearch
in interface LookupService
@Deprecated public <T> Collection<T> findCollectionBySearchHelper(Class<T> type, Map<String,String> formProps, boolean unbounded)
LookupService
findCollectionBySearchHelper
in interface LookupService
@Deprecated public <T> Collection<T> findCollectionBySearchHelper(Class<T> type, Map<String,String> formProps, boolean unbounded, Integer searchResultsLimit)
findCollectionBySearchHelper
in interface LookupService
type
- class name of the data object on which the lookup is performedformProps
- Map of search criteria properties obtained from the lookup formunbounded
- determines if search limit usedsearchResultsLimit
- search limit valuepublic <T> Collection<T> findCollectionBySearchHelper(Class<T> type, Map<String,String> formProps, List<String> wildcardAsLiteralPropertyNames, boolean unbounded, Integer searchResultsLimit)
LookupService
This version of findCollectionBySearchHelper further isolates the UIFramework from the LookupService and should be used instead of the deprecated version.
findCollectionBySearchHelper
in interface LookupService
type
- class name of the data object on which the lookup is performedformProps
- Map of search criteria properties obtained from the lookup formwildcardAsLiteralPropertyNames
- List of property names with wildcards disabledunbounded
- determines if search limit usedsearchResultsLimit
- search limit valuepublic <T> T findObjectBySearch(Class<T> type, Map<String,String> formProps)
LookupService
findObjectBySearch
in interface LookupService
public boolean allPrimaryKeyValuesPresentAndNotWildcard(Class<?> boClass, Map<String,String> formProps)
allPrimaryKeyValuesPresentAndNotWildcard
in interface LookupService
public ConfigurationService getKualiConfigurationService()
public void setKualiConfigurationService(ConfigurationService kualiConfigurationService)
public LegacyDataAdapter getLegacyDataAdapter()
public void setLegacyDataAdapter(LegacyDataAdapter legacyDataAdapter)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.