| Package | Description |
|---|---|
| org.exoplatform.faq.service |
Provides the classes necessary to manage FAQ, including creating, getting, updating, deleting or moving questions and answers.
|
| org.exoplatform.faq.service.impl |
| Modifier and Type | Method and Description |
|---|---|
QuestionLanguage[] |
Question.getMultiLanguages() |
QuestionLanguage |
FAQService.getQuestionLanguageByLanguage(String questionPath,
String language)
Gets a question's language.
|
| Modifier and Type | Method and Description |
|---|---|
List<QuestionLanguage> |
FAQService.getQuestionLanguages(String questionId)
Gets all languages of a question by its Id.
|
List<QuestionLanguage> |
DataStorage.getQuestionLanguages(String questionId) |
| Modifier and Type | Method and Description |
|---|---|
void |
FAQService.addLanguage(javax.jcr.Node questionNode,
QuestionLanguage language)
Adds a language to a question.
|
void |
FAQService.addLanguage(String questionPath,
QuestionLanguage language)
Adds a language to a question.
|
void |
FAQService.saveAnswer(String questionPath,
QuestionLanguage questionLanguage)
Saves an answer.
|
void |
Question.setMultiLanguages(QuestionLanguage[] multiLanguages) |
| Modifier and Type | Method and Description |
|---|---|
static QuestionLanguage |
MultiLanguages.getQuestionLanguageByLanguage(javax.jcr.Node questionNode,
String language) |
QuestionLanguage |
FAQServiceImpl.getQuestionLanguageByLanguage(String questionPath,
String language) |
| Modifier and Type | Method and Description |
|---|---|
List<QuestionLanguage> |
JCRDataStorage.getQuestionLanguages(String questionId) |
List<QuestionLanguage> |
FAQServiceImpl.getQuestionLanguages(String questionId) |
List<QuestionLanguage> |
FAQServiceImpl.getQuestionLanguages(String questionId,
org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
This method should lookup languageNode of question
and find all child node of language node
|
| Modifier and Type | Method and Description |
|---|---|
static void |
MultiLanguages.addLanguage(javax.jcr.Node questionNode,
QuestionLanguage language)
Adds the language node, when question have multi language,
each language is a child node of question node.
|
void |
FAQServiceImpl.addLanguage(javax.jcr.Node questionNode,
QuestionLanguage language)
Adds the language node, when question have multiple language,
each language is a child node of question node.
|
void |
FAQServiceImpl.addLanguage(String questionPath,
QuestionLanguage language) |
static void |
MultiLanguages.removeLanguage(javax.jcr.Node questionNode,
QuestionLanguage lang) |
static void |
MultiLanguages.saveAnswer(javax.jcr.Node quesNode,
QuestionLanguage questionLanguage) |
void |
FAQServiceImpl.saveAnswer(String questionPath,
QuestionLanguage questionLanguage) |
Copyright © 2003–2016 eXo Platform SAS. All rights reserved.