Interface ICategoryDAO
- All Known Implementing Classes:
CategoryDAO
public interface ICategoryDAO
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablefindByCode(String strCode, fr.paris.lutece.portal.service.plugin.Plugin plugin) voidInsert a new record in the table.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectCategoriesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) selectDefaultCategoriesList(fr.paris.lutece.portal.service.plugin.Plugin _plugin) voidUpdate the record in the table
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
category- instance of the Category object to insertplugin- the Plugin
-
store
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
Load the data from the table- Parameters:
nKey- The identifier of the categoryplugin- the Plugin- Returns:
- The instance of the category
-
selectCategoriesList
-
findByCode
-
selectDefaultCategoriesList
-