|
||||||||||
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.PluginFeatureHome
public final class PluginFeatureHome
This class provides instances management methods (create, find, ...) for PluginFeature objects
Method Summary | |
---|---|
static PluginFeature |
create(PluginFeature pluginFeature,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of the pluginFeature class |
static java.util.Collection<PluginFeature> |
findByPlugin(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the collection of plugin features for a specific plugin |
static PluginFeature |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a pluginFeature whose identifier is specified in parameter |
static fr.paris.lutece.util.ReferenceList |
getAdminFeaturesForPlugin(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a reference list of features available for the plugin |
static void |
remove(int nPluginFeatureId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the pluginFeature whose identifier is specified in parameter |
static void |
removePluginFeaturesByPlugin(int nIdPlugin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Removes the features attached to a plugin |
static PluginFeature |
update(PluginFeature pluginFeature,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the pluginFeature 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 removePluginFeaturesByPlugin(int nIdPlugin, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdPlugin
- The identifier of the pluginplugin
- The pluginpublic static PluginFeature create(PluginFeature pluginFeature, fr.paris.lutece.portal.service.plugin.Plugin plugin)
pluginFeature
- The instance of the PluginFeature which contains the informations to storeplugin
- the Plugin
public static PluginFeature update(PluginFeature pluginFeature, fr.paris.lutece.portal.service.plugin.Plugin plugin)
pluginFeature
- The instance of the PluginFeature which contains the data to storeplugin
- the Plugin
public static void remove(int nPluginFeatureId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPluginFeatureId
- The pluginFeature Idplugin
- the Pluginpublic static PluginFeature findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The pluginFeature primary keyplugin
- the Plugin
public static java.util.Collection<PluginFeature> findByPlugin(int nPluginId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPluginId
- The plugin idplugin
- The plugin
public static fr.paris.lutece.util.ReferenceList getAdminFeaturesForPlugin(int nPluginId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPluginId
- The id of the generated pluginplugin
- The plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |