public final class TemplateStepHome extends Object
Modifier and Type | Method and Description |
---|---|
static void |
create(Template template)
Create an instance of the template class
|
static Template |
findByPrimaryKey(int nKey)
Returns an instance of a template whose identifier is specified in parameter
|
static List<Template> |
getAllTemplates()
Loads all templates
|
static void |
remove(int nKey)
Remove the template whose identifier is specified in parameter
|
static void |
update(Template template)
Update of the template which is specified in parameter
|
public static void create(Template template)
template
- The instance of the Template which contains the informations to storepublic static void update(Template template)
template
- The instance of the Template which contains the data to storepublic static void remove(int nKey)
nKey
- The template Idpublic static Template findByPrimaryKey(int nKey)
nKey
- The template primary keyCopyright © 2022 City of Paris. All rights reserved.