public class QueryCriteria extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
QueryCriteria.DATE_RANGE_SELECTED
The Enum DATE_RANGE_SELECTED.
|
static class |
QueryCriteria.DatetimeRange
The Class DatetimeRange.
|
class |
QueryCriteria.QueryProperty
The Class QueryProperty.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ALL_PROPERTY_SCOPE
The Constant ALL_PROPERTY_SCOPE.
|
| Constructor and Description |
|---|
QueryCriteria() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAuthors()
Gets the authors.
|
String[] |
getCategoryUUIDs()
Gets the category uui ds.
|
String[] |
getContentTypes()
Gets the content types.
|
QueryCriteria.DatetimeRange |
getCreatedDateRange()
Gets the created date range.
|
QueryCriteria.DATE_RANGE_SELECTED |
getDateRangeSelected()
Gets the date range selected.
|
QueryCriteria.DatetimeRange |
getEndPublicationDateRange()
Gets the end publication date range.
|
String[] |
getFulltextSearchProperty()
Gets the fulltext search property.
|
String |
getKeyword()
Gets the keyword.
|
QueryCriteria.DatetimeRange |
getLastModifiedDateRange()
Gets the last modified date range.
|
long |
getLimit() |
String[] |
getMimeTypes()
Gets the mime types.
|
String[] |
getNodeTypes() |
long |
getOffset() |
String |
getOrderBy() |
String |
getPageMode() |
QueryCriteria.QueryProperty[] |
getQueryMetadatas()
Gets the query metadatas.
|
String |
getSearchPath() |
String |
getSiteName()
Gets the site name.
|
String |
getSortBy() |
QueryCriteria.DatetimeRange |
getStartPublicationDateRange()
Gets the start publication date range.
|
String[] |
getTagUUIDs()
Gets the tag uui ds.
|
boolean |
isFulltextSearch()
Checks if is fulltext search.
|
boolean |
isFuzzySearch()
Checks if is fuzzy search.
|
boolean |
isLiveMode()
Checks if is live mode.
|
boolean |
isSearchDocument()
Checks if is search document.
|
boolean |
isSearchWebContent()
Checks if is search web content.
|
boolean |
isSearchWebpage()
Checks if is search webpage.
|
void |
setAuthors(String[] authors)
Sets the authors.
|
void |
setCategoryUUIDs(String[] categoryUUIDs)
Sets the category uui ds.
|
void |
setContentTypes(String[] contentTypes)
Sets the content types.
|
void |
setCreatedDateRange(QueryCriteria.DatetimeRange createdDateRange)
Sets the created date range.
|
void |
setDateRangeSelected(QueryCriteria.DATE_RANGE_SELECTED dateRangeSelected)
Sets the date range selected.
|
void |
setEndPublicationDateRange(QueryCriteria.DatetimeRange endPublicationDateRange)
Sets the end publication date range.
|
void |
setFulltextSearch(boolean fulltextSearch)
Sets the fulltext search.
|
void |
setFulltextSearchProperty(String[] fulltextSearchProperty)
Sets the fulltext search property.
|
void |
setFuzzySearch(boolean fuzzySearch)
Sets the fuzzy search.
|
void |
setKeyword(String s)
Sets the keyword.
|
void |
setLastModifiedDateRange(QueryCriteria.DatetimeRange lastModifiedDateRange)
Sets the last modified date range.
|
void |
setLimit(long value) |
void |
setLiveMode(boolean isLiveMode)
Sets the live mode.
|
void |
setMimeTypes(String[] mimeTypes)
Sets the mime types.
|
void |
setNodeTypes(String[] nodeTypes) |
void |
setOffset(long offset) |
void |
setOrderBy(String value) |
void |
setPageMode(String pageMode) |
void |
setQueryMetadatas(QueryCriteria.QueryProperty[] queryMetadatas)
Sets the query metadatas.
|
void |
setSearchDocument(boolean searchDocument)
Sets the search document.
|
void |
setSearchPath(String value) |
void |
setSearchWebContent(boolean searchWebContent)
Sets the search web content.
|
void |
setSearchWebpage(boolean searchWebpage)
Sets the search webpage.
|
void |
setSiteName(String siteName)
Sets the site name.
|
void |
setSortBy(String value) |
void |
setStartPublicationDateRange(QueryCriteria.DatetimeRange startPublicationDateRange)
Sets the start publication date range.
|
void |
setTagUUIDs(String[] tagUUIDs)
Sets the tag uui ds.
|
public static final String ALL_PROPERTY_SCOPE
public String getPageMode()
public void setPageMode(String pageMode)
public long getOffset()
public void setOffset(long offset)
public long getLimit()
public void setLimit(long value)
public String getSortBy()
public void setSortBy(String value)
public String getOrderBy()
public void setOrderBy(String value)
public String getSearchPath()
public void setSearchPath(String value)
public boolean isLiveMode()
public void setLiveMode(boolean isLiveMode)
isLiveMode - the new live modepublic String getSiteName()
public void setSiteName(String siteName)
siteName - the new site namepublic String[] getAuthors()
public void setAuthors(String[] authors)
authors - the new authorspublic String[] getContentTypes()
public void setContentTypes(String[] contentTypes)
contentTypes - the new content typespublic String[] getMimeTypes()
public void setMimeTypes(String[] mimeTypes)
mimeTypes - the new mime typespublic String[] getNodeTypes()
public void setNodeTypes(String[] nodeTypes)
public QueryCriteria.DatetimeRange getStartPublicationDateRange()
public void setStartPublicationDateRange(QueryCriteria.DatetimeRange startPublicationDateRange)
startPublicationDateRange - the new start publication date rangepublic QueryCriteria.DatetimeRange getEndPublicationDateRange()
public void setEndPublicationDateRange(QueryCriteria.DatetimeRange endPublicationDateRange)
endPublicationDateRange - the new end publication date rangepublic QueryCriteria.DatetimeRange getCreatedDateRange()
public void setCreatedDateRange(QueryCriteria.DatetimeRange createdDateRange)
createdDateRange - the new created date rangepublic QueryCriteria.DatetimeRange getLastModifiedDateRange()
public void setLastModifiedDateRange(QueryCriteria.DatetimeRange lastModifiedDateRange)
lastModifiedDateRange - the new last modified date rangepublic boolean isFulltextSearch()
public boolean isFuzzySearch()
public void setFulltextSearch(boolean fulltextSearch)
fulltextSearch - the new fulltext searchpublic void setFuzzySearch(boolean fuzzySearch)
fuzzySearch - the new fuzzy searchpublic String getKeyword()
public void setKeyword(String s)
s - the new keywordpublic boolean isSearchWebpage()
public void setSearchWebpage(boolean searchWebpage)
searchWebpage - the new search webpagepublic boolean isSearchDocument()
public void setSearchDocument(boolean searchDocument)
searchDocument - the new search documentpublic boolean isSearchWebContent()
public void setSearchWebContent(boolean searchWebContent)
searchWebContent - the new search web contentpublic QueryCriteria.DATE_RANGE_SELECTED getDateRangeSelected()
public void setDateRangeSelected(QueryCriteria.DATE_RANGE_SELECTED dateRangeSelected)
dateRangeSelected - the new date range selectedpublic String[] getCategoryUUIDs()
public void setCategoryUUIDs(String[] categoryUUIDs)
categoryUUIDs - the new category uui dspublic String[] getTagUUIDs()
public void setTagUUIDs(String[] tagUUIDs)
tagUUIDs - the new tag uui dspublic QueryCriteria.QueryProperty[] getQueryMetadatas()
public void setQueryMetadatas(QueryCriteria.QueryProperty[] queryMetadatas)
queryMetadatas - the new query metadataspublic String[] getFulltextSearchProperty()
public void setFulltextSearchProperty(String[] fulltextSearchProperty)
fulltextSearchProperty - the new fulltext search propertyCopyright © 2003–2019 eXo Platform SAS. All rights reserved.