Class CmsListInfoBean

    • Constructor Detail

      • CmsListInfoBean

        public CmsListInfoBean​(java.lang.String title,
                               java.lang.String subtitle,
                               java.util.List<CmsAdditionalInfoBean> additionalInfo)
        Constructor.

        Parameters:
        title - the title
        subtitle - the subtitle
        additionalInfo - the additional info
    • Method Detail

      • addAdditionalInfo

        public void addAdditionalInfo​(java.lang.String name,
                                      java.lang.String value)
        Sets a new additional info.

        Parameters:
        name - the additional info name
        value - the additional info value
      • addAdditionalInfo

        public void addAdditionalInfo​(java.lang.String name,
                                      java.lang.String value,
                                      java.lang.String style)
        Sets a new additional info.

        Parameters:
        name - the additional info name
        value - the additional info value
        style - the CSS style to apply to the info
      • getIsFolder

        public java.lang.Boolean getIsFolder()
        Returns a flag which indicates whether this info bean was generated for a folder.

        This may not be set (i.e. null).

        Returns:
        a Boolean indicating whether this bean was generated for a folder
      • getLockIconTitle

        public java.lang.String getLockIconTitle()
        Returns the lock icon title.

        Returns:
        the lock icon title
      • getResourceType

        public java.lang.String getResourceType()
        Returns the resource type name.

        Returns:
        the resource type name
      • getSubTitle

        public java.lang.String getSubTitle()
        Returns the sub-title.

        Returns:
        the sub-title
      • hasAdditionalInfo

        public boolean hasAdditionalInfo()
        Returns if the bean has additional info elements.

        Returns:
        true if the bean has additional info elements
      • isMarkChangedState

        public boolean isMarkChangedState()
        Returns true if the 'changed' resource state should be marked by an icon.

        Returns:
        true if the 'changed' resource state should be marked by an icon.

      • setAdditionalInfo

        public void setAdditionalInfo​(java.util.List<CmsAdditionalInfoBean> additionalInfo)
        Sets the additional info.

        Parameters:
        additionalInfo - the additional info to set
      • setIsFolder

        public void setIsFolder​(java.lang.Boolean isFolder)
        Sets thE 'isFolder' flag.

        Parameters:
        isFolder - the new value
      • setLockIconTitle

        public void setLockIconTitle​(java.lang.String lockIconTitle)
        Sets the lock icon title.

        Parameters:
        lockIconTitle - the lock icon title to set
      • setMarkChangedState

        public void setMarkChangedState​(boolean markChanged)
        Enables or disables the display of the 'changed' icon for the 'changed' resource state.

        Parameters:
        markChanged - true if the 'changed' state should be displayed
      • setResourceState

        public void setResourceState​(CmsResourceState resourceState)
        Sets the resourceState.

        Parameters:
        resourceState - the resourceState to set
      • setResourceType

        public void setResourceType​(java.lang.String resourceType)
        Sets the resource type name.

        Parameters:
        resourceType - the resource type name to set
      • setStateIcon

        public void setStateIcon​(CmsListInfoBean.StateIcon stateIcon)
        Sets the state icon.

        The state icon indicates if a resource is exported, secure etc.

        Parameters:
        stateIcon - the state icon to set
      • setSubTitle

        public void setSubTitle​(java.lang.String subTitle)
        Sets the sub-title.

        Parameters:
        subTitle - the sub-title to set
      • setTitle

        public void setTitle​(java.lang.String title)
        Sets the title.

        Parameters:
        title - the title to set