public final class FeatureCategoryDAO extends Object implements IFeatureCategoryDAO
Constructor and Description |
---|
FeatureCategoryDAO() |
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(FeatureCategory category,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
FeatureCategory |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
fr.paris.lutece.util.ReferenceList |
selectCategoriesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get all categories as a reference list
|
List<FeatureCategory> |
selectFeatureCategorysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the featureCategory objects and returns them as a collection
|
List<Integer> |
selectIdFeatureCategorysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the featureCategory objects and returns them as a collection
|
void |
store(FeatureCategory category,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The Pluginpublic void insert(FeatureCategory category, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IFeatureCategoryDAO
category
- instance of the FeatureCategory object to insertplugin
- the Pluginpublic FeatureCategory load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IFeatureCategoryDAO
nKey
- The identifier of the featureCategoryplugin
- the Pluginpublic void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IFeatureCategoryDAO
nKey
- The identifier of the FeatureCategory to deleteplugin
- the Pluginpublic void store(FeatureCategory category, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IFeatureCategoryDAO
category
- the reference of the FeatureCategoryplugin
- the Pluginpublic List<FeatureCategory> selectFeatureCategorysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFeatureCategorysList
in interface IFeatureCategoryDAO
plugin
- the Pluginpublic List<Integer> selectIdFeatureCategorysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdFeatureCategorysList
in interface IFeatureCategoryDAO
plugin
- the Pluginpublic fr.paris.lutece.util.ReferenceList selectCategoriesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectCategoriesList
in interface IFeatureCategoryDAO
plugin
- The pluginCopyright © 2016 City of Paris. All rights reserved.