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 Category
|
Category |
load(int nIdCategory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of Category from the table
|
fr.paris.lutece.portal.service.image.ImageResource |
loadImageResource(int nCategoryId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the image resource corresponding to the category id
|
Collection<Category> |
selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of category
|
Collection<Category> |
selectByEvent(int nIdEvent,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of Category for an event from the table
|
Collection<Category> |
selectByName(String strCategoryName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of Category from the table
|
int |
selectCountIdEvents(int nIdCategory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the number of Events linked to a category
|
void |
store(Category category,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
Collection<Category> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Pluginvoid insert(Category category, fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Plugincategory - the new Category objectCategory load(int nIdCategory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdCategory - The id of the categoryplugin - PluginCollection<Category> selectByName(String strCategoryName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strCategoryName - The name of the categoryplugin - Pluginvoid delete(int nIdCategory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdCategory - The identifier of the object Categoryplugin - Pluginvoid store(Category category, fr.paris.lutece.portal.service.plugin.Plugin plugin)
category - The instance of the Category to updateplugin - Pluginint selectCountIdEvents(int nIdCategory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdCategory - The category idplugin - Pluginfr.paris.lutece.portal.service.image.ImageResource loadImageResource(int nCategoryId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nCategoryId - The Category idplugin - PluginCollection<Category> selectByEvent(int nIdEvent, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdEvent - The identifier of the eventplugin - PluginCopyright © 2015 City of Paris. All rights reserved.