Class CmsPostUploadDialogPanelBean
java.lang.Object
org.opencms.ade.postupload.shared.CmsPostUploadDialogPanelBean
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsPostUploadDialogPanelBean
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable
A bean representing the state of a single resource to be edited in the upload property dialog.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance.CmsPostUploadDialogPanelBean
(CmsUUID structureId, CmsListInfoBean infoBean) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the high-res preview link.Gets the info bean for the resource.Gets the full size preview permalink.Gets the first preview info text to display.Gets the second preview info text to display.Gets the image preview URL.Gets the properties for the resource.Gets the property definitions for the type of the resource.Gets the structure id of the resource.Gets the warning to display.void
setHighResPreviewLink
(String highResPreviewLink) Sets the high-res preview link.void
setInfoBean
(CmsListInfoBean info) Sets the list info bean for the resource.void
setPermalink
(String permalink) Sets the full-size preview permalink.void
setPreviewInfo1
(String text) Sets the first preview info text.void
setPreviewInfo2
(String text) Sets the second preview info text.void
setPreviewLink
(String previewLink) Sets the image preview URL.void
setProperties
(Map<String, CmsClientProperty> properties) Sets the properties for the resource.void
setPropertyDefinitions
(Map<String, CmsXmlContentProperty> propertyDefinitions) Sets the property definitions for the type of the resource.void
setStructureId
(CmsUUID structureId) Sets the structure id of the resource.void
setWarning
(String warning) Sets the warning to display.
-
Constructor Details
-
CmsPostUploadDialogPanelBean
public CmsPostUploadDialogPanelBean()Creates a new instance.
-
-
Method Details
-
getHighResPreviewLink
Gets the high-res preview link.- Returns:
- the high-res preview link
-
getInfoBean
Gets the info bean for the resource.- Returns:
- the info bean for the resource
-
getPermalink
Gets the full size preview permalink.- Returns:
- the full size preview link
-
getPreviewInfo1
Gets the first preview info text to display.- Returns:
- a preview info text
-
getPreviewInfo2
Gets the second preview info text to display.- Returns:
- a preview info text
-
getPreviewLink
Gets the image preview URL.- Returns:
- the image preview URL, if it exists, and null otherwise
-
getProperties
Gets the properties for the resource.- Returns:
- the map of properties by property name
-
getPropertyDefinitions
Gets the property definitions for the type of the resource.- Returns:
- the map of property definitions by property names
-
getStructureId
Gets the structure id of the resource.- Returns:
- the user id
-
getWarning
Gets the warning to display.- Returns:
- the warning to display
-
setHighResPreviewLink
Sets the high-res preview link.- Parameters:
highResPreviewLink
- the high-res preview link
-
setPermalink
Sets the full-size preview permalink.- Parameters:
permalink
- the full-size preview permalink
-
setPreviewInfo1
Sets the first preview info text.- Parameters:
text
- the preview info text
-
setPreviewInfo2
Sets the second preview info text.- Parameters:
text
- the preview info text
-
setPreviewLink
Sets the image preview URL.- Parameters:
previewLink
- the image preview URL
-
setProperties
Sets the properties for the resource.- Parameters:
properties
- the properties for the resource
-
setPropertyDefinitions
Sets the property definitions for the type of the resource.- Parameters:
propertyDefinitions
- the map of property definitions
-
setStructureId
Sets the structure id of the resource.- Parameters:
structureId
- the structure id of the resource
-
setWarning
Sets the warning to display.- Parameters:
warning
- the warning to display
-