public abstract class SearchEntityDescriptor extends Object
| Constructor and Description |
|---|
SearchEntityDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
FilterOption |
constructFilterOption(SearchFilter filter,
FieldDescriptor fieldDescriptor) |
protected Serializable |
convertFilterValue(String filterField,
Serializable filterValue)
Override this method to have specific conversion behavior from client filter value to server filter value .
|
protected abstract Map<Class<? extends PersistentObject>,Set<String>> |
getAllFields() |
FilterOption |
getEntityFilter(SearchFilter filter) |
protected abstract Map<String,FieldDescriptor> |
getEntityKeys() |
OrderByOption |
getEntityOrder(Sort sort) |
SearchFields |
getEntitySearchTerm(String searchString) |
public FilterOption getEntityFilter(SearchFilter filter)
public OrderByOption getEntityOrder(Sort sort) throws SBonitaReadException
SBonitaReadExceptionpublic SearchFields getEntitySearchTerm(String searchString)
protected abstract Map<String,FieldDescriptor> getEntityKeys()
protected abstract Map<Class<? extends PersistentObject>,Set<String>> getAllFields()
protected Serializable convertFilterValue(String filterField, Serializable filterValue)
filterField - The field to filterfilterValue - The initial valuepublic FilterOption constructFilterOption(SearchFilter filter, FieldDescriptor fieldDescriptor)
Copyright © 2018 Bonitasoft S.A.. All rights reserved.