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

java.lang.Object
  extended by fr.paris.lutece.plugins.newsletter.business.topic.FreeHtmlTopicHome

public final class FreeHtmlTopicHome
extends Object

Home for FreeHtmlTopic objects


Method Summary
static FreeHtmlTopic findByPrimaryKey(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Get a FreeHtmlTopic by its primary key from the database
static List<FreeHtmlTopic> getFreeHtmlTopicList(List<Integer> listIds, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Get a list of FreeHtmlTopic from a list of ids
static void insertFreeHtmlTopic(FreeHtmlTopic freeHtmlTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new FreeHtmlTopic into the database
static void removeFreeHtmlTopic(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a FreeHtmlTopic from the database
static void updateFreeHtmlTopic(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
 

Method Detail

findByPrimaryKey

public static 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.

insertFreeHtmlTopic

public static void insertFreeHtmlTopic(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

updateFreeHtmlTopic

public static void updateFreeHtmlTopic(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

removeFreeHtmlTopic

public static void removeFreeHtmlTopic(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

getFreeHtmlTopicList

public static List<FreeHtmlTopic> getFreeHtmlTopicList(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.