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 java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
Data needed by the dialog for creating new list elements.
-
-
Constructor Summary
Constructors Constructor Description CmsListElementCreationDialogData()
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(CmsListElementCreationOption option)
Adds an option.java.lang.String
getCaption()
Gets the caption.CmsListInfoBean
getListInfo()
Gets the resource list info for the element to display on top of the dialog.java.lang.String
getMessage()
Gets the message.java.util.List<CmsListElementCreationOption>
getOptions()
Gets the options.java.lang.String
getPostCreateHandler()
Gets the post create handler.java.lang.String
getUploadFolder()
Gets the upload folder.boolean
isUpload()
Checks if adding to the list should trigger upload mode.void
setCaption(java.lang.String caption)
Sets the caption.void
setListInfo(CmsListInfoBean listInfo)
Sets the list info.void
setMessage(java.lang.String message)
Sets the message.void
setPostCreateHandler(java.lang.String postCreateHandler)
Sets the post create handler.void
setUploadFolder(java.lang.String uploadFolder)
Sets the upload folder.
-
-
-
Constructor Detail
-
CmsListElementCreationDialogData
public CmsListElementCreationDialogData()
Creates a new instance.
-
-
Method Detail
-
add
public void add(CmsListElementCreationOption option)
Adds an option.- Parameters:
option
- the option to add
-
getCaption
public java.lang.String getCaption()
Gets the caption.- Returns:
- the caption
-
getListInfo
public CmsListInfoBean getListInfo()
Gets the resource list info for the element to display on top of the dialog.- Returns:
- the list info
-
getMessage
public java.lang.String getMessage()
Gets the message.- Returns:
- the message
-
getOptions
public java.util.List<CmsListElementCreationOption> getOptions()
Gets the options.- Returns:
- the options
-
getPostCreateHandler
public java.lang.String getPostCreateHandler()
Gets the post create handler.- Returns:
- the post create handler
-
getUploadFolder
public java.lang.String getUploadFolder()
Gets the upload folder.- Returns:
- the upload folder
-
isUpload
public boolean isUpload()
Checks if adding to the list should trigger upload mode.- Returns:
- true if this requires upload mode
-
setCaption
public void setCaption(java.lang.String caption)
Sets the caption.- Parameters:
caption
- the new caption
-
setListInfo
public void setListInfo(CmsListInfoBean listInfo)
Sets the list info.- Parameters:
listInfo
- the new list info
-
setMessage
public void setMessage(java.lang.String message)
Sets the message.- Parameters:
message
- the new message
-
setPostCreateHandler
public void setPostCreateHandler(java.lang.String postCreateHandler)
Sets the post create handler.- Parameters:
postCreateHandler
- the new post create handler
-
setUploadFolder
public void setUploadFolder(java.lang.String uploadFolder)
Sets the upload folder.- Parameters:
uploadFolder
- the upload folder
-
-