public class FreeHtmlTopicDao extends Object implements IFreeHtmlTopicDAO
FreeHtmlTopic| Constructor and Description |
|---|
FreeHtmlTopicDao() |
| Modifier and Type | Method and Description |
|---|---|
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 |
public FreeHtmlTopic findByPrimaryKey(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
FreeHtmlTopic by its primary key from the databasefindByPrimaryKey in interface IFreeHtmlTopicDAOnId - The id of the FreeHtmlTopic to getplugin - The pluginFreeHtmlTopic with the given id, or null if no
FreeHtmlTopic has this id.public void insert(FreeHtmlTopic freeHtmlTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
FreeHtmlTopic into the databaseinsert in interface IFreeHtmlTopicDAOfreeHtmlTopic - The FreeHtmlTopic to insert.plugin - The pluginpublic void update(FreeHtmlTopic freeHtmlTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
FreeHtmlTopic in the databaseupdate in interface IFreeHtmlTopicDAOfreeHtmlTopic - The new values of the FreeHtmlTopic.plugin - The pluginpublic void remove(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
FreeHtmlTopic from the databaseremove in interface IFreeHtmlTopicDAOnId - The id of the FreeHtmlTopic to delete.plugin - The pluginpublic List<FreeHtmlTopic> findCollection(List<Integer> listIds, fr.paris.lutece.portal.service.plugin.Plugin plugin)
FreeHtmlTopic from a list of idsfindCollection in interface IFreeHtmlTopicDAOlistIds - The list of ids of FreeHtmlTopic to get.plugin - The pluginFreeHtmlTopic found.Copyright © 2014 Mairie de Paris. All rights reserved.