public final class ModeHome extends Object
Modifier and Type | Method and Description |
---|---|
static Mode |
create(Mode mode)
Creation of an instance of a mode
|
static Mode |
findByPrimaryKey(int nKey)
Returns an instance of an mode whose identifier is specified in parameter
|
static ReferenceList |
getModes()
Returns a reference list which contains all the modes
|
static Collection<Mode> |
getModesList()
Return the list of all the modes
|
static Properties |
getOuputXslProperties(int nKey)
Returns a set of properties used for xsl output
|
static void |
remove(int nId)
Remove the mode whose identifier is specified in parameter
|
static Mode |
update(Mode mode)
Update of the mode which is specified
|
public static Mode create(Mode mode)
mode
- An instance of a mode which contains the informations to storepublic static Mode update(Mode 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 Mode findByPrimaryKey(int nKey)
nKey
- The mode primary keypublic static Collection<Mode> getModesList()
public static ReferenceList getModes()
public static Properties getOuputXslProperties(int nKey)
nKey
- The mode primary keyCopyright © 2020 City of Paris. All rights reserved.