|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IQuestionTypeDAO
Interface for QuestionType DAO
Method Summary | |
---|---|
void |
delete(int nIdQuestionType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
fr.paris.lutece.util.ReferenceList |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all objects |
java.util.List<VisitorQuestion> |
getQuestions(int nIdQuestionType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the questions of a given type. |
java.util.List<QuestionType> |
getQuestionTypeList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all objects |
void |
insert(QuestionType questionType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
QuestionType |
load(int nIdQuestionType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of QuestionType from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Calculate a new primary key to add a new QuestionType |
void |
store(QuestionType questionType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table |
Method Detail |
---|
int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The Plugin using this data access service
void delete(int nIdQuestionType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuestionType
- the QuestionType identifierplugin
- The pluginvoid insert(QuestionType questionType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
questionType
- The QuestionType objectplugin
- The pluginQuestionType load(int nIdQuestionType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuestionType
- The identifier of QuestionTypeplugin
- The plugin
void store(QuestionType questionType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
questionType
- The instance of the QuestionType to updateplugin
- The Plugin using this data access servicefr.paris.lutece.util.ReferenceList findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The Plugin using this data access service
java.util.List<QuestionType> getQuestionTypeList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The Plugin using this data access service
java.util.List<VisitorQuestion> getQuestions(int nIdQuestionType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuestionType
- The identifier of the question typeplugin
- The Plugin using this data access service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |