|
||||||||||
| 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 |
java.util.List<QuestionTopic> |
selectQuestionTopicsList(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)
public void insert(QuestionTopic questionTopic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IQuestionTopicDAOquestionTopic - instance of the QuestionTopic object to insertPlugin - plugin
public QuestionTopic load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IQuestionTopicDAOnId - The identifier of the questionTopicPlugin - plugin
public void delete(int nQuestionTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IQuestionTopicDAOnQuestionTopicId - The identifier of the questionTopicPlugin - plugin
public void store(QuestionTopic questionTopic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IQuestionTopicDAOquestionTopic - The reference of the questionTopicPlugin - pluginpublic java.util.List<QuestionTopic> selectQuestionTopicsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectQuestionTopicsList in interface IQuestionTopicDAOPlugin - plugin
public java.util.List<QuestionTopic> selectQuestionTopicList(int nIdQuestionType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectQuestionTopicList in interface IQuestionTopicDAOPlugin - plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||