Class FreeHtmlTopicHome
java.lang.Object
fr.paris.lutece.plugins.newsletter.business.topic.FreeHtmlTopicHome
Home for FreeHtmlTopic objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic FreeHtmlTopicfindByPrimaryKey(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Get aFreeHtmlTopicby its primary key from the databasestatic List<FreeHtmlTopic>getFreeHtmlTopicList(List<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 Details
-
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 List<FreeHtmlTopic> getFreeHtmlTopicList(List<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.
-