Class FreeHtmlTopicHome
- java.lang.Object
-
- fr.paris.lutece.plugins.newsletter.business.topic.FreeHtmlTopicHome
-
public final class FreeHtmlTopicHome extends java.lang.ObjectHome for FreeHtmlTopic objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FreeHtmlTopicfindByPrimaryKey(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Get aFreeHtmlTopicby its primary key from the databasestatic java.util.List<FreeHtmlTopic>getFreeHtmlTopicList(java.util.List<java.lang.Integer> listIds, fr.paris.lutece.portal.service.plugin.Plugin plugin)Get a list ofFreeHtmlTopicfrom a list of idsstatic voidinsertFreeHtmlTopic(FreeHtmlTopic freeHtmlTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a newFreeHtmlTopicinto the databasestatic voidremoveFreeHtmlTopic(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete aFreeHtmlTopicfrom the databasestatic voidupdateFreeHtmlTopic(FreeHtmlTopic freeHtmlTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update aFreeHtmlTopicin the database
-
-
-
Method Detail
-
findByPrimaryKey
public static FreeHtmlTopic findByPrimaryKey(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get aFreeHtmlTopicby its primary key from the database- Parameters:
nId- The id of theFreeHtmlTopicto getplugin- The plugin- Returns:
- The
FreeHtmlTopicwith the given id, or null if noFreeHtmlTopichas this id.
-
insertFreeHtmlTopic
public static void insertFreeHtmlTopic(FreeHtmlTopic freeHtmlTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a newFreeHtmlTopicinto the database- Parameters:
freeHtmlTopic- TheFreeHtmlTopicto insert.plugin- The plugin
-
updateFreeHtmlTopic
public static void updateFreeHtmlTopic(FreeHtmlTopic freeHtmlTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update aFreeHtmlTopicin the database- Parameters:
freeHtmlTopic- The new values of theFreeHtmlTopic.plugin- The plugin
-
removeFreeHtmlTopic
public static void removeFreeHtmlTopic(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete aFreeHtmlTopicfrom the database- Parameters:
nId- The id of theFreeHtmlTopicto delete.plugin- The plugin
-
getFreeHtmlTopicList
public static java.util.List<FreeHtmlTopic> getFreeHtmlTopicList(java.util.List<java.lang.Integer> listIds, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get a list ofFreeHtmlTopicfrom a list of ids- Parameters:
listIds- The list of ids ofFreeHtmlTopicto get.plugin- The plugin- Returns:
- The list of
FreeHtmlTopicfound.
-
-