|
||||||||||
| 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 | |
|---|---|
int |
CountUser(int nIdUser,
int nIdQuestionType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
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 |
fr.paris.lutece.util.ReferenceList |
getQuestionTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
java.util.List<fr.paris.lutece.portal.business.user.AdminUser> |
getUsersRoles(int nIdQuestionType)
Return all the users for a given question type. |
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 identifier
void insert(QuestionType questionType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
questionType - The QuestionType object
QuestionType load(int nIdQuestionType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuestionType - The identifier of QuestionType
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
fr.paris.lutece.util.ReferenceList getQuestionTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
int CountUser(int nIdUser,
int nIdQuestionType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The current plugin using this methodnIdUser - The user IDnIdQuestionType - the question type ID
java.util.List<fr.paris.lutece.portal.business.user.AdminUser> getUsersRoles(int nIdQuestionType)
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 | |||||||||