Class FeatureGroupDAO
java.lang.Object
fr.paris.lutece.portal.business.right.FeatureGroupDAO
- All Implemented Interfaces:
IFeatureGroupDAO
This class provides Data Access methods for feature group objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDelete a record from the tablevoidinsert(FeatureGroup featureGroup) Insert a new record in the table.load the data of FeatureGroup from the tableintReturns the count of groupsLoads the data of all the feature groups and returns them in form of a collectionvoidstore(FeatureGroup featureGroup) Update the record in the table
-
Constructor Details
-
FeatureGroupDAO
public FeatureGroupDAO()
-
-
Method Details
-
insert
Insert a new record in the table.- Specified by:
insertin interfaceIFeatureGroupDAO- Parameters:
featureGroup- instance of the feature group to insert
-
load
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
Delete a record from the table- Specified by:
deletein interfaceIFeatureGroupDAO- Parameters:
strIdFeatureGroup- The indentifier of the object FeatureGroup
-
store
Update the record in the table- Specified by:
storein interfaceIFeatureGroupDAO- Parameters:
featureGroup- the reference of the feature group
-
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
-