Interface IDemandCategoryDAO
public interface IDemandCategoryDAO
IDemandCategoryDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey) Delete a record from the tablevoidinsert(DemandCategory demandCategory) Insert a new record in the table.load(int nKey) Load the data from the tableLoad the data of all the demandCategory objects and returns them as a listselectDemandCategoriesListByIds(List<Integer> listIds) Load the data of all the avant objects and returns them as a listLoad the id of all the demandCategory objects and returns them as a listvoidstore(DemandCategory demandCategory) Update the record in the table
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
demandCategory- instance of the DemandCategory object to insertplugin- the Plugin
-
store
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
Load the data from the table- Parameters:
nKey- The identifier of the demandCategoryplugin- 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
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
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
-