public interface SearchService
| Modifier and Type | Method and Description |
|---|---|
SearchParameterDescriptor |
getSearchDescriptor(PropertyDescriptor propDescr)
Gets the search descriptor for the given property descriptor
SearchParameterDescriptor contains the list
of Operator objects. |
SearchParameterDescriptor |
getSearchDescriptor(PropertyDescriptor propertyDescriptor,
boolean simpleSearch)
Gets the search descriptor for the given property descriptor
SearchParameterDescriptor contains the list
of Operator objects. |
SearchProvider |
getSearchProvider()
Gets the current search provider of the service implementation.
|
SearchType |
getSearchType(ObjectTemplate objectTemplate)
Gets the search type for the given object template.
|
SearchType |
getSearchType(ObjectType objectType)
Gets the search type for given object type.
|
SearchType |
getSearchType(java.lang.String objectTemplateCode)
Gets the search type for the given object template code.
|
boolean |
isSortable(PropertyDescriptor propDescr)
Checks if given property is sortable, so it can later be used to sort by.
|
SearchType getSearchType(ObjectType objectType)
SearchType and in this case it
should be just returned.objectType - the object type to look search type forSearchType getSearchType(ObjectTemplate objectTemplate)
objectTemplate - the object template to look search type forSearchType getSearchType(java.lang.String objectTemplateCode)
objectTemplateCode - the object template code to look search type forboolean isSortable(PropertyDescriptor propDescr)
propDescr - the property descriptor to check for beeing sortableSearchParameterDescriptor getSearchDescriptor(PropertyDescriptor propDescr)
SearchParameterDescriptor contains the list
of Operator objects.propDescr - the property descriptor to create search parameter descriptorSearchParameterDescriptor getSearchDescriptor(PropertyDescriptor propertyDescriptor, boolean simpleSearch)
SearchParameterDescriptor contains the list
of Operator objects.propertyDescriptor - the property descriptor to create search parameter descriptorsimpleSearch - the simple search attribute that will be set on the result objectSearchProvider getSearchProvider()
Copyright © 2018 SAP SE. All Rights Reserved.