public class SearchParams extends Object
Java class for searchParams complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="searchParams"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="pageSize" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="searchConditions" type="{}searchCondition" maxOccurs="unbounded" minOccurs="0"/> <element name="searchResultFields" type="{}searchResultField" maxOccurs="unbounded" minOccurs="0"/> <element name="sortConditions" type="{}sortCondition" maxOccurs="unbounded" minOccurs="0"/> <element name="startIndex" type="{http://www.w3.org/2001/XMLSchema}int"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<FacetCondition> |
facetConditions |
protected TreeSet<String> |
facetFields |
protected int |
facetLimit |
protected int |
facetOffset |
protected String |
facetPrefix |
protected String |
facetSort |
protected int |
pageSize |
protected List<SearchCondition> |
searchConditions |
protected List<SearchResultField> |
searchResultFields |
protected List<SortCondition> |
sortConditions |
protected int |
startIndex |
Constructor and Description |
---|
SearchParams() |
Modifier and Type | Method and Description |
---|---|
SearchCondition |
buildSearchCondition(String searchScope,
SearchField searchField,
String operator) |
SearchField |
buildSearchField(String docType,
String fieldName,
String fieldValue) |
void |
buildSearchParams(SearchParams searchParams,
String docType) |
SearchResultField |
buildSearchResultField(String docType,
String fieldName) |
SortCondition |
buildSortCondition(String sortField,
String sortOrder) |
Object |
deserialize(String content) |
List<FacetCondition> |
getFacetConditions()
Gets the value of the facetCondtions property.
|
TreeSet<String> |
getFacetFields() |
int |
getFacetLimit() |
int |
getFacetOffset() |
String |
getFacetPrefix() |
String |
getFacetSort() |
int |
getPageSize()
Gets the value of the pageSize property.
|
List<SearchCondition> |
getSearchConditions()
Gets the value of the searchConditions property.
|
List<SearchResultField> |
getSearchResultFields()
Gets the value of the searchResultFields property.
|
List<SortCondition> |
getSortConditions()
Gets the value of the sortConditions property.
|
int |
getStartIndex()
Gets the value of the startIndex property.
|
String |
serialize(Object object) |
void |
setFacetLimit(int facetLimit) |
void |
setFacetOffset(int facetOffset) |
void |
setFacetPrefix(String facetPrefix) |
void |
setFacetSort(String facetSort) |
void |
setPageSize(int value)
Sets the value of the pageSize property.
|
void |
setStartIndex(int value)
Sets the value of the startIndex property.
|
protected int pageSize
protected List<FacetCondition> facetConditions
protected List<SearchCondition> searchConditions
protected List<SearchResultField> searchResultFields
protected List<SortCondition> sortConditions
protected TreeSet<String> facetFields
protected int startIndex
protected int facetLimit
protected String facetPrefix
protected int facetOffset
public SearchParams()
public int getFacetLimit()
public void setFacetLimit(int facetLimit)
public List<FacetCondition> getFacetConditions()
set
method for the facetCondtions property.
For example, to add a new item, do as follows:
getFacetCondtions().add(newItem);Objects of the following type(s) are allowed in the list
FacetCondition
public int getPageSize()
public void setPageSize(int value)
public List<SearchCondition> getSearchConditions()
set
method for the searchConditions property.
For example, to add a new item, do as follows:
getSearchConditions().add(newItem);Objects of the following type(s) are allowed in the list
SearchCondition
public List<SearchResultField> getSearchResultFields()
set
method for the searchResultFields property.
For example, to add a new item, do as follows:
getSearchResultFields().add(newItem);Objects of the following type(s) are allowed in the list
SearchResultField
public List<SortCondition> getSortConditions()
set
method for the sortConditions property.
For example, to add a new item, do as follows:
getSortConditions().add(newItem);Objects of the following type(s) are allowed in the list
SortCondition
public TreeSet<String> getFacetFields()
public int getStartIndex()
public void setStartIndex(int value)
public String getFacetPrefix()
public void setFacetPrefix(String facetPrefix)
public String getFacetSort()
public void setFacetSort(String facetSort)
public int getFacetOffset()
public void setFacetOffset(int facetOffset)
public SearchCondition buildSearchCondition(String searchScope, SearchField searchField, String operator)
public SearchField buildSearchField(String docType, String fieldName, String fieldValue)
public SortCondition buildSortCondition(String sortField, String sortOrder)
public SearchResultField buildSearchResultField(String docType, String fieldName)
public Object deserialize(String content)
public void buildSearchParams(SearchParams searchParams, String docType)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.