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

All Known Implementing Classes:
PollChoiceDAO

public interface IPollChoiceDAO

Author:
TaupenaS

Method Summary
 void delete(int nPollChoiceId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 void insert(PollChoice pollChoice, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 PollChoice load(int nPollChoiceId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of PollChoice from the table
 void store(PollChoice pollChoice, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 

Method Detail

delete

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

Parameters:
nPollChoiceId - The PollChoice Id
plugin - The Plugin using this data access service

insert

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

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

load

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

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

store

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

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


Copyright © 2007 Mairie de Paris. All Rights Reserved.