|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.poll.business.PollQuestionDAO
public final class PollQuestionDAO
This class provides Data Access methods for PollQuestion objects
Constructor Summary | |
---|---|
PollQuestionDAO()
|
Method Summary | |
---|---|
void |
delete(int nPollQuestionId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
insert(PollQuestion pollQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
PollQuestion |
load(int nPollQuestionId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of PollQuestion from the table |
java.util.List<PollQuestion> |
selectPollQuestionListByPoll(int nIdPoll,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of pollQuestions by poll id |
void |
store(PollQuestion pollQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PollQuestionDAO()
Method Detail |
---|
public void insert(PollQuestion pollQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IPollQuestionDAO
pollQuestion
- The pollQuestion objectplugin
- The Plugin using this data access servicepublic PollQuestion load(int nPollQuestionId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IPollQuestionDAO
nPollQuestionId
- The identifier of PollQuestionplugin
- The Plugin using this data access service
public void delete(int nPollQuestionId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IPollQuestionDAO
nPollQuestionId
- The PollQuestion Idplugin
- The Plugin using this data access servicepublic void store(PollQuestion pollQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IPollQuestionDAO
pollQuestion
- The reference of pollQuestionplugin
- The Plugin using this data access servicepublic java.util.List<PollQuestion> selectPollQuestionListByPoll(int nIdPoll, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPollQuestionListByPoll
in interface IPollQuestionDAO
nIdPoll
- The poll identifierplugin
- The Plugin using this data access service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |