|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.helpdesk.business.QuestionTypeHome
public final class QuestionTypeHome
This class provides instances management methods (create, find, ...) for QuestionType objects
| Method Summary | |
|---|---|
static QuestionType |
create(QuestionType questionType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of an article QuestionType |
static fr.paris.lutece.util.ReferenceList |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns QuestionType list |
static QuestionType |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of the article QuestionType whose identifier is specified in parameter |
static java.util.List<VisitorQuestion> |
getQuestions(int nIdQuestionType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return all the users for a given question type. |
static void |
remove(int nIdQuestionType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Deletes the QuestionType instance whose identifier is specified in parameter |
static java.util.List<QuestionType> |
selectQuestionTypeList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns QuestionType list |
static QuestionType |
update(QuestionType questionType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Updates of the QuestionType 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 QuestionType create(QuestionType questionType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
questionType - An instance of the QuestionType which contains the informations to storeplugin - The current plugin using this method
public static QuestionType update(QuestionType questionType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
questionType - An instance of the QuestionType which contains the informations to storeplugin - The current plugin using this method
public static void remove(int nIdQuestionType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuestionType - The identifier of the article QuestionType to delete in the databaseplugin - The current plugin using this method
public static QuestionType findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The primary key of the article to find in the databaseplugin - The current plugin using this method
public static fr.paris.lutece.util.ReferenceList findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The current plugin using this method
public static java.util.List<QuestionType> selectQuestionTypeList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The current plugin using this method
public static java.util.List<VisitorQuestion> getQuestions(int nIdQuestionType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuestionType - The identifier of the question typeplugin - The Plugin using this data access service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||