Package org.opencms.gwt.shared
Interface I_CmsEditableDataExtensions
public interface I_CmsEditableDataExtensions
Extended attributes for editable data generated by e.g. the <cms:display> tag.
This is mainly to simplify the implementation, so we can use the GWT AutoBean mechanism for future additions to the editable data (as long as they're convertible to JSON) and don't have to individually write the attributes to JSON.
-
Method Summary
Modifier and TypeMethodDescriptionGets the upload folder.boolean
Returns true if the upload is enabled.void
setUploadEnabled
(boolean enabled) Enables/disables uploading.void
setUploadFolder
(String uploadFolder) Sets the upload folder.
-
Method Details
-
getUploadFolder
Gets the upload folder.- Returns:
- the upload folder
-
isUploadEnabled
boolean isUploadEnabled()Returns true if the upload is enabled.- Returns:
- true if the upload is enabled
-
setUploadEnabled
Enables/disables uploading.- Parameters:
enabled
- true if the upload should be enabled
-
setUploadFolder
Sets the upload folder.- Parameters:
uploadFolder
- the upload folder
-