java.lang.Object
fr.paris.lutece.plugins.mydashboard.modules.grusupply.business.TagDemandTypeDAO
All Implemented Interfaces:
ITagDemandTypeDAO

public final class TagDemandTypeDAO extends Object implements ITagDemandTypeDAO
This class provides Data Access methods for TagDemandType objects
  • Constructor Details

    • TagDemandTypeDAO

      public TagDemandTypeDAO()
  • Method Details

    • insert

      public void insert(TagDemandType tagDemandType)
      Insert a new record in the table.
      Specified by:
      insert in interface ITagDemandTypeDAO
      Parameters:
      tagDemandType - instance of the TagDemandType object to inssert
    • load

      public TagDemandType load(int nId)
      Load the data from the table
      Specified by:
      load in interface ITagDemandTypeDAO
      Returns:
      The instance of the tagDemandType
    • delete

      public void delete(int nTagDemandTypeId)
      Delete a record from the table
      Specified by:
      delete in interface ITagDemandTypeDAO
      Parameters:
      nTagDemandTypeId - int identifier of the TagDemandType to delete
    • deleteByIdDemandType

      public void deleteByIdDemandType(int nIdDemandType)
      Description copied from interface: ITagDemandTypeDAO
      Delete a record from the table
      Specified by:
      deleteByIdDemandType in interface ITagDemandTypeDAO
      Parameters:
      nIdDemandType - the demandType id
    • store

      public void store(TagDemandType tagDemandType)
      Update the record in the table
      Specified by:
      store in interface ITagDemandTypeDAO
      Parameters:
      tagDemandType - the reference of the TagDemandType
    • selectTagDemandTypesList

      public List<TagDemandType> selectTagDemandTypesList()
      Load the data of all the tagDemandType objects and returns them as a List
      Specified by:
      selectTagDemandTypesList in interface ITagDemandTypeDAO
      Returns:
      The List which contains the data of all the tagDemandType objects
    • selectTagDemandTypesList

      public List<TagDemandType> selectTagDemandTypesList(int nIdDemandType)
      Description copied from interface: ITagDemandTypeDAO
      Load the data of all the tagDemandType objects and returns them as a List
      Specified by:
      selectTagDemandTypesList in interface ITagDemandTypeDAO
      Parameters:
      nIdDemandType - the id demand type
      Returns:
      The List which contains the data of all the tagDemandType objects