fr.paris.lutece.plugins.appstore.business
Interface ICategoryDAO

All Known Implementing Classes:
CategoryDAO

public interface ICategoryDAO

ICategoryDAO Interface


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 record in the table.
 Category load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data from the table
 Collection<Category> selectCategorysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all the category objects and returns them as a collection
 void store(Category category, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 

Method Detail

insert

void insert(Category category,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
category - instance of the Category object to inssert
plugin - the Plugin

store

void store(Category category,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table

Parameters:
category - the reference of the Category
plugin - the Plugin

delete

void delete(int nIdCategory,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Parameters:
nIdCategory - int identifier of the Category to delete
plugin - the Plugin

load

Category load(int nKey,
              fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table

Parameters:
strId - The identifier of the category
plugin - the Plugin
Returns:
The instance of the category

selectCategorysList

Collection<Category> selectCategorysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the category objects and returns them as a collection

Parameters:
plugin - the Plugin
Returns:
The collection which contains the data of all the category objects


Copyright © 2014 Mairie de Paris. All Rights Reserved.