|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.pluginwizard.business.model.PluginModelHome
public final class PluginModelHome
This class provides instances management methods (create, find, ...) for PluginModel objects
Method Summary | |
---|---|
static PluginModel |
create(PluginModel pluginModel,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of the pluginModel class |
static PluginModel |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a pluginModel whose identifier is specified in parameter |
static int |
getPluginModelId(fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.String strName)
Returns the identifier of the plugin model |
static java.util.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(java.lang.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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 Plugin
public 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 Plugin
public static void remove(int nPluginModelId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPluginModelId
- The pluginModel Idplugin
- the Pluginpublic static PluginModel findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The pluginModel primary keyplugin
- the Plugin
public static java.util.Collection<PluginModel> getPluginModelsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the Plugin
public static int getPluginModelId(fr.paris.lutece.portal.service.plugin.Plugin plugin, java.lang.String strName)
plugin
- The pluginstrName
- The name of the generated plugin
public static boolean pluginExists(java.lang.String strPluginName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strPluginName
- The plugin nameplugin
- The plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |