|
||||||||||
| 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.PortletHome
public final class PortletHome
This class provides instances management methods (create, find, ...) for PluginPortlet objects
| Method Summary | |
|---|---|
static Portlet |
create(Portlet pluginPortlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of the pluginPortlet class |
static Collection<Portlet> |
findByPlugin(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a pluginPortlet whose identifier is specified in parameter |
static Portlet |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a pluginPortlet whose identifier is specified in parameter |
static Collection<Portlet> |
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 |
removePortletsByPlugin(int nIdPlugin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Removes all the portlets related to the plugin |
static Portlet |
update(Portlet 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 removePortletsByPlugin(int nIdPlugin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdPlugin - The id of the generated pluginplugin - The plugin
public static Portlet create(Portlet 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 Portlet update(Portlet 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 Plugin
public static Portlet findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The pluginPortlet primary keyplugin - the Plugin
public static Collection<Portlet> findByPlugin(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The pluginPortlet primary keyplugin - the Plugin
public static Collection<Portlet> 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 | |||||||||