org.opencms.ade.publish.shared
Class CmsPublishData

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

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

A bean that contains both publish options and a map of projects.

Since:
8.0

Constructor Summary
protected CmsPublishData()
          For serialization.
  CmsPublishData(CmsPublishOptions options, java.util.List<CmsProjectBean> projects, java.util.List<CmsPublishGroup> groups, boolean canPublishBrokenRelations)
          Creates a new instance.
 
Method Summary
 java.util.List<CmsPublishGroup> getGroups()
          Returns the publish groups.
 CmsPublishOptions getOptions()
          Returns the publish options.
 java.util.List<CmsProjectBean> getProjects()
          Returns the list of projects.
 boolean isCanPublishBrokenRelations()
          Checks if the current user can publish broken relations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsPublishData

public CmsPublishData(CmsPublishOptions options,
                      java.util.List<CmsProjectBean> projects,
                      java.util.List<CmsPublishGroup> groups,
                      boolean canPublishBrokenRelations)
Creates a new instance.

Parameters:
options - the publish options
projects - the map of projects
groups - the publish groups
canPublishBrokenRelations - the flag to indicate if the current user can publish broken relations

CmsPublishData

protected CmsPublishData()
For serialization.

Method Detail

getGroups

public java.util.List<CmsPublishGroup> getGroups()
Returns the publish groups.

Returns:
the publish groups

getOptions

public CmsPublishOptions getOptions()
Returns the publish options.

Returns:
the publish options

getProjects

public java.util.List<CmsProjectBean> getProjects()
Returns the list of projects.

Returns:
the list of projects

isCanPublishBrokenRelations

public boolean isCanPublishBrokenRelations()
Checks if the current user can publish broken relations.

Returns:
true if the current user can publish broken relations