Interface IMenusDAO
- All Known Implementing Classes:
MenusDAO
public interface IMenusDAO
IMenusDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nIdMenus, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoidInsert a new record in the table.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the menus objects and returns them as a collectionintselectNbMenus(fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns the menus countvoidUpdate the record in the table
-
Method Details
-
delete
void delete(int nIdMenus, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
nIdMenus- int identifier of the Menus to deleteplugin- the Plugin
-
load
Load the data from the table- Parameters:
nKey- The identifier of the menusplugin- the Plugin- Returns:
- The instance of the menus
-
selectAll
Load the data of all the menus objects and returns them as a collection- Parameters:
plugin- the Plugin- Returns:
- The collection which contains the data of all the menus objects
-
selectNbMenus
int selectNbMenus(fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns the menus count- Parameters:
plugin- the Plugin- Returns:
- nCount