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