Interface IDemandTypeDAO
public interface IDemandTypeDAO
IDemandTypeDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey) Delete a record from the tablevoidinsert(DemandType demandType) Insert a new record in the table.load(int nKey) Load the data from the tablesearchItemsIdList(Map<String, String> mapFilterCriteria, String strColumnToOrder, String strSortMode) searchItemsIdListselectByTypeId(String sKey) Load the data from the table by type_idLoad the data of all the demandType objects and returns them as a listselectDemandTypesListByIds(List<Integer> listIds) Load the data of all the avant objects and returns them as a listLoad the id of all the demandType objects and returns them as a listvoidstore(DemandType demandType) Update the record in the table
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
demandType- instance of the DemandType object to insert
-
store
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
Load the data from the table- Parameters:
nKey- The identifier of the demandType- Returns:
- The instance of the demandType
-
selectByTypeId
Load the data from the table by type_id- Parameters:
sKey- The type_id of the demandType- Returns:
- The instance of the demandType
-
selectDemandTypesList
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
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
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
List<Integer> searchItemsIdList(Map<String, String> mapFilterCriteria, String strColumnToOrder, String strSortMode) searchItemsIdList- Parameters:
mapFilterCriteria-strColumnToOrder-strSortMode-- Returns:
-