Package org.opencms.ade.publish.shared
Class CmsPublishData
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description static java.lang.String
DICT_NAME
Name of the used dictionary.
-
Constructor Summary
Constructors Modifier Constructor Description protected
CmsPublishData()
For serialization.CmsPublishData(CmsPublishOptions options, java.util.List<CmsProjectBean> projects, CmsPublishGroupList groups, java.util.Map<java.lang.String,CmsWorkflow> workflows, java.lang.String selectedWorkflowId)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCloseLink()
Gets the close link to open when the dialog is finished.CmsPublishGroupList
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.boolean
isShowConfirmation()
Returns true if the confirmation dialog should be shown before returning to the workplace.void
setCloseLink(java.lang.String closeLink)
Sets the close link.void
setShowConfirmation(boolean confirm)
Enables or disables showing the confirmation dialog before returning to the workplace.
-
-
-
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, CmsPublishGroupList groups, java.util.Map<java.lang.String,CmsWorkflow> workflows, java.lang.String selectedWorkflowId)
Creates a new instance.- Parameters:
options
- the publish optionsprojects
- the map of projectsgroups
- the publish groupsworkflows
- the available work flowsselectedWorkflowId
- the selected workflow id
-
CmsPublishData
protected CmsPublishData()
For serialization.
-
-
Method Detail
-
getCloseLink
public java.lang.String getCloseLink()
Gets the close link to open when the dialog is finished.- Returns:
- the close link
-
getGroups
public CmsPublishGroupList 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
-
isShowConfirmation
public boolean isShowConfirmation()
Returns true if the confirmation dialog should be shown before returning to the workplace.- Returns:
- true if the confirmation dialog is enabled
-
setCloseLink
public void setCloseLink(java.lang.String closeLink)
Sets the close link.- Parameters:
closeLink
- the close link
-
setShowConfirmation
public void setShowConfirmation(boolean confirm)
Enables or disables showing the confirmation dialog before returning to the workplace.- Parameters:
confirm
- true if the confirmation dialog should be shown
-
-