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 'expired' text for the availability information.Gets the 'released' text for the availability information.Gets the upload folder.booleanReturns true if the upload is enabled.voidsetExpiredText(String expiredText) Sets the 'expire' text for the availability information.voidsetReleasedText(String releasedText) Sets the 'release' text for the availability information.voidsetUploadEnabled(boolean enabled) Enables/disables uploading.voidsetUploadFolder(String uploadFolder) Sets the upload folder.
-
Method Details
-
getExpiredText
Gets the 'expired' text for the availability information. -
getReleasedText
Gets the 'released' text for the availability information. -
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
-
setExpiredText
Sets the 'expire' text for the availability information.- Parameters:
expiredText- the text
-
setReleasedText
Sets the 'release' text for the availability information.- Parameters:
releasedText- the text
-
setUploadEnabled
Enables/disables uploading.- Parameters:
enabled- true if the upload should be enabled
-
setUploadFolder
Sets the upload folder.- Parameters:
uploadFolder- the upload folder
-