Class CmsPostUploadDialogBean

  • All Implemented Interfaces:
    com.google.gwt.user.client.rpc.IsSerializable

    public class CmsPostUploadDialogBean
    extends java.lang.Object
    implements com.google.gwt.user.client.rpc.IsSerializable
    Runtime data bean for prefetching.

    Since:
    8.0.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DICT_NAME
      Name of the used js variable.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<CmsUUID> getIdsWithRequiredValidation()
      Gets the structure ids of resources for which validation is required.
      java.util.Map<CmsUUID,​java.lang.String> getResources()
      Returns the list of resource paths.
      boolean isAddBasicProperties()
      Returns true if the basic properties configured for the sitemap should be shown.
      boolean isUsePropertyConfiguration()
      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​(java.util.Map<CmsUUID,​java.lang.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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CmsPostUploadDialogBean

        public CmsPostUploadDialogBean​(java.util.Map<CmsUUID,​java.lang.String> resources,
                                       java.util.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 Detail

      • getIdsWithRequiredValidation

        public java.util.Set<CmsUUIDgetIdsWithRequiredValidation()
        Gets the structure ids of resources for which validation is required.
        Returns:
        the structure ids of resources for which validation is required
      • getResources

        public java.util.Map<CmsUUID,​java.lang.String> 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​(java.util.Map<CmsUUID,​java.lang.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