public final class PluginModelHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static PluginModel |
create(PluginModel pluginModel,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of the pluginModel class
|
static int |
getPluginModelId(fr.paris.lutece.portal.service.plugin.Plugin plugin,
String strName)
Returns the identifier of the plugin model
|
static Collection<PluginModel> |
getPluginModelsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the pluginModel objects and returns them in form of a collection
|
static boolean |
pluginExists(String strPluginName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
A boolean to indicate if plugin exists
|
static void |
remove(int nPluginModelId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the pluginModel whose identifier is specified in parameter
|
static PluginModel |
update(PluginModel pluginModel,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the pluginModel which is specified in parameter
|
public static PluginModel create(PluginModel pluginModel, fr.paris.lutece.portal.service.plugin.Plugin plugin)
pluginModel - The instance of the PluginModel which contains the informations to storeplugin - the Pluginpublic static PluginModel update(PluginModel pluginModel, fr.paris.lutece.portal.service.plugin.Plugin plugin)
pluginModel - The instance of the PluginModel which contains the data to storeplugin - the Pluginpublic static void remove(int nPluginModelId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPluginModelId - The pluginModel Idplugin - the Pluginpublic static Collection<PluginModel> getPluginModelsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Pluginpublic static int getPluginModelId(fr.paris.lutece.portal.service.plugin.Plugin plugin,
String strName)
plugin - The pluginstrName - The name of the generated pluginpublic static boolean pluginExists(String strPluginName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strPluginName - The plugin nameplugin - The pluginCopyright © 2015 City of Paris. All rights reserved.