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
ConstructorDescriptionCreates a new instance.CmsPostUploadDialogPanelBean
(CmsUUID structureId, CmsListInfoBean infoBean) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the info bean for the resource.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
setInfoBean
(CmsListInfoBean info) Sets the list info bean for the resource.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
-
getInfoBean
Gets the info bean for the resource.- Returns:
- the info bean for the resource
-
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
-
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
-