public interface ICategoryDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdCategory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
List<Category> |
findAllCategories(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all the categories
|
Category |
findByLabel(String strLabel,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find a category by its category label
|
void |
insert(Category category,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Category |
select(int nIdCategory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
void |
update(Category category,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void insert(Category category, fr.paris.lutece.portal.service.plugin.Plugin plugin)
category - instance of the Category object to insertplugin - the Pluginvoid update(Category category, fr.paris.lutece.portal.service.plugin.Plugin plugin)
category - the reference of the Categoryplugin - the Pluginvoid delete(int nIdCategory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdCategory - identifier of the Category to deleteplugin - the PluginCategory select(int nIdCategory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdCategory - The identifier of the Categoryplugin - the PluginList<Category> findAllCategories(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the pluginCopyright © 2022 City of Paris. All rights reserved.