|
||||||||||
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.PluginPortletHome
public final class PluginPortletHome
This class provides instances management methods (create, find, ...) for PluginPortlet objects
Method Summary | |
---|---|
static PluginPortlet |
create(PluginPortlet pluginPortlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of the pluginPortlet class |
static java.util.Collection<PluginPortlet> |
findByPlugin(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a pluginPortlet whose identifier is specified in parameter |
static PluginPortlet |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a pluginPortlet whose identifier is specified in parameter |
static java.util.Collection<PluginPortlet> |
getPluginPortletsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the pluginPortlet objects and returns them in form of a collection |
static void |
remove(int nPluginPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the pluginPortlet whose identifier is specified in parameter |
static void |
removePluginPortlets(int nIdPlugin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Removes all the portlets related to the plugin |
static PluginPortlet |
update(PluginPortlet pluginPortlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the pluginPortlet 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 void removePluginPortlets(int nIdPlugin, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdPlugin
- The id of the generated pluginplugin
- The pluginpublic static PluginPortlet create(PluginPortlet pluginPortlet, fr.paris.lutece.portal.service.plugin.Plugin plugin)
pluginPortlet
- The instance of the PluginPortlet which contains the informations to storeplugin
- the Plugin
public static PluginPortlet update(PluginPortlet pluginPortlet, fr.paris.lutece.portal.service.plugin.Plugin plugin)
pluginPortlet
- The instance of the PluginPortlet which contains the data to storeplugin
- the Plugin
public static void remove(int nPluginPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPluginPortletId
- The pluginPortlet Idplugin
- the Pluginpublic static PluginPortlet findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The pluginPortlet primary keyplugin
- the Plugin
public static java.util.Collection<PluginPortlet> findByPlugin(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The pluginPortlet primary keyplugin
- the Plugin
public static java.util.Collection<PluginPortlet> getPluginPortletsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the Plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |