public interface QnaForumOperations extends ForumOperations
Modifier and Type | Method and Description |
---|---|
Resource |
selectAnswer(Resource answerResource,
Session session)
Attempt to add a resource as the answer to the post.
|
Resource |
selectAnswer(SlingHttpServletRequest request,
Session session)
Attempt to add a resource as the answer to the post.
|
Resource |
unselectAnswer(Resource answerResource,
Session session)
Unselect an answer that has previously been marked as a chosen answer.If this is not an answer, do nothing.
|
Resource |
unselectAnswer(SlingHttpServletRequest request,
Session session)
Unselect this answer if it is the chosen answer.
|
changeState, changeState, create, create, delete, delete, delete, delete, move, move, removeAttachment, removeAttachment, update, update, uploadImage
Resource selectAnswer(SlingHttpServletRequest request, Session session) throws OperationException
request
- the client requestsession
- the user session to be used to select the answerOperationException
- if there is an error occursResource unselectAnswer(SlingHttpServletRequest request, Session session) throws OperationException
request
- the client requestsession
- the user session to be used to create the new commentQnaPost
OperationException
- if there is an error occursResource unselectAnswer(Resource answerResource, Session session) throws OperationException
answerResource
- the answer resource which needs to be unselectedsession
- user session who is unselecting the answerOperationException
- if there are any errors in unselecting the answerResource selectAnswer(Resource answerResource, Session session) throws OperationException
answerResource
- the answer resource which needs to be unselectedsession
- the user session to select the answerOperationException
- if there is an error occurs"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"