| Package | Description |
|---|---|
| fr.paris.lutece.plugins.quiz.business |
| Modifier and Type | Method and Description |
|---|---|
static Answer |
AnswerHome.create(int nIdQuestion,
Answer answer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of the answer class
|
static Answer |
AnswerHome.findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a answer whose identifier is specified in
parameter
|
Answer |
AnswerDAO.load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the answer from the table
|
Answer |
IAnswerDAO.load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
static Answer |
AnswerHome.update(Answer answer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the answer which is specified in parameter
|
| Modifier and Type | Method and Description |
|---|---|
List<Answer> |
QuizQuestion.getAnswers()
Gest answer to a question
|
static List<Answer> |
AnswerHome.getAnswersList(int nIdQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the answer objects and returns them in form of a
list
|
List<Answer> |
AnswerDAO.selectAnswersList(int nIdQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the answers and returns them as a List
|
List<Answer> |
IAnswerDAO.selectAnswersList(int nIdQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the answer objects and returns them as a List
|
| Modifier and Type | Method and Description |
|---|---|
static Answer |
AnswerHome.create(int nIdQuestion,
Answer answer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of the answer class
|
void |
AnswerDAO.insert(int nIdQuestion,
Answer answer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
void |
IAnswerDAO.insert(int nIdQuestion,
Answer answer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
void |
AnswerDAO.store(Answer answer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void |
IAnswerDAO.store(Answer answer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
static Answer |
AnswerHome.update(Answer answer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the answer which is specified in parameter
|
| Modifier and Type | Method and Description |
|---|---|
void |
QuizQuestion.setAnswers(List<Answer> listAnswers)
Sets answsers to the question
|
Copyright © 2015 City of Paris. All rights reserved.