Class CmsConfigurationBean

    • Method Detail

      • getResourceTypeForDisplayType

        public static java.lang.String getResourceTypeForDisplayType​(java.lang.String displayType)
        Extracts the resource type name from a display type string.
        Parameters:
        displayType - the display type
        Returns:
        the resource type name
      • getAdditionalParameters

        public java.util.Map<java.lang.String,​java.lang.String> getAdditionalParameters()
        Returns the additional content parameters.

        Returns:
        the additional content parameters
      • getBlacklist

        public java.util.List<CmsUUIDgetBlacklist()
        Returns the black list.

        Returns:
        the black list
      • getCategories

        public java.util.List<java.lang.String> getCategories()
        Returns the categories.

        Returns:
        the categories
      • getDisplayTypes

        public java.util.List<java.lang.String> getDisplayTypes()
        Returns the display types.

        Returns:
        the display types
      • getFilterQuery

        public java.lang.String getFilterQuery()
        Gets the filter query.

        Returns:
        the filter query
      • getFolders

        public java.util.List<java.lang.String> getFolders()
        Returns the folders.

        Returns:
        the folders
      • getMaximallyReturnedResults

        public java.lang.Integer getMaximallyReturnedResults()
        Returns the number of results to return maximally, or null if not explicitly specified.
        Returns:
        the number of results to return maximally, or null if not explicitly specified.
      • getParameters

        public java.util.Map<java.lang.String,​java.lang.String> getParameters()
        Returns the parameter map.

        Returns:
        the parameters
      • getParameterValue

        public java.lang.String getParameterValue​(java.lang.String key)
        Returns the parameter by name.

        Parameters:
        key - the parameter name
        Returns:
        the parameter value
      • getSortOrder

        public java.lang.String getSortOrder()
        Gets the sort order.

        Returns:
        the sort order
      • getTypes

        public java.util.List<java.lang.String> getTypes()
        Returns the search types.

        Returns:
        the search types
      • hasPreconfiguredRestrictions

        public boolean hasPreconfiguredRestrictions()
        Returns a flag, indicating if there are preconfigured restrictions.
        Returns:
        true iff there are preconfiugred restrictions, false otherwise.
      • hasTypeSpecificRestriction

        public boolean hasTypeSpecificRestriction​(java.lang.String type)
        Returns a flag, indicating if there are preconfigured restrictions for the provided type.
        Parameters:
        type - the type to check the existence of preconfigured restrictions for.
        Returns:
        true iff there are preconfigured restrictions for the provided type, false otherwise.
      • isShowExpired

        public boolean isShowExpired()
        Returns the 'show expired' setting.

        Returns:
        the 'show expired' setting
      • setAdditionalParameters

        public void setAdditionalParameters​(java.util.Map<java.lang.String,​java.lang.String> additionalParameters)
        Sets the additional content parameters.

        Parameters:
        additionalParameters - the additional content parameters to set
      • setBlacklist

        public void setBlacklist​(java.util.List<CmsUUID> blacklist)
        Sets the blacklist.

        Parameters:
        blacklist - the blacklist
      • setCategories

        public void setCategories​(java.util.List<java.lang.String> categories)
        Sets the categories.

        Parameters:
        categories - the categories
      • setDisplayTypes

        public void setDisplayTypes​(java.util.List<java.lang.String> displayTypes)
        Sets the display types.

        Parameters:
        displayTypes - the display types
      • setFolders

        public void setFolders​(java.util.List<java.lang.String> folders)
        Sets the folders.

        Parameters:
        folders - the folders
      • setParameterValue

        public void setParameterValue​(java.lang.String name,
                                      java.lang.String value)
        Sets the parameter by name.

        Parameters:
        name - the parameter name
        value - the parameter value