Class CmsComponentState

java.lang.Object
org.opencms.ui.components.CmsComponentState

public class CmsComponentState extends Object
Component state bean.
  • Constructor Details

    • CmsComponentState

      Creates a new state bean.
    • CmsComponentState

      public CmsComponentState(String state)
      Creates a new state bean for a given state string.
      Parameters:
      state - the state string
  • Method Details

    • generateStateString

      Generates a state string for this state bean.
      Returns:
      the state string
    • getAvailability

      Returns the availability.
      Returns:
      the availability
    • getCategory

      public String getCategory()
      Returns the category.
      Returns:
      the category
    • getDateFrom

      public Date getDateFrom()
      Returns the date from.
      Returns:
      the date from
    • getDateTo

      public Date getDateTo()
      Returns the date to.
      Returns:
      the date to
    • getFolder

      public String getFolder()
      Returns the folder.
      Returns:
      the folder
    • getLocale

      public Locale getLocale()
      Returns the locale.
      Returns:
      the locale
    • getQuery

      public String getQuery()
      Returns the query.
      Returns:
      the query
    • getResourceType

      Returns the resource type.
      Returns:
      the resource type
    • getSite

      public String getSite()
      Returns the site.
      Returns:
      the site
    • parseStateString

      public void parseStateString(String state)
      Parses a state string.
      Parameters:
      state - the state string
    • setAvailability

      public void setAvailability(String availability)
      Sets the availability.
      Parameters:
      availability - the availability
    • setCategory

      public void setCategory(String category)
      Sets the category.
      Parameters:
      category - the category
    • setDateFrom

      public void setDateFrom(Date dateFrom)
      Sets the from date.
      Parameters:
      dateFrom - the dateFrom
    • setDateTo

      public void setDateTo(Date dateTo)
      Sets the to date.
      Parameters:
      dateTo - the dateTo
    • setFolder

      public void setFolder(String folder)
      Sets the folder.
      Parameters:
      folder - the folder
    • setLocale

      public void setLocale(Locale locale)
      Sets the locale.
      Parameters:
      locale - the locale
    • setQuery

      public void setQuery(String query)
      Sets the query.
      Parameters:
      query - the query
    • setResourceType

      public void setResourceType(I_CmsResourceType resourceType)
      Sets the resource type.
      Parameters:
      resourceType - the resource type
    • setSite

      public void setSite(String site)
      Sets the site.
      Parameters:
      site - the site