|
||||||||||
| 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.ApplicationHome
public final class ApplicationHome
This class provides instances management methods (create, find, ...) for PluginApplication objects
| Method Summary | |
|---|---|
static Application |
create(Application pluginApplication,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of the pluginApplication class |
static Collection<Application> |
findByPlugin(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a pluginApplication whose identifier is specified in parameter |
static Application |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a pluginApplication whose identifier is specified in parameter |
static Collection<Application> |
getPluginApplicationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the pluginApplication objects and returns them in form of a collection |
static void |
remove(int nPluginApplicationId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the pluginApplication whose identifier is specified in parameter |
static void |
removeApplicationsByPlugin(int nIdPlugin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Removes all the applications attached to a plugin |
static Application |
update(Application pluginApplication,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the pluginApplication 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 removeApplicationsByPlugin(int nIdPlugin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdPlugin - The id of the pluginplugin - The plugin
public static Application create(Application pluginApplication,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
pluginApplication - The instance of the PluginApplication which contains the informations to storeplugin - the Plugin
public static Application update(Application pluginApplication,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
pluginApplication - The instance of the PluginApplication which contains the data to storeplugin - the Plugin
public static void remove(int nPluginApplicationId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPluginApplicationId - The pluginApplication Idplugin - the Plugin
public static Application findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The pluginApplication primary keyplugin - the Plugin
public static Collection<Application> findByPlugin(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The pluginApplication primary keyplugin - the Plugin
public static Collection<Application> getPluginApplicationsList(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 | |||||||||