fr.paris.lutece.portal.business.style
Class PageTemplateDAO

java.lang.Object
  extended by fr.paris.lutece.portal.business.style.PageTemplateDAO
All Implemented Interfaces:
IPageTemplateDAO

public final class PageTemplateDAO
extends java.lang.Object
implements IPageTemplateDAO

This class provides Data Access methods for PageTemplate objects


Constructor Summary
PageTemplateDAO()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageTemplateDAO

public PageTemplateDAO()
Method Detail

insert

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

Specified by:
insert in interface IPageTemplateDAO
Parameters:
pageTemplate - The Instance of the object PageTemplate

load

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

Specified by:
load in interface IPageTemplateDAO
Parameters:
nPageTemplateId - The indentifier of the object PageTemplate
Returns:
The Instance of the object PageTemplate

delete

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

Specified by:
delete in interface IPageTemplateDAO
Parameters:
nPageTemplateId - The indentifier of the object PageTemplate

store

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

Specified by:
store in interface IPageTemplateDAO
Parameters:
pageTemplate - The instance of the PageTemplate to update

selectPageTemplatesList

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

Specified by:
selectPageTemplatesList in interface IPageTemplateDAO
Returns:
A list of PageTemplates objects


Copyright © 2007 Mairie de Paris. All Rights Reserved.