Interface IFreeHtmlTopicDAO
-
- All Known Implementing Classes:
FreeHtmlTopicDao
public interface IFreeHtmlTopicDAOInterface for FreeHtmlTopic DAO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FreeHtmlTopicfindByPrimaryKey(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Get aFreeHtmlTopicby its primary key from the databasejava.util.List<FreeHtmlTopic>findCollection(java.util.List<java.lang.Integer> listIds, fr.paris.lutece.portal.service.plugin.Plugin plugin)Get a list ofFreeHtmlTopicfrom a list of idsvoidinsert(FreeHtmlTopic freeHtmlTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a newFreeHtmlTopicinto the databasevoidremove(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete aFreeHtmlTopicfrom the databasevoidupdate(FreeHtmlTopic freeHtmlTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update aFreeHtmlTopicin the database
-
-
-
Method Detail
-
findByPrimaryKey
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.
-
insert
void insert(FreeHtmlTopic freeHtmlTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a newFreeHtmlTopicinto the database- Parameters:
freeHtmlTopic- TheFreeHtmlTopicto insert.plugin- The plugin
-
update
void update(FreeHtmlTopic freeHtmlTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update aFreeHtmlTopicin the database- Parameters:
freeHtmlTopic- The new values of theFreeHtmlTopic.plugin- The plugin
-
remove
void remove(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete aFreeHtmlTopicfrom the database- Parameters:
nId- The id of theFreeHtmlTopicto delete.plugin- The plugin
-
findCollection
java.util.List<FreeHtmlTopic> findCollection(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.
-
-