|
||||||||||
| 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.FeatureDAO
public final class FeatureDAO
This class provides Data Access methods for PluginFeature objects
| Constructor Summary | |
|---|---|
FeatureDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(int nPluginFeatureId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
insert(Feature pluginFeature,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
Feature |
load(int nIdFeature,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the pluginFeature from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key |
Collection<Feature> |
selectFeatureByPlugin(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the pluginFeatures and returns them as a collection |
fr.paris.lutece.util.ReferenceList |
selectFeatureByPluginCombo(int nIdPlugin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of features which are available for specific plugins |
void |
store(Feature pluginFeature,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FeatureDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin
public void insert(Feature pluginFeature,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IFeatureDAOpluginFeature - instance of the PluginFeature object to insertplugin - The plugin
public Feature load(int nIdFeature,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IFeatureDAOnIdFeature - The identifier of the pluginFeatureplugin - The plugin
public void delete(int nPluginFeatureId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IFeatureDAOnPluginFeatureId - The identifier of the pluginFeatureplugin - The plugin
public void store(Feature pluginFeature,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IFeatureDAOpluginFeature - The reference of the pluginFeatureplugin - The plugin
public Collection<Feature> selectFeatureByPlugin(int nPluginId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFeatureByPlugin in interface IFeatureDAOnPluginId - The identifier of the pluginplugin - The plugin
public fr.paris.lutece.util.ReferenceList selectFeatureByPluginCombo(int nIdPlugin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFeatureByPluginCombo in interface IFeatureDAOnIdPlugin - The id of the pluginplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||