Interface IDemandCategoryDAO
-
public interface IDemandCategoryDAOIDemandCategoryDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nKey)Delete a record from the tablevoidinsert(DemandCategory demandCategory)Insert a new record in the table.java.util.Optional<DemandCategory>load(int nKey)Load the data from the tablejava.util.List<DemandCategory>selectDemandCategoriesList()Load the data of all the demandCategory objects and returns them as a listjava.util.List<DemandCategory>selectDemandCategoriesListByIds(java.util.List<java.lang.Integer> listIds)Load the data of all the avant objects and returns them as a listjava.util.List<java.lang.Integer>selectIdDemandCategoriesList()Load the id of all the demandCategory objects and returns them as a listvoidstore(DemandCategory demandCategory)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(DemandCategory demandCategory)
Insert a new record in the table.- Parameters:
demandCategory- instance of the DemandCategory object to insertplugin- the Plugin
-
store
void store(DemandCategory demandCategory)
Update the record in the table- Parameters:
demandCategory- the reference of the DemandCategoryplugin- the Plugin
-
delete
void delete(int nKey)
Delete a record from the table- Parameters:
nKey- The identifier of the DemandCategory to deleteplugin- the Plugin
-
load
java.util.Optional<DemandCategory> load(int nKey)
Load the data from the table- Parameters:
nKey- The identifier of the demandCategoryplugin- the Plugin- Returns:
- The instance of the demandCategory
-
selectDemandCategoriesList
java.util.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
java.util.List<java.lang.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
java.util.List<DemandCategory> selectDemandCategoriesListByIds(java.util.List<java.lang.Integer> listIds)
Load the data of all the avant objects and returns them as a list- Parameters:
plugin- the PluginlistIds- liste of ids- Returns:
- The list which contains the data of all the avant objects
-
-