Class CmsResourceInfoBean

    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Returns the description of the resource.

        Returns:
        the description
      • getLastModified

        public java.util.Date getLastModified()
        Returns the last modification date.

        Returns:
        the last modification date
      • getNoEditReason

        public java.lang.String getNoEditReason()
        Returns the no edit reason. If empty editing is allowed.

        Returns:
        the no edit reason
      • getPreviewContent

        public java.lang.String getPreviewContent()
        Returns the preview content.

        Returns:
        the preview content
      • getProperties

        public java.util.Map<java.lang.String,​java.lang.String> getProperties()
        Returns the properties.

        Returns:
        the properties
      • getPropertyLabel

        public java.lang.String getPropertyLabel​(java.lang.String propName)
        Gets the label to display for the given property.
        Parameters:
        propName - the property name
        Returns:
        the label to display
      • getResourcePath

        public java.lang.String getResourcePath()
        Returns the resource path.

        Returns:
        the resource path
      • getResourceType

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

        Returns:
        the resource type name
      • getSize

        public java.lang.String getSize()
        Returns the file size.

        Returns:
        the file size
      • getStructureId

        public CmsUUID getStructureId()
        Gets the structure id of the resource.

        Returns:
        the structure id of the resource
      • getTitle

        public java.lang.String getTitle()
        Returns the title of the resource.

        Returns:
        the title
      • setDescription

        public void setDescription​(java.lang.String description)
        Sets the description of the resource.

        Parameters:
        description - the description to set
      • setLastModified

        public void setLastModified​(java.util.Date lastModified)
        Sets the last modification date.

        Parameters:
        lastModified - the last modification date to set
      • setNoEditReason

        public void setNoEditReason​(java.lang.String noEditReason)
        Sets the no edit reason.

        Parameters:
        noEditReason - the no edit reason to set
      • setPreviewContent

        public void setPreviewContent​(java.lang.String previewContent)
        Sets the preview content.

        Parameters:
        previewContent - the preview content to set
      • setProperties

        public void setProperties​(java.util.Map<java.lang.String,​java.lang.String> propeties)
        Sets the propeties.

        Parameters:
        propeties - the propeties to set
      • setPropertyNiceNames

        public void setPropertyNiceNames​(java.util.Map<java.lang.String,​java.lang.String> niceNames)
        Sets the nice names for the properties.
        Parameters:
        niceNames - the nice names (keys are property names, values the corresponding nice names)
      • setResourcePath

        public void setResourcePath​(java.lang.String resourcePath)
        Sets the resource path.

        Parameters:
        resourcePath - the resource path to set
      • setResourceType

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

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

        public void setSize​(java.lang.String size)
        Sets the file size.

        Parameters:
        size - the file size to set
      • setStructureId

        public void setStructureId​(CmsUUID structureId)
        Sets the resource structure id.

        Parameters:
        structureId - the resource structure id
      • setTitle

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

        Parameters:
        title - the title to set