public interface TranslationOperations extends CommentOperations
Modifier and Type | Method and Description |
---|---|
Resource |
editTranslation(Resource resource,
Session session,
java.lang.String userID,
java.lang.String requestURI,
java.lang.String referer,
java.lang.String browserLanguage,
java.lang.String editedTranslation,
java.util.Map<java.lang.String,java.lang.Object> props)
|
Resource |
editTranslation(SlingHttpServletRequest request,
Session session)
Edit the translation of
Comment based on the specified SlingHttpServletRequest using the
specified Session . |
changeState, changeState, create, create, delete, delete, delete, delete, move, move, removeAttachment, removeAttachment, update, update, uploadImage
Resource editTranslation(SlingHttpServletRequest request, Session session) throws OperationException
Comment
based on the specified SlingHttpServletRequest
using the
specified Session
.request
- SlingHttpServletRequestsession
- SessionOperationException
- if there is an error occursResource editTranslation(Resource resource, Session session, java.lang.String userID, java.lang.String requestURI, java.lang.String referer, java.lang.String browserLanguage, java.lang.String editedTranslation, java.util.Map<java.lang.String,java.lang.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 occursCopyright © 2010 - 2020 Adobe. All Rights Reserved