Interface IDemandTypeDAO


  • public interface IDemandTypeDAO
    IDemandTypeDAO Interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(int nKey)
      Delete a record from the table
      void insert​(DemandType demandType)
      Insert a new record in the table.
      java.util.Optional<DemandType> load​(int nKey)
      Load the data from the table
      java.util.List<java.lang.Integer> searchItemsIdList​(java.util.Map<java.lang.String,​java.lang.String> mapFilterCriteria, java.lang.String strColumnToOrder, java.lang.String strSortMode)
      searchItemsIdList
      java.util.Optional<DemandType> selectByTypeId​(java.lang.String sKey)
      Load the data from the table by type_id
      java.util.List<DemandType> selectDemandTypesList()
      Load the data of all the demandType objects and returns them as a list
      java.util.List<DemandType> selectDemandTypesListByIds​(java.util.List<java.lang.Integer> listIds)
      Load the data of all the avant objects and returns them as a list
      java.util.List<java.lang.Integer> selectIdDemandTypesList()
      Load the id of all the demandType objects and returns them as a list
      void store​(DemandType demandType)
      Update the record in the table
    • Method Detail

      • insert

        void insert​(DemandType demandType)
        Insert a new record in the table.
        Parameters:
        demandType - instance of the DemandType object to insert
      • store

        void store​(DemandType demandType)
        Update the record in the table
        Parameters:
        demandType - the reference of the DemandType
      • delete

        void delete​(int nKey)
        Delete a record from the table
        Parameters:
        nKey - The identifier of the DemandType to delete
      • load

        java.util.Optional<DemandType> load​(int nKey)
        Load the data from the table
        Parameters:
        nKey - The identifier of the demandType
        Returns:
        The instance of the demandType
      • selectByTypeId

        java.util.Optional<DemandType> selectByTypeId​(java.lang.String sKey)
        Load the data from the table by type_id
        Parameters:
        sKey - The type_id of the demandType
        Returns:
        The instance of the demandType
      • selectDemandTypesList

        java.util.List<DemandType> selectDemandTypesList()
        Load the data of all the demandType objects and returns them as a list
        Returns:
        The list which contains the data of all the demandType objects
      • selectIdDemandTypesList

        java.util.List<java.lang.Integer> selectIdDemandTypesList()
        Load the id of all the demandType objects and returns them as a list
        Returns:
        The list which contains the id of all the demandType objects
      • selectDemandTypesListByIds

        java.util.List<DemandType> selectDemandTypesListByIds​(java.util.List<java.lang.Integer> listIds)
        Load the data of all the avant objects and returns them as a list
        Parameters:
        listIds - liste of ids
        Returns:
        The list which contains the data of all the avant objects
      • searchItemsIdList

        java.util.List<java.lang.Integer> searchItemsIdList​(java.util.Map<java.lang.String,​java.lang.String> mapFilterCriteria,
                                                            java.lang.String strColumnToOrder,
                                                            java.lang.String strSortMode)
        searchItemsIdList
        Parameters:
        mapFilterCriteria -
        strColumnToOrder -
        strSortMode -
        Returns: