# Uses of Class
org.silverpeas.components.questionreply.model.Question

Packages that use Question
Package
Description
org.silverpeas.components.questionreply.index
org.silverpeas.components.questionreply.model
org.silverpeas.components.questionreply.service
org.silverpeas.components.questionreply.service.notification

- ## Uses of Question in org.silverpeas.components.questionreply.index

  Methods in org.silverpeas.components.questionreply.index with parameters of type Question
  Modifier and Type
  Method
  Description
  `void`
  QuestionIndexer.`createIndex(Question question, Collection<Reply> replies)`
  `void`
  QuestionIndexer.`deleteIndex(Question question)`
  Delete index of the specified question.
  `void`
  QuestionIndexer.`updateIndex(Question question, Collection<Reply> replies)`

- ## Uses of Question in org.silverpeas.components.questionreply.model

  Methods in org.silverpeas.components.questionreply.model that return Question
  Modifier and Type
  Method
  Description
  `Question`
  QuestionDetail.`getQuestion()`
  Methods in org.silverpeas.components.questionreply.model with parameters of type Question
  Modifier and Type
  Method
  Description
  `void`
  QuestionDetail.`setQuestion(Question question)`
  Constructors in org.silverpeas.components.questionreply.model with parameters of type Question
  Modifier
  Constructor
  Description
  ``
  `QuestionDetail(Question question)`

- ## Uses of Question in org.silverpeas.components.questionreply.service

  Methods in org.silverpeas.components.questionreply.service that return Question
  Modifier and Type
  Method
  Description
  `Question`
  QuestionManager.`getQuestion(long questionId)`
  `Question`
  SilverpeasQuestionManager.`getQuestion(long questionId)`
  `Question`
  QuestionManager.`getQuestionAndReplies(long questionId)`
  `Question`
  SilverpeasQuestionManager.`getQuestionAndReplies(long questionId)`
  Methods in org.silverpeas.components.questionreply.service that return types with arguments of type Question
  Modifier and Type
  Method
  Description
  `List<Question>`
  QuestionManager.`getAllQuestions(String instanceId)`
  `List<Question>`
  SilverpeasQuestionManager.`getAllQuestions(String instanceId)`
  `List<Question>`
  QuestionManager.`getAllQuestionsByCategory(String instanceId, String categoryId)`
  `List<Question>`
  SilverpeasQuestionManager.`getAllQuestionsByCategory(String instanceId, String categoryId)`
  `List<Question>`
  QuestionManager.`getPublicQuestions(String instanceId)`
  `List<Question>`
  SilverpeasQuestionManager.`getPublicQuestions(String instanceId)`
  `List<Question>`
  QuestionManager.`getQuestions(String instanceId)`
  `List<Question>`
  SilverpeasQuestionManager.`getQuestions(String instanceId)`
  `List<Question>`
  QuestionManager.`getQuestionsByIds(List<String> ids)`
  `List<Question>`
  SilverpeasQuestionManager.`getQuestionsByIds(List<String> ids)`
  `List<Question>`
  QuestionManager.`getReceiveQuestions(String userId, String instanceId)`
  `List<Question>`
  SilverpeasQuestionManager.`getReceiveQuestions(String userId, String instanceId)`
  `List<Question>`
  QuestionManager.`getSendQuestions(String userId, String instanceId)`
  `List<Question>`
  SilverpeasQuestionManager.`getSendQuestions(String userId, String instanceId)`
  Methods in org.silverpeas.components.questionreply.service with parameters of type Question
  Modifier and Type
  Method
  Description
  `int`
  QuestionRegexpComparator.`compare(Question question1, Question question2)`
  `long`
  QuestionManager.`createQuestion(Question question)`
  `long`
  SilverpeasQuestionManager.`createQuestion(Question question)`
  Create and persist a question with targeted recipient (be careful recipient doesn't have question identifier set)
  `long`
  QuestionManager.`createQuestionReply(Question question, Reply reply)`
  Create and persist a question reply
  `long`
  SilverpeasQuestionManager.`createQuestionReply(Question question, Reply reply)`
  Save and persist question and reply given in parameter
  `long`
  QuestionManager.`createReply(Reply reply, Question question)`
  `long`
  SilverpeasQuestionManager.`createReply(Reply reply, Question question)`
  `protected void`
  QuestionReplyContentManager.`createSilverContent(Connection con, Question question)`
  Add a new content.
  `void`
  QuestionHeader.`init(Question question)`
  `void`
  QuestionManager.`updateQuestion(Question question)`
  `void`
  SilverpeasQuestionManager.`updateQuestion(Question question)`
  `void`
  QuestionManager.`updateQuestionRecipients(Question question)`
  `void`
  SilverpeasQuestionManager.`updateQuestionRecipients(Question question)`
  `void`
  QuestionManager.`updateRepliesPrivateStatus(Collection<Long> replyIds, Question question)`
  `void`
  SilverpeasQuestionManager.`updateRepliesPrivateStatus(Collection<Long> replyIds, Question question)`
  `void`
  QuestionManager.`updateRepliesPublicStatus(Collection<Long> replyIds, Question question)`
  `void`
  SilverpeasQuestionManager.`updateRepliesPublicStatus(Collection<Long> replyIds, Question question)`
  `protected void`
  QuestionReplyContentManager.`updateSilverContentVisibility(Question question)`
  update the visibility attributes of the content.
  Constructors in org.silverpeas.components.questionreply.service with parameters of type Question
  Modifier
  Constructor
  Description
  ``
  `QuestionHeader(Question question)`
  ``
  `QuestionHeader(Question question, String instanceId, String date, String creatorId)`

- ## Uses of Question in org.silverpeas.components.questionreply.service.notification

  Constructors in org.silverpeas.components.questionreply.service.notification with parameters of type Question
  Modifier
  Constructor
  Description
  ``
  `QuestionNotifier(org.silverpeas.core.admin.user.model.User sender, Question question, Collection<String> usersToNotify)`
  ``
  `ReplyNotifier(org.silverpeas.core.admin.user.model.User sender, Question question, Reply reply, String recipientId)`
  ``
  `SubscriptionNotifier(org.silverpeas.core.admin.user.model.User sender, Question question, Reply reply)`