Class FeatureGroupDAO

  • All Implemented Interfaces:
    IFeatureGroupDAO

    public final class FeatureGroupDAO
    extends Object
    implements IFeatureGroupDAO
    This class provides Data Access methods for feature group objects
    • Constructor Detail

      • FeatureGroupDAO

        public FeatureGroupDAO()
    • Method Detail

      • insert

        public void insert​(FeatureGroup featureGroup)
        Insert a new record in the table.
        Specified by:
        insert in interface IFeatureGroupDAO
        Parameters:
        featureGroup - instance of the feature group to insert
      • load

        public FeatureGroup load​(String strIdFeatureGroup)
        load the data of FeatureGroup from the table
        Specified by:
        load in interface IFeatureGroupDAO
        Parameters:
        strIdFeatureGroup - The indentifier of the object FeatureGroup
        Returns:
        The Instance of the object Page
      • delete

        public void delete​(String strIdFeatureGroup)
        Delete a record from the table
        Specified by:
        delete in interface IFeatureGroupDAO
        Parameters:
        strIdFeatureGroup - The indentifier of the object FeatureGroup
      • store

        public void store​(FeatureGroup featureGroup)
        Update the record in the table
        Specified by:
        store in interface IFeatureGroupDAO
        Parameters:
        featureGroup - the reference of the feature group
      • selectFeatureGroupsList

        public List<FeatureGroup> selectFeatureGroupsList()
        Loads the data of all the feature groups and returns them in form of a collection
        Specified by:
        selectFeatureGroupsList in interface IFeatureGroupDAO
        Returns:
        the list which contains the data of all the feature groups
      • selectFeatureGroupsCount

        public int selectFeatureGroupsCount()
        Returns the count of groups
        Specified by:
        selectFeatureGroupsCount in interface IFeatureGroupDAO
        Returns:
        the count of all the feature groups