## 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.`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.`getQuestion​(String onQuestionId)` | Gets the JSON representation of the specified existing question.
    `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
    --- | --- | ---
    `protected List<QuestionEntity>` | QuestionResource.`asWebEntities​(List<Question> questions)` | Converts the specified list of questions into their corresponding web entities.
    `static List<QuestionEntity>` | QuestionEntity.`fromQuestions​(Iterable<Question> questions, String lang)` | Creates several new reply entities from the specified list of questions.
    `List<QuestionEntity>` | QuestionResource.`getAllQuestions()` |
    `List<QuestionEntity>` | QuestionResource.`getAllQuestionsByCategory​(String categoryId)` |
    `List<QuestionEntity>` | QuestionResource.`getQuestions​(Set<String> ids)` |