public final class LevelHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static Level |
create(Level mode)
Creation of an instance of a mode
|
static Level |
findByPrimaryKey(int nKey)
Returns an instance of an mode whose identifier is specified in parameter
|
static Collection<Level> |
getLevelsList()
Return the list of all the modes
|
static void |
remove(int nId)
Remove the mode whose identifier is specified in parameter
|
static Level |
update(Level mode)
Update of the mode which is specified
|
public static Level create(Level mode)
mode - An instance of a mode which contains the informations to storepublic static Level update(Level mode)
mode - The instance of the mode which contains the data to storepublic static void remove(int nId)
nId - The identifier of the mode to removepublic static Level findByPrimaryKey(int nKey)
nKey - The mode primary keypublic static Collection<Level> getLevelsList()
Copyright © 2020 City of Paris. All rights reserved.