| Constructor and Description |
|---|
Query(Collection<SearchType> types,
String simpleText,
int start,
int count) |
public Query(Collection<SearchType> types, String simpleText, int start, int count)
public void setSelectedTypes(Collection<SearchType> types)
public int getStart()
public int getCount()
public String getSimpleText()
public void setStart(int start)
start - the start to setpublic void setCount(int count)
count - the count to setpublic void setExcludedItems(Collection<TypedObject> excludedItems)
excludedItems - the items to excludegetExcludedItems(),
clearExcludedItems()public Collection<TypedObject> getExcludedItems()
setExcludedItems(Collection),
clearExcludedItems()public void clearExcludedItems()
setExcludedItems(Collection),
getExcludedItems()public void setSimpleText(String simpleText)
public Set<FacetValue> getSelectedFacetValues()
public void setSelectedFacetValues(Collection<FacetValue> selectedFacetValues)
public void addSelectedFacetValue(FacetValue value)
public void removeSelectedFacetValue(FacetValue value)
public List<SearchParameterValue> getParameterValues()
public List<List<SearchParameterValue>> getParameterOrValues()
public void setParameterValues(List<SearchParameterValue> parameterValues)
public void addParameterValue(SearchParameterValue value)
public void addParameterOrValues(List<SearchParameterValue> orValues)
public void setParameterOrValues(List<List<SearchParameterValue>> orValues)
public void clearParameterValues()
public void clearParameterOrValues()
public void removeParameterValue(SearchParameterValue value)
public Map<PropertyDescriptor,Boolean> getSortCriteria()
public void setSortCriteria(Map<PropertyDescriptor,Boolean> criteria)
public void addSortCriterion(PropertyDescriptor sortProperty, boolean asc)
public void removeSortCriterion(PropertyDescriptor sortProperty)
public boolean isOrMode()
public void setOrMode(boolean orMode)
orMode - if true parameter are OR-connected, otherwise they're AND-connectedpublic Set<SearchType> getSelectedTypes()
public Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic boolean isExcludeSubTypes()
public void setExcludeSubTypes(boolean excludeSubTypes)
public boolean isNeedTotalCount()
public void setNeedTotalCount(boolean needTotalCount)
public void setSimpleSearch(boolean simpleSearch)
public boolean isSimpleSearch()
Copyright © 2017 SAP SE. All Rights Reserved.