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
|
void |
insert(Category category,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
boolean |
isAssociateToForm(int nIdCategory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
true if there is a form associate to the category
|
Category |
load(int idKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the category from the table
|
List<Category> |
select(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all category returns them in a list
|
void |
store(Category category,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
update 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 store(Category category, fr.paris.lutece.portal.service.plugin.Plugin plugin)
category - instance of the Category object to updateplugin - the pluginvoid delete(int nIdCategory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdCategory - The identifier of the categoryplugin - the pluginCategory load(int idKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
idKey - The identifier of the categoryplugin - the pluginList<Category> select(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the pluginboolean isAssociateToForm(int nIdCategory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdCategory - the key of the categoryplugin - the pluginCopyright © 2018 City of Paris. All rights reserved.