|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.poll.business.PollHome
public final class PollHome
This class provides instances management methods (create, find, ...) for Poll objects
Method Summary | |
---|---|
static Poll |
create(Poll poll,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of an article Poll |
static java.util.List<Poll> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns Poll list |
static Poll |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of the Poll whose identifier is specified in parameter |
static java.util.List<Poll> |
getEnabledPollList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the list of avaiable polls |
static fr.paris.lutece.util.ReferenceList |
getPollsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
static void |
remove(int nIdPoll,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Deletes the Poll instance whose identifier is specified in parameter |
static Poll |
update(Poll poll,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Updates of the Poll instance specified in parameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Poll create(Poll poll, fr.paris.lutece.portal.service.plugin.Plugin plugin)
poll
- An instance of the Poll which contains the informations to storeplugin
- The Plugin object
public static Poll update(Poll poll, fr.paris.lutece.portal.service.plugin.Plugin plugin)
poll
- An instance of the Poll which contains the informations to storeconnectionService
- The ConnectionService
public static void remove(int nIdPoll, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdPoll
- The identifier of the Poll to delete in the databaseplugin
- The Plugin objectpublic static Poll findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The primary key of the poll to find in the databaseplugin
- The Plugin object
public static java.util.List<Poll> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The Plugin object
public static java.util.List<Poll> getEnabledPollList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The Plugin object
public static fr.paris.lutece.util.ReferenceList getPollsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |