fr.paris.lutece.plugins.poll.business
Interface IPollQuestionDAO

All Known Implementing Classes:
PollQuestionDAO

public interface IPollQuestionDAO

Author:
TaupenaS

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
 

Method Detail

delete

void delete(int nPollQuestionId,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Parameters:
nPollQuestionId - The PollQuestion Id
plugin - The Plugin using this data access service

insert

void insert(PollQuestion pollQuestion,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
pollQuestion - The pollQuestion object
plugin - The Plugin using this data access service

load

PollQuestion load(int nPollQuestionId,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of PollQuestion from the table

Parameters:
nPollQuestionId - The identifier of PollQuestion
plugin - The Plugin using this data access service
Returns:
the instance of the PollQuestion

selectPollQuestionListByPoll

java.util.List<PollQuestion> selectPollQuestionListByPoll(int nIdPoll,
                                                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of pollQuestions by poll id

Parameters:
nIdPoll - The poll identifier
plugin - The Plugin using this data access service
Returns:
The List of the PollQuestions

store

void store(PollQuestion pollQuestion,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table

Parameters:
pollQuestion - The reference of pollQuestion
plugin - The Plugin using this data access service


Copyright © 2008 Mairie de Paris. All Rights Reserved.