Interface ITopicDAO
-
- All Known Implementing Classes:
TopicDAO
public interface ITopicDAOITopicDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nIdTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoidinsert(Topic topic, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.Topicload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tableTopicload(String strTopicName, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load a topicCollection<Topic>selectTopicsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the topic objects and returns them as a collectionvoidstore(Topic topic, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(Topic topic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Parameters:
topic- instance of the Topic object to inssertplugin- the Plugin
-
store
void store(Topic topic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Parameters:
topic- the reference of the Topicplugin- the Plugin
-
delete
void delete(int nIdTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Parameters:
nIdTopic- int identifier of the Topic to deleteplugin- the Plugin
-
load
Topic load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nKey- The keyplugin- the Plugin- Returns:
- The instance of the topic
-
selectTopicsList
Collection<Topic> selectTopicsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the topic objects and returns them as a collection- Parameters:
plugin- the Plugin- Returns:
- The collection which contains the data of all the topic objects
-
-