public interface IMenusDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdMenus,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(Menus menus,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Menus |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
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
|
int |
selectNbMenus(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the menus count
|
void |
store(Menus menus,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void insert(Menus menus, fr.paris.lutece.portal.service.plugin.Plugin plugin)
menus
- instance of the Menus object to inssertplugin
- the Pluginvoid store(Menus menus, fr.paris.lutece.portal.service.plugin.Plugin plugin)
menus
- the reference of the Menusplugin
- the Pluginvoid delete(int nIdMenus, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdMenus
- int identifier of the Menus to deleteplugin
- the PluginMenus load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strId
- The identifier of the menusplugin
- the PluginCollection<Menus> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the Pluginint selectNbMenus(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copyright © 2015 City of Paris. All rights reserved.