Interface IDemandCategoryDAO


public interface IDemandCategoryDAO
IDemandCategoryDAO Interface
  • Method Details

    • insert

      void insert(DemandCategory demandCategory)
      Insert a new record in the table.
      Parameters:
      demandCategory - instance of the DemandCategory object to insert
      plugin - the Plugin
    • store

      void store(DemandCategory demandCategory)
      Update the record in the table
      Parameters:
      demandCategory - the reference of the DemandCategory
      plugin - the Plugin
    • delete

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

      Optional<DemandCategory> load(int nKey)
      Load the data from the table
      Parameters:
      nKey - The identifier of the demandCategory
      plugin - the Plugin
      Returns:
      The instance of the demandCategory
    • selectDemandCategoriesList

      List<DemandCategory> selectDemandCategoriesList()
      Load the data of all the demandCategory objects and returns them as a list
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the data of all the demandCategory objects
    • selectIdDemandCategoriesList

      List<Integer> selectIdDemandCategoriesList()
      Load the id of all the demandCategory objects and returns them as a list
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the id of all the demandCategory objects
    • selectDemandCategoriesListByIds

      List<DemandCategory> selectDemandCategoriesListByIds(List<Integer> listIds)
      Load the data of all the avant objects and returns them as a list
      Parameters:
      plugin - the Plugin
      listIds - liste of ids
      Returns:
      The list which contains the data of all the avant objects