Class CmsSearchWorkplaceBean

java.lang.Object
org.opencms.workplace.search.CmsSearchWorkplaceBean

public class CmsSearchWorkplaceBean extends Object
Bean to handle search parameters in the workplace.

Since:
6.3.0
  • Constructor Details

    • CmsSearchWorkplaceBean

      public CmsSearchWorkplaceBean(String currentFolder)
      Default constructor.

      Parameters:
      currentFolder - the current folder
  • Method Details

    • getFields

      public String getFields()
      Returns the fields parameter value.

      Returns:
      the fields parameter value
    • getIndexName

      public String 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

      public String getQuery()
      Returns the query.

      Returns:
      the query
    • getSearchPath

      Returns the search path.

      Returns:
      the search path
    • getSortOrder

      public 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(String fields)
      Sets the fields parameter value.

      Parameters:
      fields - the fields parameter value to set
    • setIndexName

      public void setIndexName(String indexName)
      Sets the index name.

      Parameters:
      indexName - the index name
    • setMaxDateCreated

      public void setMaxDateCreated(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(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(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(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(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(String sortOrder)
      Sets the sort Order.

      Parameters:
      sortOrder - the sort Order to set