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 Details

  • Constructor Details

    • 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 uploaded
      idsWithRequiredValidation - 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

      public boolean 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

      public boolean isUsePropertyConfiguration()
      Returns true if the property configurations should be used.

      Returns:
      true if the property configurations should be used
    • setAddBasicProperties

      public 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.
      Parameters:
      addBasicProperties - flag, indicating if basic properties as configured in the sitemap should be added
    • setResources

      public void setResources(Map<CmsUUID,String> resources)
      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

      public void setUsePropertyConfiguration(boolean useConfiguration)
      Enables/disables use of the property configuration.

      Parameters:
      useConfiguration - true if the property configuration should be used