public class PollsQuestionService
extends BaseService
| Constructor and Description |
|---|
PollsQuestionService(Session session) |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
addQuestion(org.json.JSONObject titleMap,
org.json.JSONObject descriptionMap,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
org.json.JSONArray choices,
JSONObjectWrapper serviceContext) |
void |
deleteQuestion(long questionId) |
org.json.JSONObject |
getQuestion(long questionId) |
org.json.JSONObject |
updateQuestion(long questionId,
org.json.JSONObject titleMap,
org.json.JSONObject descriptionMap,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
org.json.JSONArray choices,
JSONObjectWrapper serviceContext) |
public org.json.JSONObject addQuestion(org.json.JSONObject titleMap,
org.json.JSONObject descriptionMap,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
org.json.JSONArray choices,
JSONObjectWrapper serviceContext)
throws java.lang.Exception
java.lang.Exceptionpublic void deleteQuestion(long questionId)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject getQuestion(long questionId)
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONObject updateQuestion(long questionId,
org.json.JSONObject titleMap,
org.json.JSONObject descriptionMap,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
org.json.JSONArray choices,
JSONObjectWrapper serviceContext)
throws java.lang.Exception
java.lang.Exception