Interface IFreeHtmlTopicDAO
- All Known Implementing Classes:
FreeHtmlTopicDao
public interface IFreeHtmlTopicDAO
Interface for FreeHtmlTopic DAO
-
Method Summary
Modifier and TypeMethodDescriptionfindByPrimaryKey(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Get aFreeHtmlTopicby its primary key from the databasefindCollection(List<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 Details
-
findByPrimaryKey
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
Insert a newFreeHtmlTopicinto the database- Parameters:
freeHtmlTopic- TheFreeHtmlTopicto insert.plugin- The plugin
-
update
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
List<FreeHtmlTopic> findCollection(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.
-