public interface IPageTemplateDAO
Modifier and Type | Method and Description |
---|---|
boolean |
checkPageTemplateIsUsed(int nPageTemplateId)
Checks if a page template has been used by a page
|
void |
delete(int nPageTemplateId)
Delete a record from the table
|
void |
insert(PageTemplate pageTemplate)
Insert a new record in the table.
|
PageTemplate |
load(int nPageTemplateId)
load the data of PageTemplate from the table
|
List<PageTemplate> |
selectPageTemplatesList()
Returns a list of all the page templates
|
void |
store(PageTemplate pageTemplate)
Update the record in the table
|
void delete(int nPageTemplateId)
nPageTemplateId
- The indentifier of the object PageTemplatevoid insert(PageTemplate pageTemplate)
pageTemplate
- The Instance of the object PageTemplatePageTemplate load(int nPageTemplateId)
nPageTemplateId
- The indentifier of the object PageTemplateList<PageTemplate> selectPageTemplatesList()
void store(PageTemplate pageTemplate)
pageTemplate
- The instance of the PageTemplate to updateboolean checkPageTemplateIsUsed(int nPageTemplateId)
nPageTemplateId
- The identifier of the page templateCopyright © 2020 City of Paris. All rights reserved.