public interface TranslationOperations extends CommentOperations
Modifier and Type | Method and Description |
---|---|
Resource |
editTranslation(Resource resource,
Session session,
String userID,
String requestURI,
String referer,
String editedTranslation,
Map<String,Object> props)
|
Resource |
editTranslation(SlingHttpServletRequest request,
Session session)
Edit the translation of
Comment based on the specified SlingHttpServletRequest using the
specified Session . |
Resource editTranslation(SlingHttpServletRequest request, Session session) throws OperationException
Comment
based on the specified SlingHttpServletRequest
using the
specified Session
.request
- session
- OperationException
- if there is an error occursResource editTranslation(Resource resource, Session session, String userID, String requestURI, String referer, String editedTranslation, Map<String,Object> props) throws OperationException
Comment
for a Resource
based on the specified userID, requestURI,
referer using the specified Session
and Map
of properties.resource
- the comment resource whose translation is being editedsession
- the user session to be used to perform the operationuserID
- to get user languagerequestURI
- to get page languagereferer
- to get page languageeditedTranslation
- the modified translation that needs to be updated and storedprops
- a list of properties for the commentOperationException
- if there is an error occurs"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"