|
Jive API (3.0.13) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QuestionManager
Manages questions.
| Method Summary | |
|---|---|
Question |
createQuestion(ForumThread thread)
Creates a new question. |
void |
deleteQuestion(Question question)
Deletes an existing question. |
void |
deleteUserQuestions(User user)
Delete all questions authored by the given user. |
int |
getHelpfulAnswersPerThread()
Returns the number of helpful answers allowed per question. |
Question |
getQuestion(ForumThread thread)
Returns the question associated with a thread. |
int |
getQuestionCount()
Returns the count of all questions in the system. |
int |
getQuestionCount(JiveContainer container)
Returns the count of all questions in a container. |
int |
getQuestionCount(JiveContainer container,
QuestionFilter questionFilter)
Returns the count of questions in a container that pass the specified question filter. |
int |
getQuestionCount(QuestionFilter questionFilter)
Returns the count of all questions in the system that pass the specified question filter. |
JiveIterator<Question> |
getQuestions()
Returns an iterable for all questions in the system. |
JiveIterator<Question> |
getQuestions(JiveContainer container)
Returns an iterable for all questions in a container. |
JiveIterator<Question> |
getQuestions(JiveContainer container,
QuestionFilter questionFilter)
Returns an iterable for all questions in a categetory that pass the specified question filter. |
JiveIterator<Question> |
getQuestions(QuestionFilter questionFilter)
Returns an iterable for all questions in the system that pass the specified question filter. |
boolean |
hasQuestion(ForumThread thread)
Returns true if the thread has a question associated with it. |
void |
setHelpfulAnswersPerThread(int count)
Sets the number of helpful answers allowed per question. |
| Methods inherited from interface com.jivesoftware.community.JiveManager |
|---|
destroy |
| Method Detail |
|---|
int getHelpfulAnswersPerThread()
void setHelpfulAnswersPerThread(int count)
throws UnauthorizedException
count - the number of helpful answers allowed per thread.
UnauthorizedException - if not a system administrator.
Question getQuestion(ForumThread thread)
throws NotFoundException
thread - the thread.
NotFoundException - if the question for the thread could not be found.boolean hasQuestion(ForumThread thread)
thread - the thread.
void deleteUserQuestions(User user)
user - the author of the deleted questions.
Question createQuestion(ForumThread thread)
throws UnauthorizedException
thread - the thread the question is associated with.
UnauthorizedException
void deleteQuestion(Question question)
throws UnauthorizedException
question - the question.
UnauthorizedExceptionint getQuestionCount()
int getQuestionCount(QuestionFilter questionFilter)
questionFilter - the question filter.
int getQuestionCount(JiveContainer container)
container - the container.
int getQuestionCount(JiveContainer container,
QuestionFilter questionFilter)
container - the container.questionFilter - the question filter.
JiveIterator<Question> getQuestions()
JiveIterator<Question> getQuestions(QuestionFilter questionFilter)
questionFilter - the question filter.
JiveIterator<Question> getQuestions(JiveContainer container)
container - the container.
JiveIterator<Question> getQuestions(JiveContainer container,
QuestionFilter questionFilter)
container - the jive container.questionFilter - the question filter.
|
Jive Product Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||