Package org.opencms.workplace.search
Class CmsSearchWorkplaceBean
java.lang.Object
org.opencms.workplace.search.CmsSearchWorkplaceBean
Bean to handle search parameters in the workplace.
- Since:
- 6.3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the fields parameter value.Returns the index name.Returns the creation date the resources have to have as maximum.Returns the last modification date the resources have to have as maximum.Returns the creation date the resources have to have as minimum.Returns the last modification date the resources have to have as minimum.getQuery()Returns the query.Returns the search path.Returns the sort Order.booleanReturns the restrict Search flag.voidSets the fields parameter value.voidsetIndexName(String indexName) Sets the index name.voidsetMaxDateCreated(String maxDateCreated) Sets the creation date the resources have to have as maximum.voidsetMaxDateLastModified(String maxDateLastModified) Sets the last modification date the resources have to have as maximum.voidsetMinDateCreated(String dateCreatedFrom) Sets the creation date the resources have to have as minimum.voidsetMinDateLastModified(String minDateLastModified) Sets the last modification date the resources have to have as minimum.voidSets the query.voidsetRestrictSearch(boolean restrictSearch) Sets the restrict Search flag.voidsetSortOrder(String sortOrder) Sets the sort Order.
-
Constructor Details
-
CmsSearchWorkplaceBean
Default constructor.- Parameters:
currentFolder- the current folder
-
-
Method Details
-
getFields
Returns the fields parameter value.- Returns:
- the fields parameter value
-
getIndexName
Returns the index name.- Returns:
- the index name
-
getMaxDateCreated
Returns the creation date the resources have to have as maximum.- Returns:
- the creation date the resources have to have as maximum
-
getMaxDateLastModified
Returns the last modification date the resources have to have as maximum.- Returns:
- the last modification date the resources have to have as maximum
-
getMinDateCreated
Returns the creation date the resources have to have as minimum.- Returns:
- the creation date the resources have to have as minimum
-
getMinDateLastModified
Returns the last modification date the resources have to have as minimum.- Returns:
- the last modification date the resources have to have as minimum
-
getQuery
Returns the query.- Returns:
- the query
-
getSearchPath
Returns the search path.- Returns:
- the search path
-
getSortOrder
Returns the sort Order.- Returns:
- the sort Order
-
isRestrictSearch
Returns the restrict Search flag.- Returns:
- the restrict Search flag
-
setFields
Sets the fields parameter value.- Parameters:
fields- the fields parameter value to set
-
setIndexName
Sets the index name.- Parameters:
indexName- the index name
-
setMaxDateCreated
Sets the creation date the resources have to have as maximum.- Parameters:
maxDateCreated- the creation date the resources have to have as maximum to set
-
setMaxDateLastModified
Sets the last modification date the resources have to have as maximum.- Parameters:
maxDateLastModified- the last modification date the resources have to have as maximum to set
-
setMinDateCreated
Sets the creation date the resources have to have as minimum.- Parameters:
dateCreatedFrom- the creation date the resources have to have as minimum to set
-
setMinDateLastModified
Sets the last modification date the resources have to have as minimum.- Parameters:
minDateLastModified- the last modification date the resources have to have as minimum to set
-
setQuery
Sets the query.- Parameters:
query- the query to set
-
setRestrictSearch
Sets the restrict Search flag.- Parameters:
restrictSearch- the restrict Search flag to set
-
setSortOrder
Sets the sort Order.- Parameters:
sortOrder- the sort Order to set
-