|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.menus.business.MenusDAO
public final class MenusDAO
This class provides Data Access methods for Menus objects
| Constructor Summary | |
|---|---|
MenusDAO()
|
|
| Method Summary | |
|---|---|
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 |
java.util.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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MenusDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin
public void insert(Menus menus,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IMenusDAOmenus - instance of the Menus object to insertplugin - The plugin
public Menus load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IMenusDAOnId - The identifier of the menusplugin - The plugin
public void delete(int nMenusId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IMenusDAOnMenusId - The identifier of the menusplugin - The plugin
public void store(Menus menus,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IMenusDAOmenus - The reference of the menusplugin - The pluginpublic java.util.Collection<Menus> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAll in interface IMenusDAOplugin - The plugin
public int selectNbMenus(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectNbMenus in interface IMenusDAO
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||