public interface TallyOperationsService
| Modifier and Type | Field and Description |
|---|---|
static String |
POLL
Tally type string for Polls.
|
static String |
RATING
Tally type string for Rating.
|
static String |
VOTING
Tally type string for Voting.
|
| Modifier and Type | Method and Description |
|---|---|
Resource |
addCurrentUserResponseResponse(Resource tallyResource,
String responseValue,
String tallyType)
Sets the response for the current user.
|
void |
removeCurrentUserResponse(Resource tallyResource,
String tallyType) |
Resource |
setResponse(SlingHttpServletRequest request) |
Resource |
setTallyResponse(Resource tally,
String author,
Session session,
String tallyResponse,
String tallyType,
Map<String,Object> parameters)
Allows setting a tally response for an arbitrary user of caller's choice.
|
static final String RATING
static final String VOTING
static final String POLL
Resource addCurrentUserResponseResponse(Resource tallyResource, String responseValue, String tallyType) throws OperationException
tallyResource - the tally resource on which the response is added.responseValue - the response value to set.OperationException - when an error occurs.void removeCurrentUserResponse(Resource tallyResource, String tallyType) throws OperationException
tallyResource - the tally resource on which the response is added.OperationException - when an error occurs.Resource setResponse(SlingHttpServletRequest request) throws OperationException
request - the request that triggered this operation.OperationException - if an error occurs.Resource setTallyResponse(Resource tally, String author, Session session, String tallyResponse, String tallyType, Map<String,Object> parameters) throws OperationException
tally - author - session - tallyResponse - tallyType - parameters - OperationException"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"