Package org.opencms.workplace.search
Class CmsSearchWorkplaceBean
- java.lang.Object
-
- org.opencms.workplace.search.CmsSearchWorkplaceBean
-
public class CmsSearchWorkplaceBean extends java.lang.Object
Bean to handle search parameters in the workplace.- Since:
- 6.3.0
-
-
Constructor Summary
Constructors Constructor Description CmsSearchWorkplaceBean(java.lang.String currentFolder)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFields()
Returns the fields parameter value.java.lang.String
getIndexName()
Returns the index name.java.lang.String
getMaxDateCreated()
Returns the creation date the resources have to have as maximum.java.lang.String
getMaxDateLastModified()
Returns the last modification date the resources have to have as maximum.java.lang.String
getMinDateCreated()
Returns the creation date the resources have to have as minimum.java.lang.String
getMinDateLastModified()
Returns the last modification date the resources have to have as minimum.java.lang.String
getQuery()
Returns the query.java.lang.String
getSearchPath()
Returns the search path.java.lang.String
getSortOrder()
Returns the sort Order.boolean
isRestrictSearch()
Returns the restrict Search flag.void
setFields(java.lang.String fields)
Sets the fields parameter value.void
setIndexName(java.lang.String indexName)
Sets the index name.void
setMaxDateCreated(java.lang.String maxDateCreated)
Sets the creation date the resources have to have as maximum.void
setMaxDateLastModified(java.lang.String maxDateLastModified)
Sets the last modification date the resources have to have as maximum.void
setMinDateCreated(java.lang.String dateCreatedFrom)
Sets the creation date the resources have to have as minimum.void
setMinDateLastModified(java.lang.String minDateLastModified)
Sets the last modification date the resources have to have as minimum.void
setQuery(java.lang.String query)
Sets the query.void
setRestrictSearch(boolean restrictSearch)
Sets the restrict Search flag.void
setSortOrder(java.lang.String sortOrder)
Sets the sort Order.
-
-
-
Constructor Detail
-
CmsSearchWorkplaceBean
public CmsSearchWorkplaceBean(java.lang.String currentFolder)
Default constructor.- Parameters:
currentFolder
- the current folder
-
-
Method Detail
-
getFields
public java.lang.String getFields()
Returns the fields parameter value.- Returns:
- the fields parameter value
-
getIndexName
public java.lang.String getIndexName()
Returns the index name.- Returns:
- the index name
-
getMaxDateCreated
public java.lang.String getMaxDateCreated()
Returns the creation date the resources have to have as maximum.- Returns:
- the creation date the resources have to have as maximum
-
getMaxDateLastModified
public java.lang.String 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
public java.lang.String getMinDateCreated()
Returns the creation date the resources have to have as minimum.- Returns:
- the creation date the resources have to have as minimum
-
getMinDateLastModified
public java.lang.String 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
public java.lang.String getQuery()
Returns the query.- Returns:
- the query
-
getSearchPath
public java.lang.String getSearchPath()
Returns the search path.- Returns:
- the search path
-
getSortOrder
public java.lang.String getSortOrder()
Returns the sort Order.- Returns:
- the sort Order
-
isRestrictSearch
public boolean isRestrictSearch()
Returns the restrict Search flag.- Returns:
- the restrict Search flag
-
setFields
public void setFields(java.lang.String fields)
Sets the fields parameter value.- Parameters:
fields
- the fields parameter value to set
-
setIndexName
public void setIndexName(java.lang.String indexName)
Sets the index name.- Parameters:
indexName
- the index name
-
setMaxDateCreated
public void setMaxDateCreated(java.lang.String maxDateCreated)
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
public void setMaxDateLastModified(java.lang.String maxDateLastModified)
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
public void setMinDateCreated(java.lang.String dateCreatedFrom)
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
public void setMinDateLastModified(java.lang.String minDateLastModified)
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
public void setQuery(java.lang.String query)
Sets the query.- Parameters:
query
- the query to set
-
setRestrictSearch
public void setRestrictSearch(boolean restrictSearch)
Sets the restrict Search flag.- Parameters:
restrictSearch
- the restrict Search flag to set
-
setSortOrder
public void setSortOrder(java.lang.String sortOrder)
Sets the sort Order.- Parameters:
sortOrder
- the sort Order to set
-
-