## Uses of Class
org.silverpeas.components.questionreply.web.QuestionEntity

- Packages that use QuestionEntity
  Package | Description
  --- | ---
  org.silverpeas.components.questionreply.web |

- - ### Uses of QuestionEntity in org.silverpeas.components.questionreply.web

    Methods in org.silverpeas.components.questionreply.web that return QuestionEntity
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected QuestionEntity[]` | QuestionResource.`asWebEntities​(List<Question> questions)` | Converts the specified list of questions into their corresponding web entities.
    `protected QuestionEntity` | QuestionResource.`asWebEntity​(Question question, URI questionURI)` | Converts the question into its corresponding web entity.
    `static QuestionEntity` | QuestionEntity.`fromQuestion​(Question question, String lang)` | Creates a new question entity from the specified question.
    `QuestionEntity[]` | QuestionResource.`getAllQuestions()` |
    `QuestionEntity[]` | QuestionResource.`getAllQuestionsByCategory​(String categoryId)` |
    `QuestionEntity` | QuestionResource.`getQuestion​(String onQuestionId)` | Gets the JSON representation of the specified existing question.
    `QuestionEntity[]` | QuestionResource.`getQuestions​(Set<String> ids)` |
    `QuestionEntity` | QuestionEntity.`withURI​(URI uri)` | Sets a URI to this entity.
    `QuestionEntity` | QuestionEntity.`withUser​(org.silverpeas.core.admin.user.model.User user, org.silverpeas.core.admin.user.model.SilverpeasRole profile)` |

    Methods in org.silverpeas.components.questionreply.web that return types with arguments of type QuestionEntity
    Modifier and Type | Method | Description
    --- | --- | ---
    `static List<QuestionEntity>` | QuestionEntity.`fromQuestions​(Iterable<Question> questions, String lang)` | Creates several new reply entities from the specified list of questions.