org.opencms.ade.publish.shared
Class CmsPublishResource

java.lang.Object
  extended by org.opencms.ade.publish.shared.CmsPublishResource
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

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

A publish resource.

Since:
7.6

Constructor Summary
protected CmsPublishResource()
          For serialization.
  CmsPublishResource(CmsUUID id, java.lang.String name, java.lang.String title, java.lang.String resourceType, CmsResourceState state, boolean removable, CmsPublishResourceInfo info, java.util.List<CmsPublishResource> related)
          Creates a new publish group bean.
 
Method Summary
 CmsUUID getId()
          Returns the id.
 CmsPublishResourceInfo getInfo()
          Returns the additional info.
 java.lang.String getName()
          Returns the name.
 java.util.List<CmsPublishResource> getRelated()
          Returns the related resources.
 java.lang.String getResourceType()
          Returns the resource type name.
 CmsResourceState getState()
          Returns the state.
 java.lang.String getTitle()
          Returns the title.
 boolean isRemovable()
          Returns the removable flag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsPublishResource

public CmsPublishResource(CmsUUID id,
                          java.lang.String name,
                          java.lang.String title,
                          java.lang.String resourceType,
                          CmsResourceState state,
                          boolean removable,
                          CmsPublishResourceInfo info,
                          java.util.List<CmsPublishResource> related)
Creates a new publish group bean.

Parameters:
id - the resource id
name - the resource name
title - the resource title
resourceType - the resource type name
state - the resource state
removable - to indicate if the resource can be removed from the user's publish list
info - the additional information, if any
related - the related resources

CmsPublishResource

protected CmsPublishResource()
For serialization.

Method Detail

getResourceType

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

Returns:
the resource type name

getId

public CmsUUID getId()
Returns the id.

Returns:
the id

getInfo

public CmsPublishResourceInfo getInfo()
Returns the additional info.

Returns:
the additional info

getName

public java.lang.String getName()
Returns the name.

Returns:
the name

getRelated

public java.util.List<CmsPublishResource> getRelated()
Returns the related resources.

Returns:
the related resources

getState

public CmsResourceState getState()
Returns the state.

Returns:
the state

getTitle

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

Returns:
the title

isRemovable

public boolean isRemovable()
Returns the removable flag.

Returns:
the removable flag