fr.paris.lutece.portal.business.style
Interface IPageTemplateDAO

All Known Implementing Classes:
PageTemplateDAO

public interface IPageTemplateDAO

Author:
LEVY

Method Summary
 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
 java.util.List<PageTemplate> selectPageTemplatesList()
          Returns a list of all the page templates
 void store(PageTemplate pageTemplate)
          Update the record in the table
 

Method Detail

delete

void delete(int nPageTemplateId)
Delete a record from the table

Parameters:
nPageTemplateId - The indentifier of the object PageTemplate

insert

void insert(PageTemplate pageTemplate)
Insert a new record in the table.

Parameters:
pageTemplate - The Instance of the object PageTemplate

load

PageTemplate load(int nPageTemplateId)
load the data of PageTemplate from the table

Parameters:
nPageTemplateId - The indentifier of the object PageTemplate
Returns:
The Instance of the object PageTemplate

selectPageTemplatesList

java.util.List<PageTemplate> selectPageTemplatesList()
Returns a list of all the page templates

Returns:
A list of PageTemplates objects

store

void store(PageTemplate pageTemplate)
Update the record in the table

Parameters:
pageTemplate - The instance of the PageTemplate to update

checkPageTemplateIsUsed

boolean checkPageTemplateIsUsed(int nPageTemplateId)
Checks if a page template has been used by a page

Parameters:
nPageTemplateId - The identifier of the page template
Returns:
true if a page template is used by a page, false otherwise


Copyright © 2009 Mairie de Paris. All Rights Reserved.