Class CmsComponentState

    • Constructor Summary

      Constructors 
      Constructor Description
      CmsComponentState()
      Creates a new state bean.
      CmsComponentState​(java.lang.String state)
      Creates a new state bean for a given state string.
    • Constructor Detail

      • CmsComponentState

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

      • generateStateString

        public java.lang.String generateStateString()
        Generates a state string for this state bean.
        Returns:
        the state string
      • getAvailability

        public java.lang.String getAvailability()
        Returns the availability.
        Returns:
        the availability
      • getCategory

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

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

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

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

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

        public java.lang.String getQuery()
        Returns the query.
        Returns:
        the query
      • getSite

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

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

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

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

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

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

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

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

        public void setQuery​(java.lang.String query)
        Sets the query.
        Parameters:
        query - the query
      • setSite

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