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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the description.Gets the modification date.Gets the publish date.Returns the rootPath.intgetSize()Gets the size.Returns the structureId.getTitle()Returns the title.Gets the user who last modified the history version.Returns the version.voidsetDateLastModified(CmsClientDateBean formatDate) Sets the modification date.voidsetDatePublished(CmsClientDateBean formatDate) Sets the publish date.voidsetDescription(String description) Sets the description.voidsetRootPath(String rootPath) Sets the rootPath.voidsetSize(int size) Sets the size.voidsetStructureId(CmsUUID structureId) Sets the structure idvoidSets the title.voidsetUserLastModified(String userName) Sets the name of the user who last modified the resource.voidsetVersion(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
-