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
A bean that contains both publish options and a map of projects.
- Since:
- 8.0
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
For serialization.CmsPublishData
(CmsPublishOptions options, List<CmsProjectBean> projects, CmsPublishGroupList groups, Map<String, CmsWorkflow> workflows, String selectedWorkflowId) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the close link to open when the dialog is finished.Returns the publish groups.Returns the publish options.Returns the list of projects.Returns the selected workflow.Returns the available work flow actions.boolean
Returns true if the confirmation dialog should be shown before returning to the workplace.void
setCloseLink
(String closeLink) Sets the close link.void
setShowConfirmation
(boolean confirm) Enables or disables showing the confirmation dialog before returning to the workplace.
-
Field Details
-
DICT_NAME
Name of the used dictionary.- See Also:
-
-
Constructor Details
-
CmsPublishData
protected CmsPublishData()For serialization.
-
Method Details
-
getCloseLink
Gets the close link to open when the dialog is finished.- Returns:
- the close link
-
getGroups
Returns the publish groups.- Returns:
- the publish groups
-
getOptions
Returns the publish options.- Returns:
- the publish options
-
getProjects
Returns the list of projects.- Returns:
- the list of projects
-
getSelectedWorkflowId
Returns the selected workflow.- Returns:
- the selected workflow
-
getWorkflows
Returns the available work flow actions.- Returns:
- the available work flow actions
-
isShowConfirmation
Returns true if the confirmation dialog should be shown before returning to the workplace.- Returns:
- true if the confirmation dialog is enabled
-
setCloseLink
Sets the close link.- Parameters:
closeLink
- the close link
-
setShowConfirmation
Enables or disables showing the confirmation dialog before returning to the workplace.- Parameters:
confirm
- true if the confirmation dialog should be shown
-