Class CmsHistoryResourceBean

java.lang.Object
org.opencms.gwt.shared.CmsHistoryResourceBean
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class CmsHistoryResourceBean extends Object implements com.google.gwt.user.client.rpc.IsSerializable
A bean representing the data to be displayed in the history dialog for a single resource version.

  • Constructor Details

  • Method Details

    • getDescription

      Returns the description.

      Returns:
      the description
    • getModificationDate

      Gets the modification date.

      Returns:
      the modification date
    • getPublishDate

      Gets the publish date.

      Returns:
      the publish date
    • getRootPath

      public String getRootPath()
      Returns the rootPath.

      Returns:
      the rootPath
    • getSize

      public int getSize()
      Gets the size.

      Returns:
      the size
    • getStructureId

      Returns the structureId.

      Returns:
      the structureId
    • getTitle

      public String getTitle()
      Returns the title.

      Returns:
      the title
    • getUserLastModified

      Gets the user who last modified the history version.

      +

      Returns:
      the user who last modified the resource
    • getVersion

      Returns the version.

      Returns:
      the version
    • setDateLastModified

      public void setDateLastModified(CmsClientDateBean formatDate)
      Sets the modification date.

      Parameters:
      formatDate - the modification date
    • setDatePublished

      public void setDatePublished(CmsClientDateBean formatDate)
      Sets the publish date.

      Parameters:
      formatDate - the publish date
    • setDescription

      public void setDescription(String description)
      Sets the description.

      Parameters:
      description - the description
    • setRootPath

      public void setRootPath(String rootPath)
      Sets the rootPath.

      Parameters:
      rootPath - the rootPath to set
    • setSize

      public void setSize(int size)
      Sets the size.

      Parameters:
      size - the size
    • setStructureId

      public void setStructureId(CmsUUID structureId)
      Sets the structure id
      Parameters:
      structureId - the structure id to set
    • setTitle

      public void setTitle(String title)
      Sets the title.

      Parameters:
      title - the title to set
    • setUserLastModified

      public void setUserLastModified(String userName)
      Sets the name of the user who last modified the resource.

      Parameters:
      userName - the name of the user
    • setVersion

      public void setVersion(CmsHistoryVersion version)
      Sets the version.

      Parameters:
      version - the version to set