Interface I_CmsPreviewServiceAsync
-
public interface I_CmsPreviewServiceAsync
Handles the common RPC services related to the gallery preview dialog.- Since:
- 8.0.0
- See Also:
CmsPreviewService
,I_CmsPreviewService
,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 pathlocale
- the content localecallback
- 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 resourcelocale
- the content localecallback
- 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 resourcelocale
- the content localeproperties
- a map with the key/value pairs of the properties to be updatedcallback
- 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 resourcelocale
- the content localeproperties
- a map with the key/value pairs of the properties to be updatedcallback
- the call-back
-
-