Interface I_CmsPreviewService
- All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService
- All Known Implementing Classes:
CmsPreviewService
Handles the common RPC services related to the gallery preview dialog.
- Since:
- 8.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetImageInfo
(String resourcePath, String locale) Returns the image resource data to be displayed in the preview dialog.getResourceInfo
(String resourcePath, String locale) Returns the data to be displayed in the preview dialog.Saves the given properties to the resource and returns the data to be displayed in the preview dialog.Saves the given properties to the resource and returns the data to be displayed in the preview dialog.
-
Method Details
-
getImageInfo
Returns the image resource data to be displayed in the preview dialog.- Parameters:
resourcePath
- the resource pathlocale
- the content locale- Returns:
- the image resource data
- Throws:
CmsRpcException
- if something goes wrong
-
getResourceInfo
Returns the data to be displayed in the preview dialog.- Parameters:
resourcePath
- the path to the selected resourcelocale
- the content locale- Returns:
- the preview data
- Throws:
CmsRpcException
- if something goes wrong
-
updateImageProperties
CmsImageInfoBean updateImageProperties(String resourcePath, String locale, Map<String, String> properties) throws CmsRpcExceptionSaves 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 updated- Returns:
- the updates preview data
- Throws:
CmsRpcException
- if something goes wrong
-
updateResourceProperties
CmsResourceInfoBean updateResourceProperties(String resourcePath, String locale, Map<String, String> properties) throws CmsRpcExceptionSaves 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 updated- Returns:
- the updates preview data
- Throws:
CmsRpcException
- if something goes wrong
-