|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.helpdesk.business.QuestionTopicDAO
public final class QuestionTopicDAO
This class provides Data Access methods for QuestionTopic objects
Constructor Summary | |
---|---|
QuestionTopicDAO()
|
Method Summary | |
---|---|
void |
delete(int nQuestionTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
insert(QuestionTopic questionTopic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
QuestionTopic |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the questionTopic from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key |
java.util.List<QuestionTopic> |
selectQuestionTopicList(int nIdQuestionType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the questionTopics and returns them in form of a collection |
fr.paris.lutece.util.ReferenceList |
selectQuestionTopicsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the questionTopics and returns them in form of a collection |
java.util.List<QuestionTopic> |
selectTopicList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the questionTopics and returns them in form of a collection |
void |
store(QuestionTopic questionTopic,
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 QuestionTopicDAO()
Method Detail |
---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The Plugin using this data access service
public void insert(QuestionTopic questionTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IQuestionTopicDAO
questionTopic
- instance of the QuestionTopic object to insertplugin
- the Pluginpublic QuestionTopic load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IQuestionTopicDAO
nId
- The identifier of the questionTopicplugin
- the Plugin
public void delete(int nQuestionTopicId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IQuestionTopicDAO
nQuestionTopicId
- The identifier of the questionTopicplugin
- the Pluginpublic void store(QuestionTopic questionTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IQuestionTopicDAO
questionTopic
- The reference of the questionTopicplugin
- the Pluginpublic fr.paris.lutece.util.ReferenceList selectQuestionTopicsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectQuestionTopicsList
in interface IQuestionTopicDAO
plugin
- the Plugin
public java.util.List<QuestionTopic> selectTopicList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTopicList
in interface IQuestionTopicDAO
plugin
- the Plugin
public java.util.List<QuestionTopic> selectQuestionTopicList(int nIdQuestionType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectQuestionTopicList
in interface IQuestionTopicDAO
nIdQuestionType
- The Identifier of Question Typeplugin
- the Plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |