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

All Known Implementing Classes:
PollDAO

public interface IPollDAO

PollDAO Interface


Method Summary
 void delete(int nPollId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 fr.paris.lutece.util.ReferenceList getPollsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the list of polls as a ReferenceList
 void insert(Poll poll, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 Poll load(int nPollId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of Poll from the table
 java.util.List<Poll> selectPollsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the list of polls
 void store(Poll poll, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 

Method Detail

delete

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

Parameters:
nPollId - The Poll Id
plugin - The Plugin using this data access service

selectPollsList

java.util.List<Poll> selectPollsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of polls

Parameters:
plugin - The Plugin using this data access service
Returns:
The list of the Polls as a List object

insert

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

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

load

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

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

store

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

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

getPollsList

fr.paris.lutece.util.ReferenceList getPollsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of polls as a ReferenceList

Parameters:
plugin - The Plugin using this data access service


Copyright © 2008 Mairie de Paris. All Rights Reserved.