public interface LookupCriteriaGenerator
Modifier and Type | Method and Description |
---|---|
QueryByCriteria.Builder |
createObjectCriteriaFromMap(Object example,
Map<String,String> formProps) |
QueryByCriteria.Builder |
generateCriteria(Class<?> type,
Map<String,String> formProps,
boolean usePrimaryKeysOnly)
Deprecated.
please use
generateCriteria(Class, java.util.Map, java.util.List, boolean) instead |
QueryByCriteria.Builder |
generateCriteria(Class<?> type,
Map<String,String> formProps,
List<String> wildcardAsLiteralPropertyNames,
boolean usePrimaryKeysOnly)
Generates QueryByCriteria for lookup search criteria obtained from the lookup form.
|
@Deprecated QueryByCriteria.Builder generateCriteria(Class<?> type, Map<String,String> formProps, boolean usePrimaryKeysOnly)
generateCriteria(Class, java.util.Map, java.util.List, boolean)
insteadtype
- formProps
- usePrimaryKeysOnly
- QueryByCriteria.Builder generateCriteria(Class<?> type, Map<String,String> formProps, List<String> wildcardAsLiteralPropertyNames, boolean usePrimaryKeysOnly)
This implementation better isolates the UIFramework from the lookup service.
type
- the class name of the object on which the lookup is performed.formProps
- a Map containing the form properties to be used as search criteria.wildcardAsLiteralPropertyNames
- list of properties that have wildcards disabled, any wildcard characters
are treated as literals.usePrimaryKeysOnly
- determines whether only primary keys are used in searchQueryByCriteria.Builder createObjectCriteriaFromMap(Object example, Map<String,String> formProps)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.