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 Summary
Modifier and TypeMethodDescriptionvoid
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.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.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.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.
-
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 pathlocale
- the content localecallback
- 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 resourcelocale
- the content localecallback
- 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 resourcelocale
- the content localeproperties
- a map with the key/value pairs of the properties to be updatedcallback
- 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 resourcelocale
- the content localeproperties
- a map with the key/value pairs of the properties to be updatedcallback
- the call-back
-