|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.poll.business.PollDAO
public final class PollDAO
This class provides Data Access methods for Poll objects
| Constructor Summary | |
|---|---|
PollDAO()
|
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PollDAO()
| Method Detail |
|---|
public void insert(Poll poll,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IPollDAOpoll - The poll objectplugin - The Plugin using this data access service
public Poll load(int nPollId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IPollDAOnPollId - The identifier of Pollplugin - The Plugin using this data access service
public void delete(int nPollId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IPollDAOnPollId - The Poll Idplugin - The Plugin using this data access service
public void store(Poll poll,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IPollDAOpoll - The reference of pollplugin - The Plugin using this data access servicepublic java.util.List<Poll> selectPollsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPollsList in interface IPollDAOplugin - The Plugin using this data access service
public fr.paris.lutece.util.ReferenceList getPollsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
getPollsList in interface IPollDAOplugin - The Plugin using this data access service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||