fr.paris.lutece.plugins.poll.business
Class PollChoiceDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.poll.business.PollChoiceDAO
All Implemented Interfaces:
IPollChoiceDAO

public final class PollChoiceDAO
extends java.lang.Object
implements IPollChoiceDAO

This class provides Data Access methods for PollChoice objects


Constructor Summary
PollChoiceDAO()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PollChoiceDAO

public PollChoiceDAO()
Method Detail

insert

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

Specified by:
insert in interface IPollChoiceDAO
Parameters:
pollChoice - The pollChoice object
plugin - The Plugin using this data access service

load

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

Specified by:
load in interface IPollChoiceDAO
Parameters:
nPollChoiceId - The identifier of PollChoice
plugin - The Plugin using this data access service
Returns:
the instance of the PollChoice

delete

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

Specified by:
delete in interface IPollChoiceDAO
Parameters:
nPollChoiceId - The PollChoice Id
plugin - The Plugin using this data access service

store

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

Specified by:
store in interface IPollChoiceDAO
Parameters:
pollChoice - The reference of pollChoice
plugin - The Plugin using this data access service


Copyright © 2010 Mairie de Paris. All Rights Reserved.