fr.paris.lutece.plugins.helpdesk.business
Interface IQuestionTopicDAO

All Known Implementing Classes:
QuestionTopicDAO

public interface IQuestionTopicDAO

IQuestionTopicDAO Interface


Method Summary
 void delete(int nIdQuestionTopic, 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 nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          load the data of the right from the table
 java.util.List<QuestionTopic> selectQuestionTopicList(int nIdQuestionType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Loads 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)
          Loads 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
 

Method Detail

insert

void insert(QuestionTopic questionTopic,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
questionTopic - instance of the QuestionTopic object to inssert
plugin - the Plugin

store

void store(QuestionTopic questionTopic,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table

Parameters:
questionTopic - the reference of the QuestionTopic
plugin - the Plugin

delete

void delete(int nIdQuestionTopic,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Parameters:
nIdQuestionTopic - int identifier of the QuestionTopic to delete
plugin - the Plugin

load

QuestionTopic load(int nKey,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
load the data of the right from the table

Parameters:
nKey - The identifier of the questionTopic
plugin - the Plugin
Returns:
The instance of the questionTopic

selectQuestionTopicsList

fr.paris.lutece.util.ReferenceList selectQuestionTopicsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of all the questionTopics and returns them in form of a collection

Parameters:
plugin - the Plugin
Returns:
the collection which contains the data of all the questionTopics

selectQuestionTopicList

java.util.List<QuestionTopic> selectQuestionTopicList(int nIdQuestionType,
                                                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of all the questionTopics and returns them in form of a collection

Parameters:
nIdQuestionType - int identifier of the QuestionType
plugin - the Plugin
Returns:
the collection which contains the data of all the questionTopics

selectTopicList

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

Parameters:
plugin - the Plugin
Returns:
The List which contains the data of all the questionTopics


Copyright © 2007 Mairie de Paris. All Rights Reserved.