fr.paris.lutece.plugins.wiki.business
Interface ITopicDAO

All Known Implementing Classes:
TopicDAO

public interface ITopicDAO

ITopicDAO Interface


Method Summary
 void delete(int nIdTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 void insert(Topic topic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 Topic load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data from the table
 Topic load(java.lang.String strTopicName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
           
 void modify(java.lang.String strTopicName, java.lang.String strContent, fr.paris.lutece.portal.service.plugin.Plugin plugin)
           
 java.util.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
 void store(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 inssert
plugin - 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 Topic
plugin - 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 delete
plugin - the Plugin

load

Topic load(int nKey,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table

Parameters:
strId - The identifier of the topic
plugin - the Plugin
Returns:
The instance of the topic

selectTopicsList

java.util.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

load

Topic load(java.lang.String strTopicName,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)

modify

void modify(java.lang.String strTopicName,
            java.lang.String strContent,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)


Copyright © 2011 Mairie de Paris. All Rights Reserved.