Interface ICategoryDAO
-
- All Known Implementing Classes:
CategoryDAO
public interface ICategoryDAO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tableCategoryfindByCode(java.lang.String strCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)voidinsert(Category category, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.Categoryload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<Category>selectCategoriesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)java.util.List<Category>selectDefaultCategoriesList(fr.paris.lutece.portal.service.plugin.Plugin _plugin)voidstore(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 insertplugin- 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 Categoryplugin- the Plugin
-
delete
void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Parameters:
nKey- The identifier of the Category to deleteplugin- the Plugin
-
load
Category load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nKey- The identifier of the categoryplugin- the Plugin- Returns:
- The instance of the category
-
selectCategoriesList
java.util.List<Category> selectCategoriesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
-
findByCode
Category findByCode(java.lang.String strCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
-
selectDefaultCategoriesList
java.util.List<Category> selectDefaultCategoriesList(fr.paris.lutece.portal.service.plugin.Plugin _plugin)
-
-