public abstract class SearchEntityDescriptor
extends java.lang.Object
| Constructor and Description |
|---|
SearchEntityDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
FilterOption |
constructFilterOption(org.bonitasoft.engine.search.impl.SearchFilter filter,
FieldDescriptor fieldDescriptor) |
protected java.io.Serializable |
convertFilterValue(java.lang.String filterField,
java.io.Serializable filterValue)
Override this method to have specific conversion behavior from client filter value to server filter value .
|
protected abstract java.util.Map<java.lang.Class<? extends PersistentObject>,java.util.Set<java.lang.String>> |
getAllFields() |
FilterOption |
getEntityFilter(org.bonitasoft.engine.search.impl.SearchFilter filter) |
protected abstract java.util.Map<java.lang.String,FieldDescriptor> |
getEntityKeys() |
OrderByOption |
getEntityOrder(org.bonitasoft.engine.search.Sort sort) |
SearchFields |
getEntitySearchTerm(java.lang.String searchString) |
public FilterOption getEntityFilter(org.bonitasoft.engine.search.impl.SearchFilter filter)
public OrderByOption getEntityOrder(org.bonitasoft.engine.search.Sort sort) throws SBonitaReadException
SBonitaReadExceptionpublic SearchFields getEntitySearchTerm(java.lang.String searchString)
protected abstract java.util.Map<java.lang.String,FieldDescriptor> getEntityKeys()
protected abstract java.util.Map<java.lang.Class<? extends PersistentObject>,java.util.Set<java.lang.String>> getAllFields()
protected java.io.Serializable convertFilterValue(java.lang.String filterField,
java.io.Serializable filterValue)
filterField - The field to filterfilterValue - The initial valuepublic FilterOption constructFilterOption(org.bonitasoft.engine.search.impl.SearchFilter filter, FieldDescriptor fieldDescriptor)