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 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
-
Method Summary
Modifier and TypeMethodDescriptionReturns the description.Gets the modification date.Gets the publish date.Returns the rootPath.int
getSize()
Gets the size.Returns the structureId.getTitle()
Returns the title.Gets the user who last modified the history version.Returns the version.void
setDateLastModified
(CmsClientDateBean formatDate) Sets the modification date.void
setDatePublished
(CmsClientDateBean formatDate) Sets the publish date.void
setDescription
(String description) Sets the description.void
setRootPath
(String rootPath) Sets the rootPath.void
setSize
(int size) Sets the size.void
setStructureId
(CmsUUID structureId) Sets the structure idvoid
Sets the title.void
setUserLastModified
(String userName) Sets the name of the user who last modified the resource.void
setVersion
(CmsHistoryVersion version) Sets the version.
-
Constructor Details
-
CmsHistoryResourceBean
public CmsHistoryResourceBean()Creates a new instance.
-
-
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
Returns the rootPath.- Returns:
- the rootPath
-
getSize
Gets the size.- Returns:
- the size
-
getStructureId
Returns the structureId.- Returns:
- the structureId
-
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
-
setDescription
Sets the description.- Parameters:
description
- the description
-
setRootPath
Sets the rootPath.- Parameters:
rootPath
- the rootPath to set
-
setSize
Sets the size.- Parameters:
size
- the size
-
setStructureId
Sets the structure id- Parameters:
structureId
- the structure id to set
-
setTitle
Sets the title.- Parameters:
title
- the title to set
-
setUserLastModified
Sets the name of the user who last modified the resource.- Parameters:
userName
- the name of the user
-