Class DocumentPageTemplateDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.document.business.DocumentPageTemplateDAO
-
- All Implemented Interfaces:
IDocumentPageTemplateDAO
public final class DocumentPageTemplateDAO extends Object implements IDocumentPageTemplateDAO
This class provides Data Access methods for DocumentPageTemplate objects
-
-
Constructor Summary
Constructors Constructor Description DocumentPageTemplateDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nPageTemplateId)Delete a record from the tablevoidinsert(DocumentPageTemplate documentPageTemplate)Insert a new record in the table.DocumentPageTemplateload(int nPageTemplateId)load the data of DocumentPageTemplate from the tableList<DocumentPageTemplate>selectPageTemplatesList()Returns a list of all the page templatesvoidstore(DocumentPageTemplate documentPageTemplate)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(DocumentPageTemplate documentPageTemplate)
Insert a new record in the table.- Specified by:
insertin interfaceIDocumentPageTemplateDAO- Parameters:
documentPageTemplate- The Instance of the object DocumentPageTemplate
-
load
public DocumentPageTemplate load(int nPageTemplateId)
load the data of DocumentPageTemplate from the table- Specified by:
loadin interfaceIDocumentPageTemplateDAO- 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:
deletein interfaceIDocumentPageTemplateDAO- Parameters:
nPageTemplateId- The indentifier of the object PageTemplate
-
store
public void store(DocumentPageTemplate documentPageTemplate)
Update the record in the table- Specified by:
storein interfaceIDocumentPageTemplateDAO- Parameters:
documentPageTemplate- The instance of the PageTemplate to update
-
selectPageTemplatesList
public List<DocumentPageTemplate> selectPageTemplatesList()
Returns a list of all the page templates- Specified by:
selectPageTemplatesListin interfaceIDocumentPageTemplateDAO- Returns:
- A list of PageTemplates objects
-
-