public final class MenusHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static Menus |
create(Menus menus,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of the menus class
|
static Collection<Menus> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the menus objects and returns them in form of a collection
|
static Menus |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a menus whose identifier is specified in parameter
|
static int |
getNbMenus(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Search the number of portlet type for a portlet
|
static void |
remove(int nMenusId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the menus whose identifier is specified in parameter
|
static Menus |
update(Menus menus,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the menus which is specified in parameter
|
public static Menus create(Menus menus, fr.paris.lutece.portal.service.plugin.Plugin plugin)
menus - The instance of the Menus which contains the informations to storeplugin - the Pluginpublic static Menus update(Menus menus, fr.paris.lutece.portal.service.plugin.Plugin plugin)
menus - The instance of the Menus which contains the data to storeplugin - the Pluginpublic static void remove(int nMenusId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMenusId - The menus Idplugin - the Pluginpublic static Menus findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The menus primary keyplugin - the Pluginpublic static Collection<Menus> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Pluginpublic static int getNbMenus(fr.paris.lutece.portal.service.plugin.Plugin plugin)
strPortletTypeId - The Type Id of portletCopyright © 2015 City of Paris. All rights reserved.