public interface IFeatureDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(Feature feature,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Feature |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<Feature> |
selectFeaturesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the feature objects and returns them as a collection
|
List<Feature> |
selectFeaturesListByCategory(int nCategory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Gets all features for a given category
|
List<Integer> |
selectIdFeaturesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the feature objects and returns them as a collection
|
void |
store(Feature feature,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void insert(Feature feature, fr.paris.lutece.portal.service.plugin.Plugin plugin)
feature
- instance of the Feature object to insertplugin
- the Pluginvoid store(Feature feature, fr.paris.lutece.portal.service.plugin.Plugin plugin)
feature
- the reference of the Featureplugin
- the Pluginvoid delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The identifier of the Feature to deleteplugin
- the PluginFeature load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The identifier of the featureplugin
- the PluginList<Feature> selectFeaturesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the PluginList<Integer> selectIdFeaturesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the PluginCopyright © 2016 City of Paris. All rights reserved.