Constructor and Description |
---|
MenusDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nMenusId,
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 nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the menus from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
Collection<Menus> |
selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the menuss 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
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The Pluginpublic void insert(Menus menus, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Menus load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void delete(int nMenusId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(Menus menus, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Collection<Menus> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
public int selectNbMenus(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectNbMenus
in interface IMenusDAO
Copyright © 2015 City of Paris. All rights reserved.