fr.paris.lutece.plugins.document.business
Class DocumentPageTemplateDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.document.business.DocumentPageTemplateDAO
All Implemented Interfaces:
IDocumentPageTemplateDAO

public final class DocumentPageTemplateDAO
extends java.lang.Object
implements IDocumentPageTemplateDAO

This class provides Data Access methods for DocumentPageTemplate objects


Constructor Summary
DocumentPageTemplateDAO()
           
 
Method Summary
 void delete(int nPageTemplateId)
          Delete a record from the table
 void insert(DocumentPageTemplate documentPageTemplate)
          Insert a new record in the table.
 DocumentPageTemplate load(int nPageTemplateId)
          load the data of DocumentPageTemplate from the table
 java.util.List<DocumentPageTemplate> selectPageTemplatesList()
          Returns a list of all the page templates
 void store(DocumentPageTemplate documentPageTemplate)
          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

DocumentPageTemplateDAO

public DocumentPageTemplateDAO()
Method Detail

insert

public void insert(DocumentPageTemplate documentPageTemplate)
Insert a new record in the table.

Specified by:
insert in interface IDocumentPageTemplateDAO
Parameters:
documentPageTemplate - The Instance of the object DocumentPageTemplate

load

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

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

delete

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

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

store

public void store(DocumentPageTemplate documentPageTemplate)
Update the record in the table

Specified by:
store in interface IDocumentPageTemplateDAO
Parameters:
documentPageTemplate - The instance of the PageTemplate to update

selectPageTemplatesList

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

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


Copyright © 2010 Mairie de Paris. All Rights Reserved.