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