public final class CalendarTemplateHome extends Object
Modifier and Type | Method and Description |
---|---|
static void |
create(CalendarTemplate template)
Create a new calendar template
|
static void |
delete(int nId)
Delete a template from its primary key
|
static List<CalendarTemplate> |
findAll()
Get the list of calendar templates
|
static fr.paris.lutece.util.ReferenceList |
findAllInReferenceList()
Get the list of calendar templates in a reference list
|
static CalendarTemplate |
findByPrimaryKey(int nId)
Find a template by its primary key
|
static void |
update(CalendarTemplate template)
Update an existing template
|
public static void create(CalendarTemplate template)
template
- The template to createpublic static void update(CalendarTemplate template)
template
- The templatepublic static void delete(int nId)
nId
- The id of the template to removepublic static CalendarTemplate findByPrimaryKey(int nId)
nId
- The id of the templatepublic static List<CalendarTemplate> findAll()
public static fr.paris.lutece.util.ReferenceList findAllInReferenceList()
Copyright © 2020 City of Paris. All rights reserved.