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