|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LookupService
Provides search capabilities for the lookup framework. This service is primarily intended for internal use by the
lookup framework. Client code should preferably invoke DataObjectService.findMatching(Class, org.kuali.rice.core.api.criteria.QueryByCriteria)
passing the appropriate criteria.
Method Summary | ||
---|---|---|
boolean |
allPrimaryKeyValuesPresentAndNotWildcard(Class<?> boClass,
Map<String,String> formProps)
|
|
|
findCollectionBySearch(Class<T> type,
Map<String,String> formProps)
Returns a collection of objects based on the given search parameters. |
|
|
findCollectionBySearchHelper(Class<T> type,
Map<String,String> formProperties,
boolean unbounded)
This version of findCollectionBySearchHelper is needed for version compatibility. |
|
|
findCollectionBySearchHelper(Class<T> type,
Map<String,String> formProperties,
boolean unbounded,
Integer searchResultsLimit)
Deprecated. please use findCollectionBySearchHelper(Class, java.util.Map, java.util.List, boolean, Integer) instead |
|
|
findCollectionBySearchHelper(Class<T> type,
Map<String,String> formProperties,
List<String> wildcardAsLiteralPropertyNames,
boolean unbounded,
Integer searchResultsLimit)
Returns a collection of objects based on the given search parameters. |
|
|
findCollectionBySearchUnbounded(Class<T> type,
Map<String,String> formProps)
Returns a collection of objects based on the given search parameters. |
|
|
findObjectBySearch(Class<T> type,
Map<String,String> formProps)
Retrieves an Object based on the search criteria, which should uniquely identify a record. |
Method Detail |
---|
<T> Collection<T> findCollectionBySearchUnbounded(Class<T> type, Map<String,String> formProps)
type
- the type of the object for which to searchformProps
- a map of attributes against which to query
<T> Collection<T> findCollectionBySearch(Class<T> type, Map<String,String> formProps)
<T> Collection<T> findCollectionBySearchHelper(Class<T> type, Map<String,String> formProperties, boolean unbounded)
@Deprecated <T> Collection<T> findCollectionBySearchHelper(Class<T> type, Map<String,String> formProperties, boolean unbounded, Integer searchResultsLimit)
findCollectionBySearchHelper(Class, java.util.Map, java.util.List, boolean, Integer)
instead
type
- class name of the data object on which the lookup is performedformProperties
- Map of search criteria properties obtained from the lookup formunbounded
- determines if search limit usedsearchResultsLimit
- search limit value
<T> Collection<T> findCollectionBySearchHelper(Class<T> type, Map<String,String> formProperties, List<String> wildcardAsLiteralPropertyNames, boolean unbounded, Integer searchResultsLimit)
This version of findCollectionBySearchHelper further isolates the UIFramework from the LookupService and should be used instead of the deprecated version.
type
- class name of the data object on which the lookup is performedformProperties
- Map of search criteria properties obtained from the lookup formwildcardAsLiteralPropertyNames
- List of property names with wildcards disabledunbounded
- determines if search limit usedsearchResultsLimit
- search limit value
<T> T findObjectBySearch(Class<T> type, Map<String,String> formProps)
boolean allPrimaryKeyValuesPresentAndNotWildcard(Class<?> boClass, Map<String,String> formProps)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |