public final class TemplateHome extends Object
Modifier and Type | Method and Description |
---|---|
static Template |
create(Template template)
Create an instance of the Template class
|
static List<Template> |
findAll()
Load the data of all the Template objects and returns them in form of a collection
|
static Template |
findByPrimaryKey(String strMediaType)
Returns an instance of a Template whose identifier is specified in parameter
|
static void |
remove(int nTemplateId)
Remove the Template whose identifier is specified in parameter
|
static Template |
update(Template template)
Update of the Template data specified in parameter
|
public static Template create(Template template)
template
- The instance of the Template which contains the informations to storepublic static Template update(Template template)
template
- The instance of the Template which contains the data to storepublic static void remove(int nTemplateId)
nTemplateId
- The Template Idpublic static Template findByPrimaryKey(String strMediaType)
strMediaType
- The Template media typeCopyright © 2018 City of Paris. All rights reserved.