|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface QuestionMethods
| Method Summary | |
|---|---|
java.lang.String |
addQuestionOption(java.lang.String questionId,
java.lang.String optionDescription)
Adds the option to a question. |
java.lang.String |
createQuestion(QuestionUpdate questionUpdate)
Creates a current page's question. |
java.lang.String |
createQuestion(java.lang.String id,
QuestionUpdate questionUpdate)
Creates the question. |
boolean |
deleteQuestion(java.lang.String questionId)
Deletes the question. |
Question |
getQuestion(java.lang.String questionId)
Returns a single question. |
Question |
getQuestion(java.lang.String questionId,
Reading reading)
Returns a single question. |
ResponseList<Question.Option> |
getQuestionOptions(java.lang.String questionId)
Returns the options available as answers to the question. |
ResponseList<Question.Option> |
getQuestionOptions(java.lang.String questionId,
Reading reading)
Returns the options available as answers to the question. |
ResponseList<QuestionVotes> |
getQuestionOptionVotes(java.lang.String questionId)
Returns the votes a particular option to a question has received. |
ResponseList<Question> |
getQuestions()
Returns the current user's/page's questions. |
ResponseList<Question> |
getQuestions(Reading reading)
Returns the current user's/page's questions. |
ResponseList<Question> |
getQuestions(java.lang.String id)
Returns a user's/page's questions. |
ResponseList<Question> |
getQuestions(java.lang.String id,
Reading reading)
Returns a user's/page's questions. |
| Method Detail |
|---|
ResponseList<Question> getQuestions()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
ResponseList<Question> getQuestions(Reading reading)
throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Question> getQuestions(java.lang.String id)
throws FacebookException
id - the ID of a user/page
FacebookException - when Facebook service or network is unavailable
ResponseList<Question> getQuestions(java.lang.String id,
Reading reading)
throws FacebookException
id - the ID of a user/pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
java.lang.String createQuestion(QuestionUpdate questionUpdate)
throws FacebookException
questionUpdate - the question to be created
FacebookException - when Facebook service or network is unavailable
java.lang.String createQuestion(java.lang.String id,
QuestionUpdate questionUpdate)
throws FacebookException
id - the ID of a pagequestionUpdate - the question to be created
FacebookException - when Facebook service or network is unavailable
Question getQuestion(java.lang.String questionId)
throws FacebookException
questionId - the ID of the question
FacebookException - when Facebook service or network is unavailable
Question getQuestion(java.lang.String questionId,
Reading reading)
throws FacebookException
questionId - the ID of the questionreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
boolean deleteQuestion(java.lang.String questionId)
throws FacebookException
questionId - the ID of the question
FacebookException - when Facebook service or network is unavailable
ResponseList<Question.Option> getQuestionOptions(java.lang.String questionId)
throws FacebookException
questionId - the ID of the question
FacebookException - when Facebook service or network is unavailable
ResponseList<Question.Option> getQuestionOptions(java.lang.String questionId,
Reading reading)
throws FacebookException
questionId - the ID of the questionreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
java.lang.String addQuestionOption(java.lang.String questionId,
java.lang.String optionDescription)
throws FacebookException
questionId - the ID of the questionoptionDescription - description
FacebookException - when Facebook service or network is unavailable
ResponseList<QuestionVotes> getQuestionOptionVotes(java.lang.String questionId)
throws FacebookException
questionId - the ID of the question
FacebookException - when Facebook service or network is unavailable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||