Interface IModeDAO
- All Known Implementing Classes:
ModeDAO
public interface IModeDAO
- Author:
- LEVY
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nModeId) Delete a record from the tableReturns the list of the modes in form of a reference listvoidInsert a new record in the table.load(int nIdMode) load the data of Level from the tableReturns a list of all the modesvoidUpdate the record in the table
-
Method Details
-
delete
void delete(int nModeId) Delete a record from the table- Parameters:
nModeId- The indentifier of the object Mode
-
getModesList
ReferenceList getModesList()Returns the list of the modes in form of a reference list- Returns:
- the modes list in form of a ReferenceList object
-
insert
Insert a new record in the table.- Parameters:
mode- The mode object
-
load
load the data of Level from the table- Parameters:
nIdMode- The indentifier of the object Mode- Returns:
- The Instance of the object Mode
-
selectModesList
Collection<Mode> selectModesList()Returns a list of all the modes- Returns:
- A collection of modes objects
-
store
Update the record in the table- Parameters:
mode- The instance of the Mode to update
-