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