Package org.opencms.gwt.shared
Class CmsListElementCreationDialogData
java.lang.Object
org.opencms.gwt.shared.CmsListElementCreationDialogData
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsListElementCreationDialogData
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable
Data needed by the dialog for creating new list elements.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(CmsListElementCreationOption option) Adds an option.Gets the caption.Gets the resource list info for the element to display on top of the dialog.Gets the message.Gets the options.Gets the post create handler.Gets the upload folder.boolean
isUpload()
Checks if adding to the list should trigger upload mode.void
setCaption
(String caption) Sets the caption.void
setListInfo
(CmsListInfoBean listInfo) Sets the list info.void
setMessage
(String message) Sets the message.void
setPostCreateHandler
(String postCreateHandler) Sets the post create handler.void
setUploadFolder
(String uploadFolder) Sets the upload folder.
-
Constructor Details
-
CmsListElementCreationDialogData
public CmsListElementCreationDialogData()Creates a new instance.
-
-
Method Details
-
getCaption
Gets the caption.- Returns:
- the caption
-
getListInfo
Gets the resource list info for the element to display on top of the dialog.- Returns:
- the list info
-
getMessage
Gets the message.- Returns:
- the message
-
getOptions
Gets the options.- Returns:
- the options
-
getPostCreateHandler
Gets the post create handler.- Returns:
- the post create handler
-
getUploadFolder
Gets the upload folder.- Returns:
- the upload folder
-
isUpload
Checks if adding to the list should trigger upload mode.- Returns:
- true if this requires upload mode
-
setCaption
Sets the caption.- Parameters:
caption
- the new caption
-
setMessage
Sets the message.- Parameters:
message
- the new message
-
setPostCreateHandler
Sets the post create handler.- Parameters:
postCreateHandler
- the new post create handler
-
setUploadFolder
Sets the upload folder.- Parameters:
uploadFolder
- the upload folder