Interface I_CmsPostUploadDialogServiceAsync


Asynchronous service interface for the upload property dialog.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    load(CmsUUID uuid, boolean useConfiguration, boolean addBasicProperties, com.google.gwt.user.client.rpc.AsyncCallback<CmsPostUploadDialogPanelBean> asyncCallback)
    Loads the dialog bean info for the given resource.
    void
    prefetch(com.google.gwt.user.client.rpc.AsyncCallback<CmsPostUploadDialogBean> asyncCallback)
    Generates dialog data for prefetching in the host page.
    void
    updateAllFiles(List<CmsUUID> ids, String propName, String propValue, boolean overwriteNonEmpty, boolean withBasicProperties, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
    Updates the given property on all indicated files (if the property is available).
  • Method Details

    • load

      void load(CmsUUID uuid, boolean useConfiguration, boolean addBasicProperties, com.google.gwt.user.client.rpc.AsyncCallback<CmsPostUploadDialogPanelBean> asyncCallback)
      Loads the dialog bean info for the given resource.

      Parameters:
      uuid - the structure id of the resource to load
      useConfiguration - true if the property configurations should be used
      addBasicProperties - if true, the basic properties configured for the sitemap are added in the dialog
      asyncCallback - the asynchronous callback for the result
    • prefetch

      void prefetch(com.google.gwt.user.client.rpc.AsyncCallback<CmsPostUploadDialogBean> asyncCallback)
      Generates dialog data for prefetching in the host page.

      Parameters:
      asyncCallback - the asynchronous callback for the result
    • updateAllFiles

      void updateAllFiles(List<CmsUUID> ids, String propName, String propValue, boolean overwriteNonEmpty, boolean withBasicProperties, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
      Updates the given property on all indicated files (if the property is available).
      Parameters:
      ids - the structure ids of the files to update
      propName - the property name
      propValue - the property value
      overwriteNonEmpty - true if non-empty properties should be overwritten
      withBasicProperties - true if the basic properties should be taken into account
      callback - the callback to call with the result