|
||||||||||
| 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.FeatureHome
public final class FeatureHome
This class provides instances management methods (create, find, ...) for PluginFeature objects
| Method Summary | |
|---|---|
static Feature |
create(Feature pluginFeature,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of the pluginFeature class |
static Collection<Feature> |
findByPlugin(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the collection of plugin features for a specific plugin |
static Feature |
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 |
removeFeaturesByPlugin(int nIdPlugin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Removes the features attached to a plugin |
static Feature |
update(Feature 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 Feature create(Feature 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 Feature update(Feature 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 Plugin
public static void removeFeaturesByPlugin(int nIdPlugin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdPlugin - The identifier of the pluginplugin - The plugin
public static Feature findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The pluginFeature primary keyplugin - the Plugin
public static Collection<Feature> 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 | |||||||||