fr.paris.lutece.plugins.newsletter.business.topic
Class FreeHtmlTopicDao

java.lang.Object
  extended by fr.paris.lutece.plugins.newsletter.business.topic.FreeHtmlTopicDao
All Implemented Interfaces:
IFreeHtmlTopicDAO

public class FreeHtmlTopicDao
extends Object
implements IFreeHtmlTopicDAO

DAO implementation for FreeHtmlTopic


Constructor Summary
FreeHtmlTopicDao()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FreeHtmlTopicDao

public FreeHtmlTopicDao()
Method Detail

findByPrimaryKey

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

Specified by:
findByPrimaryKey in interface IFreeHtmlTopicDAO
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

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

Specified by:
insert in interface IFreeHtmlTopicDAO
Parameters:
freeHtmlTopic - The FreeHtmlTopic to insert.
plugin - The plugin

update

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

Specified by:
update in interface IFreeHtmlTopicDAO
Parameters:
freeHtmlTopic - The new values of the FreeHtmlTopic.
plugin - The plugin

remove

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

Specified by:
remove in interface IFreeHtmlTopicDAO
Parameters:
nId - The id of the FreeHtmlTopic to delete.
plugin - The plugin

findCollection

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

Specified by:
findCollection in interface IFreeHtmlTopicDAO
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.