Interface ILevelDAO
-
- All Known Implementing Classes:
LevelDAO
public interface ILevelDAOILevelDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nIdLevel)Delete a record from the tablevoidinsert(Level level)Insert a new record in the table.Levelload(int nIdLevel)load the data of Level from the tablejava.util.Collection<Level>selectLevelsList()Returns a list of all the right levelvoidstore(Level level)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(Level level)
Insert a new record in the table.- Parameters:
level- The level object
-
load
Level load(int nIdLevel)
load the data of Level from the table- Parameters:
nIdLevel- The indentifier of the object Level- Returns:
- The Instance of the object Level
-
delete
void delete(int nIdLevel)
Delete a record from the table- Parameters:
nIdLevel- The indentifier of the object Level
-
store
void store(Level level)
Update the record in the table- Parameters:
level- The instance of the Level to update
-
selectLevelsList
java.util.Collection<Level> selectLevelsList()
Returns a list of all the right level- Returns:
- A collection of right level objects
-
-