fr.paris.lutece.plugins.newsletter.business.topic
Interface IFreeHtmlTopicDAO

All Known Implementing Classes:
FreeHtmlTopicDao

public interface IFreeHtmlTopicDAO

Interface for FreeHtmlTopic DAO


Method Summary
 FreeHtmlTopic findByPrimaryKey(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Get a FreeHtmlTopic by its primary key from the database
 List<FreeHtmlTopic> findCollection(List<Integer> listIds, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Get a list of FreeHtmlTopic from a list of ids
 void insert(FreeHtmlTopic freeHtmlTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new FreeHtmlTopic into the database
 void remove(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a FreeHtmlTopic from the database
 void update(FreeHtmlTopic freeHtmlTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update a FreeHtmlTopic in the database
 

Method Detail

findByPrimaryKey

FreeHtmlTopic findByPrimaryKey(int nId,
                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get a FreeHtmlTopic by its primary key from the database

Parameters:
nId - The id of the FreeHtmlTopic to get
plugin - The plugin
Returns:
The FreeHtmlTopic with the given id, or null if no FreeHtmlTopic has this id.

insert

void insert(FreeHtmlTopic freeHtmlTopic,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new FreeHtmlTopic into the database

Parameters:
freeHtmlTopic - The FreeHtmlTopic to insert.
plugin - The plugin

update

void update(FreeHtmlTopic freeHtmlTopic,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update a FreeHtmlTopic in the database

Parameters:
freeHtmlTopic - The new values of the FreeHtmlTopic.
plugin - The plugin

remove

void remove(int nId,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a FreeHtmlTopic from the database

Parameters:
nId - The id of the FreeHtmlTopic to delete.
plugin - The plugin

findCollection

List<FreeHtmlTopic> findCollection(List<Integer> listIds,
                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get a list of FreeHtmlTopic from a list of ids

Parameters:
listIds - The list of ids of FreeHtmlTopic to get.
plugin - The plugin
Returns:
The list of FreeHtmlTopic found.


Copyright © 2013 Mairie de Paris. All Rights Reserved.