Class CmsPostUploadDialogBean
java.lang.Object
org.opencms.ade.postupload.shared.CmsPostUploadDialogBean
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsPostUploadDialogBean
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable
Runtime data bean for prefetching.
- Since:
- 8.0.0
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDefault constructor for serialization.Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the structure ids of resources for which validation is required.Returns the list of resource paths.boolean
Returns true if the basic properties configured for the sitemap should be shown.boolean
Returns true if the property configurations should be used.void
setAddBasicProperties
(boolean addBasicProperties) Set a flag, indicating if basic properties as configured in the sitemap are merged into the properties shown on file upload.void
setResources
(Map<CmsUUID, String> resources) Sets the map of resources for which the properties should be uploaded.void
setUsePropertyConfiguration
(boolean useConfiguration) Enables/disables use of the property configuration.
-
Field Details
-
DICT_NAME
Name of the used js variable.- See Also:
-
-
Constructor Details
-
CmsPostUploadDialogBean
public CmsPostUploadDialogBean()Default constructor for serialization. -
CmsPostUploadDialogBean
public CmsPostUploadDialogBean(Map<CmsUUID, String> resources, Set<CmsUUID> idsWithRequiredValidation) Creates a new instance.- Parameters:
resources
- the map of resources for which the properties should be uploadedidsWithRequiredValidation
- structurei ids of resources for which validation is required
-
-
Method Details
-
getIdsWithRequiredValidation
Gets the structure ids of resources for which validation is required.- Returns:
- the structure ids of resources for which validation is required
-
getResources
Returns the list of resource paths.- Returns:
- the list of resource paths
-
isAddBasicProperties
Returns true if the basic properties configured for the sitemap should be shown.- Returns:
- true if the basic properties configured for the sitemap should be shown.
-
isUsePropertyConfiguration
Returns true if the property configurations should be used.- Returns:
- true if the property configurations should be used
-
setAddBasicProperties
Set a flag, indicating if basic properties as configured in the sitemap are merged into the properties shown on file upload.- Parameters:
addBasicProperties
- flag, indicating if basic properties as configured in the sitemap should be added
-
setResources
Sets the map of resources for which the properties should be uploaded.- Parameters:
resources
- the map of resources for which the properties should be uploaded
-
setUsePropertyConfiguration
Enables/disables use of the property configuration.- Parameters:
useConfiguration
- true if the property configuration should be used
-