|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICategoryDAO
Interface for Category DAO
| Method Summary | |
|---|---|
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 |
java.util.Collection<Category> |
selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of category |
java.util.Collection<Category> |
selectByEvent(int nIdEvent,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of Category for an event from the table |
java.util.Collection<Category> |
selectByName(java.lang.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 |
| Method Detail |
|---|
java.util.Collection<Category> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Plugin
void insert(Category category,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Plugincategory - the new Category object
Category load(int nIdCategory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdCategory - The id of the categoryplugin - Plugin
java.util.Collection<Category> selectByName(java.lang.String strCategoryName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strCategoryName - The name of the categoryplugin - Plugin
void delete(int nIdCategory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdCategory - The identifier of the object Categoryplugin - Plugin
void store(Category category,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
category - The instance of the Category to updateplugin - Plugin
int selectCountIdEvents(int nIdCategory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdCategory - The category idplugin - Plugin
fr.paris.lutece.portal.service.image.ImageResource loadImageResource(int nCategoryId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nCategoryId - The Category idplugin - Plugin
java.util.Collection<Category> selectByEvent(int nIdEvent,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdEvent - The identifier of the eventplugin - Plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||