org.opencms.ade.galleries.shared
Class CmsResourceInfoBean

java.lang.Object
  extended by org.opencms.ade.galleries.shared.CmsResourceInfoBean
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
Direct Known Subclasses:
CmsImageInfoBean

public class CmsResourceInfoBean
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable

This bean contains the preview content for the selected item.

Since:
8.0.0

Constructor Summary
CmsResourceInfoBean()
          The constructor.
 
Method Summary
 java.lang.String getDescription()
          Returns the description of the resource.
 java.util.Date getLastModified()
          Returns the last modification date.
 java.lang.String getNoEditReason()
          Returns the no edit reason.
 java.lang.String getPreviewContent()
          Returns the preview content.
 java.util.Map<java.lang.String,java.lang.String> getProperties()
          Returns the properties.
 java.lang.String getResourcePath()
          Returns the resource path.
 java.lang.String getResourceType()
          Returns the resource type name.
 java.lang.String getSize()
          Returns the file size.
 CmsUUID getStructureId()
          Gets the structure id of the resource.
 java.lang.String getTitle()
          Returns the title of the resource.
 void setDescription(java.lang.String description)
          Sets the description of the resource.
 void setLastModified(java.util.Date lastModified)
          Sets the last modification date.
 void setNoEditReason(java.lang.String noEditReason)
          Sets the no edit reason.
 void setPreviewContent(java.lang.String previewContent)
          Sets the preview content.
 void setProperties(java.util.Map<java.lang.String,java.lang.String> propeties)
          Sets the propeties.
 void setResourcePath(java.lang.String resourcePath)
          Sets the resource path.
 void setResourceType(java.lang.String resourceType)
          Sets the resource type name.
 void setSize(java.lang.String size)
          Sets the file size.
 void setStructureId(CmsUUID structureId)
          Sets the resource structure id.
 void setTitle(java.lang.String title)
          Sets the title of the resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsResourceInfoBean

public CmsResourceInfoBean()
The constructor.

Method Detail

getDescription

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

Returns:
the description

getLastModified

public java.util.Date getLastModified()
Returns the last modification date.

Returns:
the last modification date

getNoEditReason

public java.lang.String getNoEditReason()
Returns the no edit reason. If empty editing is allowed.

Returns:
the no edit reason

getPreviewContent

public java.lang.String getPreviewContent()
Returns the preview content.

Returns:
the preview content

getProperties

public java.util.Map<java.lang.String,java.lang.String> getProperties()
Returns the properties.

Returns:
the properties

getResourcePath

public java.lang.String getResourcePath()
Returns the resource path.

Returns:
the resource path

getResourceType

public java.lang.String getResourceType()
Returns the resource type name.

Returns:
the resource type name

getSize

public java.lang.String getSize()
Returns the file size.

Returns:
the file size

getStructureId

public CmsUUID getStructureId()
Gets the structure id of the resource.

Returns:
the structure id of the resource

getTitle

public java.lang.String getTitle()
Returns the title of the resource.

Returns:
the title

setDescription

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

Parameters:
description - the description to set

setLastModified

public void setLastModified(java.util.Date lastModified)
Sets the last modification date.

Parameters:
lastModified - the last modification date to set

setNoEditReason

public void setNoEditReason(java.lang.String noEditReason)
Sets the no edit reason.

Parameters:
noEditReason - the no edit reason to set

setPreviewContent

public void setPreviewContent(java.lang.String previewContent)
Sets the preview content.

Parameters:
previewContent - the preview content to set

setProperties

public void setProperties(java.util.Map<java.lang.String,java.lang.String> propeties)
Sets the propeties.

Parameters:
propeties - the propeties to set

setResourcePath

public void setResourcePath(java.lang.String resourcePath)
Sets the resource path.

Parameters:
resourcePath - the resource path to set

setResourceType

public void setResourceType(java.lang.String resourceType)
Sets the resource type name.

Parameters:
resourceType - the resource type name to set

setSize

public void setSize(java.lang.String size)
Sets the file size.

Parameters:
size - the file size to set

setStructureId

public void setStructureId(CmsUUID structureId)
Sets the resource structure id.

Parameters:
structureId - the resource structure id

setTitle

public void setTitle(java.lang.String title)
Sets the title of the resource.

Parameters:
title - the title to set