Package org.opencms.gwt.shared
Class CmsHistoryResourceBean
- java.lang.Object
-
- org.opencms.gwt.shared.CmsHistoryResourceBean
-
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsHistoryResourceBean extends java.lang.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 Summary
Constructors Constructor Description CmsHistoryResourceBean()
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Returns the description.CmsClientDateBean
getModificationDate()
Gets the modification date.CmsClientDateBean
getPublishDate()
Gets the publish date.java.lang.String
getRootPath()
Returns the rootPath.int
getSize()
Gets the size.CmsUUID
getStructureId()
Returns the structureId.java.lang.String
getTitle()
Returns the title.java.lang.String
getUserLastModified()
Gets the user who last modified the history version.CmsHistoryVersion
getVersion()
Returns the version.void
setDateLastModified(CmsClientDateBean formatDate)
Sets the modification date.void
setDatePublished(CmsClientDateBean formatDate)
Sets the publish date.void
setDescription(java.lang.String description)
Sets the description.void
setRootPath(java.lang.String rootPath)
Sets the rootPath.void
setSize(int size)
Sets the size.void
setStructureId(CmsUUID structureId)
Sets the structure idvoid
setTitle(java.lang.String title)
Sets the title.void
setUserLastModified(java.lang.String userName)
Sets the name of the user who last modified the resource.void
setVersion(CmsHistoryVersion version)
Sets the version.
-
-
-
Constructor Detail
-
CmsHistoryResourceBean
public CmsHistoryResourceBean()
Creates a new instance.
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
Returns the description.- Returns:
- the description
-
getModificationDate
public CmsClientDateBean getModificationDate()
Gets the modification date.- Returns:
- the modification date
-
getPublishDate
public CmsClientDateBean getPublishDate()
Gets the publish date.- Returns:
- the publish date
-
getRootPath
public java.lang.String getRootPath()
Returns the rootPath.- Returns:
- the rootPath
-
getSize
public int getSize()
Gets the size.- Returns:
- the size
-
getStructureId
public CmsUUID getStructureId()
Returns the structureId.- Returns:
- the structureId
-
getTitle
public java.lang.String getTitle()
Returns the title.- Returns:
- the title
-
getUserLastModified
public java.lang.String getUserLastModified()
Gets the user who last modified the history version.+
- Returns:
- the user who last modified the resource
-
getVersion
public CmsHistoryVersion 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(java.lang.String description)
Sets the description.- Parameters:
description
- the description
-
setRootPath
public void setRootPath(java.lang.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(java.lang.String title)
Sets the title.- Parameters:
title
- the title to set
-
setUserLastModified
public void setUserLastModified(java.lang.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
-
-