Class 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
      void delete​(java.lang.String strIdFeatureGroup)
      Delete a record from the table
      void insert​(FeatureGroup featureGroup)
      Insert a new record in the table.
      FeatureGroup load​(java.lang.String strIdFeatureGroup)
      load the data of FeatureGroup from the table
      int selectFeatureGroupsCount()
      Returns the count of groups
      java.util.List<FeatureGroup> selectFeatureGroupsList()
      Loads the data of all the feature groups and returns them in form of a collection
      void store​(FeatureGroup featureGroup)
      Update the record in the table
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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​(java.lang.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​(java.lang.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 java.util.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