Interface I_CmsPreviewServiceAsync

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void getImageInfo​(java.lang.String resourcePath, java.lang.String locale, com.google.gwt.user.client.rpc.AsyncCallback<CmsImageInfoBean> callback)
      Returns the image resource data to be displayed in the preview dialog.
      void getResourceInfo​(java.lang.String resourcePath, java.lang.String locale, com.google.gwt.user.client.rpc.AsyncCallback<CmsResourceInfoBean> callback)
      Returns the data to be displayed in the preview dialog.
      void updateImageProperties​(java.lang.String resourcePath, java.lang.String locale, java.util.Map<java.lang.String,​java.lang.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.
      void updateResourceProperties​(java.lang.String resourcePath, java.lang.String locale, java.util.Map<java.lang.String,​java.lang.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.
    • Method Detail

      • getImageInfo

        void getImageInfo​(java.lang.String resourcePath,
                          java.lang.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​(java.lang.String resourcePath,
                             java.lang.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​(java.lang.String resourcePath,
                                   java.lang.String locale,
                                   java.util.Map<java.lang.String,​java.lang.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​(java.lang.String resourcePath,
                                      java.lang.String locale,
                                      java.util.Map<java.lang.String,​java.lang.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