Class CmsResultItemBean

    • Method Detail

      • getClientId

        public java.lang.String getClientId()
        Returns the structured id.

        Returns:
        the structured id
      • getDateLastModified

        public java.lang.String getDateLastModified()
        Returns the formatted last modification date.

        Returns:
        the formatted last modification date
      • getDescription

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

        Returns:
        the description
      • getDimension

        public java.lang.String getDimension()
        Returns the dimension.

        Returns:
        the dimension
      • getNoEditReson

        public java.lang.String getNoEditReson()
        Returns the noEditReson.

        Returns:
        the noEditReson
      • getPath

        public java.lang.String getPath()
        Returns the resourcePath.

        Specified by:
        getPath in interface I_CmsHasPath
        Returns:
        the resourcePath
      • getRawTitle

        public java.lang.String getRawTitle()
        Gets the raw title, without status information attached.

        Returns:
        the raw title
      • getUserLastModified

        public java.lang.String getUserLastModified()
        Gets the name of the user who last modified the resource.

        Returns:
        the name of the user who last modified the resource
      • getViewLink

        public java.lang.String getViewLink()
        Gets the link for displaying the resource.

        Returns:
        the link for displaying the resource
      • isCopyModel

        public boolean isCopyModel()
        Returns true if the result resource is a copy model.

        Returns:
        true if the resource is a copy model
      • isEditable

        public boolean isEditable()
        Returns if the represented resource is editable by the current user.

        Returns:
        true if editable
      • isPreset

        public boolean isPreset()
        True if this is result item corresponds to a preset value in the editor.

        Returns:
        true if this corresponds to a preset value
      • isReleasedAndNotExpired

        public boolean isReleasedAndNotExpired()
        Returns if the result item resource is currently released and not expired.

        Returns:
        true if the result item resource is currently released and not expired
      • setClientId

        public void setClientId​(java.lang.String clientId)
        Sets the structure id.

        Parameters:
        clientId - the structure id to set
      • setDateLastModified

        public void setDateLastModified​(java.lang.String formattedDate)
        Sets the formatted last modification date.

        Parameters:
        formattedDate - the formatted last modification date
      • setDescription

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

        Also used as sub-title.

        Parameters:
        description - the description to set
      • setDimension

        public void setDimension​(java.lang.String dimension)
        Sets the dimension.

        Parameters:
        dimension - the dimension to set
      • setIsCopyModel

        public void setIsCopyModel​(boolean isCopyModel)
        Sets the "copy model" status of this result bean.

        Parameters:
        isCopyModel - true if this result should be marked as a copy model
      • setNoEditReson

        public void setNoEditReson​(java.lang.String noEditReson)
        Sets the reason this resource may not be edited.

        Parameters:
        noEditReson - the reason this resource may not be edited to set
      • setPath

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

        Parameters:
        path - the resource path to set
      • setPreset

        public void setPreset​(boolean preset)
        Sets the "is preset" flag.

        Parameters:
        preset - the "is preset" flag
      • setRawTitle

        public void setRawTitle​(java.lang.String rawTitle)
        Sets the raw title.

        Parameters:
        rawTitle - the raw title
      • setReleasedAndNotExpired

        public void setReleasedAndNotExpired​(boolean releasedAndNotExpired)
        Sets if the result item resource is currently released and not expired.

        Parameters:
        releasedAndNotExpired - if the result item resource is currently released and not expired
      • setType

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

        Parameters:
        type - the resource type name to set
      • setUserLastModified

        public void setUserLastModified​(java.lang.String userLastModified)
        Sets the name of the user who last modified the resource.

        Parameters:
        userLastModified - a user name
      • setViewLink

        public void setViewLink​(java.lang.String viewLink)
        Sets the link for displaying the resource.

        Parameters:
        viewLink - the link for displaying the