Interface I_CmsPreviewServiceAsync


public interface I_CmsPreviewServiceAsync
Handles the common RPC services related to the gallery preview dialog.

Since:
8.0.0
See Also:
  • Method Details

    • getImageInfo

      void getImageInfo(String resourcePath, String locale, com.google.gwt.user.client.rpc.AsyncCallback<CmsImageInfoBean> callback)
      Returns the image resource data to be displayed in the preview dialog.

      Parameters:
      resourcePath - the resource path
      locale - the content locale
      callback - the call-back
    • getResourceInfo

      void getResourceInfo(String resourcePath, String locale, com.google.gwt.user.client.rpc.AsyncCallback<CmsResourceInfoBean> callback)
      Returns the data to be displayed in the preview dialog.

      Parameters:
      resourcePath - the path to the selected resource
      locale - the content locale
      callback - the call-back
    • updateImageProperties

      void updateImageProperties(String resourcePath, String locale, Map<String,String> properties, com.google.gwt.user.client.rpc.AsyncCallback<CmsImageInfoBean> callback)
      Saves the given properties to the resource and returns the data to be displayed in the preview dialog.

      Parameters:
      resourcePath - the path to the selected resource
      locale - the content locale
      properties - a map with the key/value pairs of the properties to be updated
      callback - the call-back
    • updateResourceProperties

      void updateResourceProperties(String resourcePath, String locale, Map<String,String> properties, com.google.gwt.user.client.rpc.AsyncCallback<CmsResourceInfoBean> callback)
      Saves the given properties to the resource and returns the data to be displayed in the preview dialog.

      Parameters:
      resourcePath - the path to the selected resource
      locale - the content locale
      properties - a map with the key/value pairs of the properties to be updated
      callback - the call-back