Class FeatureGroupDAO
- java.lang.Object
-
- fr.paris.lutece.portal.business.right.FeatureGroupDAO
-
- All Implemented Interfaces:
IFeatureGroupDAO
public final class FeatureGroupDAO extends java.lang.Object implements IFeatureGroupDAO
This class provides Data Access methods for feature group objects
-
-
Constructor Summary
Constructors Constructor Description FeatureGroupDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(java.lang.String strIdFeatureGroup)Delete a record from the tablevoidinsert(FeatureGroup featureGroup)Insert a new record in the table.FeatureGroupload(java.lang.String strIdFeatureGroup)load the data of FeatureGroup from the tableintselectFeatureGroupsCount()Returns the count of groupsjava.util.List<FeatureGroup>selectFeatureGroupsList()Loads the data of all the feature groups and returns them in form of a collectionvoidstore(FeatureGroup featureGroup)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(FeatureGroup featureGroup)
Insert a new record in the table.- Specified by:
insertin interfaceIFeatureGroupDAO- Parameters:
featureGroup- instance of the feature group to insert
-
load
public FeatureGroup load(java.lang.String strIdFeatureGroup)
load the data of FeatureGroup from the table- Specified by:
loadin interfaceIFeatureGroupDAO- Parameters:
strIdFeatureGroup- The indentifier of the object FeatureGroup- Returns:
- The Instance of the object Page
-
delete
public void delete(java.lang.String strIdFeatureGroup)
Delete a record from the table- Specified by:
deletein interfaceIFeatureGroupDAO- Parameters:
strIdFeatureGroup- The indentifier of the object FeatureGroup
-
store
public void store(FeatureGroup featureGroup)
Update the record in the table- Specified by:
storein interfaceIFeatureGroupDAO- Parameters:
featureGroup- the reference of the feature group
-
selectFeatureGroupsList
public java.util.List<FeatureGroup> selectFeatureGroupsList()
Loads the data of all the feature groups and returns them in form of a collection- Specified by:
selectFeatureGroupsListin interfaceIFeatureGroupDAO- Returns:
- the list which contains the data of all the feature groups
-
selectFeatureGroupsCount
public int selectFeatureGroupsCount()
Returns the count of groups- Specified by:
selectFeatureGroupsCountin interfaceIFeatureGroupDAO- Returns:
- the count of all the feature groups
-
-