| 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 | Field and Description |
|---|---|
protected List<Question> |
JCRPageList.currentListPage_ |
| Modifier and Type | Method and Description |
|---|---|
Question |
FAQService.getQuestionById(String questionId)
Gets a question by its Id.
|
Question |
DataStorage.getQuestionById(String questionId) |
Question |
Question.setLanguagesNotYetAnswered(String languagesNotYetAnswered)
Registers language is not yet answered.
|
| Modifier and Type | Method and Description |
|---|---|
List<Question> |
JCRPageList.currentPage(String username)
Get objects (question objects) is viewed in current page
|
List<Question> |
QuestionPageList.getAll()
Get all nodes is stored in a NodeIterator and sort them by FAQSetting, with each node, system get all values of this node and set them into a question object, an this question object is push into
a list questions.
|
abstract List<Question> |
JCRPageList.getAll()
abstract function to get all question.
|
List<Question> |
JCRPageList.getPage(long page,
String username)
get list questions are viewed in page which have index is specified.
|
List<Question> |
JCRPageList.getPageResultQuestionsSearch(long page,
String username) |
List<Question> |
FAQService.getQuickQuestionsByListCatetory(List<String> listCategoryId,
boolean isNotYetAnswer)
Gets quick questions from a list of categories.
|
List<Question> |
DataStorage.getQuickQuestionsByListCatetory(List<String> listCategoryId,
boolean isNotYetAnswer) |
| Modifier and Type | Method and Description |
|---|---|
static int |
Utils.getQuestionPoint(Question question)
Gets the Question point.
|
void |
AnswerEventLifeCycle.saveQuestion(Question question,
boolean isNew) |
javax.jcr.Node |
FAQService.saveQuestion(Question question,
boolean isAddNew,
FAQSetting faqSetting)
Saves information for a question which is added or updated.
|
javax.jcr.Node |
DataStorage.saveQuestion(Question question,
boolean isAddNew,
FAQSetting faqSetting) |
| Modifier and Type | Method and Description |
|---|---|
void |
QuestionPageList.setList(List<Question> contacts) |
abstract void |
JCRPageList.setList(List<Question> questions)
abtract funtion, set list question to view
|
void |
JCRPageList.setQuestion(List<Question> questions,
boolean isUpdate)
Set questions for current page.
|
| Constructor and Description |
|---|
QuestionPageList(List<Question> listQuestions,
int size)
Instantiates a new question page list.
|
| Modifier and Type | Method and Description |
|---|---|
Question |
JCRDataStorage.getQuestionById(String questionId) |
Question |
FAQServiceImpl.getQuestionById(String questionId) |
Question |
FAQServiceImpl.getQuestionById(String questionId,
org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
This method should get question node via identify
|
| Modifier and Type | Method and Description |
|---|---|
List<Question> |
JCRDataStorage.getQuickQuestionsByListCatetory(List<String> listCategoryId,
boolean isNotYetAnswer) |
List<Question> |
FAQServiceImpl.getQuickQuestionsByListCatetory(List<String> listCategoryId,
boolean isNotYetAnswer) |
| Modifier and Type | Method and Description |
|---|---|
javax.jcr.Node |
JCRDataStorage.saveQuestion(Question question,
boolean isAddNew,
FAQSetting faqSetting) |
javax.jcr.Node |
FAQServiceImpl.saveQuestion(Question question,
boolean isAddNew,
FAQSetting faqSetting) |
javax.jcr.Node |
FAQServiceImpl.saveQuestion(Question question,
boolean isAddNew,
org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
FAQSetting faqSetting)
This method should create new question or update exists question
|
Copyright © 2003–2015 eXo Platform SAS. All rights reserved.