Interface IMenusDAO
-
- All Known Implementing Classes:
MenusDAO
public interface IMenusDAOIMenusDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nIdMenus, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoidinsert(Menus menus, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.Menusload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.Collection<Menus>selectAll(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 countvoidstore(Menus menus, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(Menus menus, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Parameters:
menus- instance of the Menus object to inssertplugin- the Plugin
-
store
void store(Menus menus, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Parameters:
menus- the reference of the Menusplugin- the Plugin
-
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
Menus load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nKey- The identifier of the menusplugin- the Plugin- Returns:
- The instance of the menus
-
selectAll
java.util.Collection<Menus> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
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
-
-