Interface IModeDAO
-
- All Known Implementing Classes:
ModeDAO
public interface IModeDAO- Author:
- LEVY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nModeId)Delete a record from the tableReferenceListgetModesList()Returns the list of the modes in form of a reference listvoidinsert(Mode mode)Insert a new record in the table.Modeload(int nIdMode)load the data of Level from the tableCollection<Mode>selectModesList()Returns a list of all the modesvoidstore(Mode mode)Update the record in the table
-
-
-
Method Detail
-
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
void insert(Mode mode)
Insert a new record in the table.- Parameters:
mode- The mode object
-
load
Mode load(int nIdMode)
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
void store(Mode mode)
Update the record in the table- Parameters:
mode- The instance of the Mode to update
-
-