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) |
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."Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"