|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.poll.business.PollChoiceHome
public final class PollChoiceHome
This class provides instances management methods (create, find, ...) for PollChoice objects
| Method Summary | |
|---|---|
static PollChoice |
create(PollChoice choice,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of an article PollChoice |
static PollChoice |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of the article PollChoice whose identifier is specified in parameter |
static void |
remove(int nIdChoice,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Deletes the PollChoice instance whose identifier is specified in parameter |
static PollChoice |
update(PollChoice choice,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Updates of the PollChoice 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 PollChoice create(PollChoice choice,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
choice - An instance of the PollChoice which contains the informations to storeplugin - The Plugin object
public static PollChoice update(PollChoice choice,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
choice - An instance of the PollChoice which contains the informations to storeplugin - The Plugin object
public static void remove(int nIdChoice,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdChoice - The identifier of the article PollChoice to delete in the databaseplugin - The Plugin object
public static PollChoice findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The primary key of the article to find in the databaseplugin - The Plugin object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||