org.exoplatform.services.wcm.search
Class QueryCriteria

java.lang.Object
  extended by org.exoplatform.services.wcm.search.QueryCriteria

public class QueryCriteria
extends java.lang.Object

Created by The eXo Platform SAS Author : Hoa Pham hoa.pham@exoplatform.com Oct 7, 2008


Nested Class Summary
static class QueryCriteria.DATE_RANGE_SELECTED
          The Enum DATE_RANGE_SELECTED.
static class QueryCriteria.DatetimeRange
          The Class DatetimeRange.
 class QueryCriteria.QueryProperty
          The Class QueryProperty.
 
Field Summary
static java.lang.String ALL_PROPERTY_SCOPE
          The Constant ALL_PROPERTY_SCOPE.
 
Constructor Summary
QueryCriteria()
           
 
Method Summary
 java.lang.String[] getAuthors()
          Gets the authors.
 java.lang.String[] getCategoryUUIDs()
          Gets the category uui ds.
 java.lang.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.
 java.lang.String getFulltextSearchProperty()
          Gets the fulltext search property.
 java.lang.String getKeyword()
          Gets the keyword.
 QueryCriteria.DatetimeRange getLastModifiedDateRange()
          Gets the last modified date range.
 java.lang.String[] getMimeTypes()
          Gets the mime types.
 QueryCriteria.QueryProperty[] getQueryMetadatas()
          Gets the query metadatas.
 java.lang.String getSiteName()
          Gets the site name.
 QueryCriteria.DatetimeRange getStartPublicationDateRange()
          Gets the start publication date range.
 java.lang.String[] getTagUUIDs()
          Gets the tag uui ds.
 boolean isFulltextSearch()
          Checks if is fulltext 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(java.lang.String[] authors)
          Sets the authors.
 void setCategoryUUIDs(java.lang.String[] categoryUUIDs)
          Sets the category uui ds.
 void setContentTypes(java.lang.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(java.lang.String fulltextSearchProperty)
          Sets the fulltext search property.
 void setKeyword(java.lang.String s)
          Sets the keyword.
 void setLastModifiedDateRange(QueryCriteria.DatetimeRange lastModifiedDateRange)
          Sets the last modified date range.
 void setLiveMode(boolean isLiveMode)
          Sets the live mode.
 void setMimeTypes(java.lang.String[] mimeTypes)
          Sets the mime types.
 void setQueryMetadatas(QueryCriteria.QueryProperty[] queryMetadatas)
          Sets the query metadatas.
 void setSearchDocument(boolean searchDocument)
          Sets the search document.
 void setSearchWebContent(boolean searchWebContent)
          Sets the search web content.
 void setSearchWebpage(boolean searchWebpage)
          Sets the search webpage.
 void setSiteName(java.lang.String siteName)
          Sets the site name.
 void setStartPublicationDateRange(QueryCriteria.DatetimeRange startPublicationDateRange)
          Sets the start publication date range.
 void setTagUUIDs(java.lang.String[] tagUUIDs)
          Sets the tag uui ds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL_PROPERTY_SCOPE

public static final java.lang.String ALL_PROPERTY_SCOPE
The Constant ALL_PROPERTY_SCOPE.

See Also:
Constant Field Values
Constructor Detail

QueryCriteria

public QueryCriteria()
Method Detail

isLiveMode

public boolean isLiveMode()
Checks if is live mode.

Returns:
true, if is live mode

setLiveMode

public void setLiveMode(boolean isLiveMode)
Sets the live mode.

Parameters:
isLiveMode - the new live mode

getSiteName

public java.lang.String getSiteName()
Gets the site name.

Returns:
the site name

setSiteName

public void setSiteName(java.lang.String siteName)
Sets the site name.

Parameters:
siteName - the new site name

getAuthors

public java.lang.String[] getAuthors()
Gets the authors.

Returns:
the authors

setAuthors

public void setAuthors(java.lang.String[] authors)
Sets the authors.

Parameters:
authors - the new authors

getContentTypes

public java.lang.String[] getContentTypes()
Gets the content types.

Returns:
the content types

setContentTypes

public void setContentTypes(java.lang.String[] contentTypes)
Sets the content types.

Parameters:
contentTypes - the new content types

getMimeTypes

public java.lang.String[] getMimeTypes()
Gets the mime types.

Returns:
the mime types

setMimeTypes

public void setMimeTypes(java.lang.String[] mimeTypes)
Sets the mime types.

Parameters:
mimeTypes - the new mime types

getStartPublicationDateRange

public QueryCriteria.DatetimeRange getStartPublicationDateRange()
Gets the start publication date range.

Returns:
the start publication date range

setStartPublicationDateRange

public void setStartPublicationDateRange(QueryCriteria.DatetimeRange startPublicationDateRange)
Sets the start publication date range.

Parameters:
startPublicationDateRange - the new start publication date range

getEndPublicationDateRange

public QueryCriteria.DatetimeRange getEndPublicationDateRange()
Gets the end publication date range.

Returns:
the end publication date range

setEndPublicationDateRange

public void setEndPublicationDateRange(QueryCriteria.DatetimeRange endPublicationDateRange)
Sets the end publication date range.

Parameters:
endPublicationDateRange - the new end publication date range

getCreatedDateRange

public QueryCriteria.DatetimeRange getCreatedDateRange()
Gets the created date range.

Returns:
the created date range

setCreatedDateRange

public void setCreatedDateRange(QueryCriteria.DatetimeRange createdDateRange)
Sets the created date range.

Parameters:
createdDateRange - the new created date range

getLastModifiedDateRange

public QueryCriteria.DatetimeRange getLastModifiedDateRange()
Gets the last modified date range.

Returns:
the last modified date range

setLastModifiedDateRange

public void setLastModifiedDateRange(QueryCriteria.DatetimeRange lastModifiedDateRange)
Sets the last modified date range.

Parameters:
lastModifiedDateRange - the new last modified date range

isFulltextSearch

public boolean isFulltextSearch()
Checks if is fulltext search.

Returns:
true, if is fulltext search

setFulltextSearch

public void setFulltextSearch(boolean fulltextSearch)
Sets the fulltext search.

Parameters:
fulltextSearch - the new fulltext search

getKeyword

public java.lang.String getKeyword()
Gets the keyword.

Returns:
the keyword

setKeyword

public void setKeyword(java.lang.String s)
Sets the keyword.

Parameters:
s - the new keyword

isSearchWebpage

public boolean isSearchWebpage()
Checks if is search webpage.

Returns:
true, if is search webpage

setSearchWebpage

public void setSearchWebpage(boolean searchWebpage)
Sets the search webpage.

Parameters:
searchWebpage - the new search webpage

isSearchDocument

public boolean isSearchDocument()
Checks if is search document.

Returns:
true, if is search document

setSearchDocument

public void setSearchDocument(boolean searchDocument)
Sets the search document.

Parameters:
searchDocument - the new search document

isSearchWebContent

public boolean isSearchWebContent()
Checks if is search web content.

Returns:
true, if is search web content

setSearchWebContent

public void setSearchWebContent(boolean searchWebContent)
Sets the search web content.

Parameters:
searchWebContent - the new search web content

getDateRangeSelected

public QueryCriteria.DATE_RANGE_SELECTED getDateRangeSelected()
Gets the date range selected.

Returns:
the date range selected

setDateRangeSelected

public void setDateRangeSelected(QueryCriteria.DATE_RANGE_SELECTED dateRangeSelected)
Sets the date range selected.

Parameters:
dateRangeSelected - the new date range selected

getCategoryUUIDs

public java.lang.String[] getCategoryUUIDs()
Gets the category uui ds.

Returns:
the category uui ds

setCategoryUUIDs

public void setCategoryUUIDs(java.lang.String[] categoryUUIDs)
Sets the category uui ds.

Parameters:
categoryUUIDs - the new category uui ds

getTagUUIDs

public java.lang.String[] getTagUUIDs()
Gets the tag uui ds.

Returns:
the tag uui ds

setTagUUIDs

public void setTagUUIDs(java.lang.String[] tagUUIDs)
Sets the tag uui ds.

Parameters:
tagUUIDs - the new tag uui ds

getQueryMetadatas

public QueryCriteria.QueryProperty[] getQueryMetadatas()
Gets the query metadatas.

Returns:
the query metadatas

setQueryMetadatas

public void setQueryMetadatas(QueryCriteria.QueryProperty[] queryMetadatas)
Sets the query metadatas.

Parameters:
queryMetadatas - the new query metadatas

getFulltextSearchProperty

public java.lang.String getFulltextSearchProperty()
Gets the fulltext search property.

Returns:
the fulltext search property

setFulltextSearchProperty

public void setFulltextSearchProperty(java.lang.String fulltextSearchProperty)
Sets the fulltext search property.

Parameters:
fulltextSearchProperty - the new fulltext search property


Copyright © 2012 eXo Platform SAS. All Rights Reserved.