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

Field Summary
static java.lang.String DICT_NAME
          Name of the used dictionary.
 
Constructor Summary
protected CmsPublishData()
          For serialization.
  CmsPublishData(CmsPublishOptions options, java.util.List<CmsProjectBean> projects, java.util.List<CmsPublishGroup> groups, java.util.Map<java.lang.String,CmsWorkflow> workflows, java.lang.String selectedWorkflowId)
          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.
 java.lang.String getSelectedWorkflowId()
          Returns the selected workflow.
 java.util.Map<java.lang.String,CmsWorkflow> getWorkflows()
          Returns the available work flow actions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DICT_NAME

public static final java.lang.String DICT_NAME
Name of the used dictionary.

See Also:
Constant Field Values
Constructor Detail

CmsPublishData

public CmsPublishData(CmsPublishOptions options,
                      java.util.List<CmsProjectBean> projects,
                      java.util.List<CmsPublishGroup> groups,
                      java.util.Map<java.lang.String,CmsWorkflow> workflows,
                      java.lang.String selectedWorkflowId)
Creates a new instance.

Parameters:
options - the publish options
projects - the map of projects
groups - the publish groups
workflows - the available work flows
selectedWorkflowId - the selected workflow id

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

getSelectedWorkflowId

public java.lang.String getSelectedWorkflowId()
Returns the selected workflow.

Returns:
the selected workflow

getWorkflows

public java.util.Map<java.lang.String,CmsWorkflow> getWorkflows()
Returns the available work flow actions.

Returns:
the available work flow actions