public interface TranslationOperations extends CommentOperations
| Modifier and Type | Method and Description |
|---|---|
Resource |
editTranslation(Resource resource,
Session session,
String userID,
String requestURI,
String referer,
String browserLanguage,
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. |
create, create, delete, delete, move, move, update, update, uploadImageResource 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 browserLanguage, 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 languagebrowserLanguage - to get browser language if user language is missingeditedTranslation - the modified translation that needs to be updated and storedprops - a list of properties for the commentOperationException - if there is an error occurs"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"