Interface IDocumentPageTemplateDAO
- All Known Implementing Classes:
DocumentPageTemplateDAO
public interface IDocumentPageTemplateDAO
Interface for document page template DAO
-
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 pageTemplate) Update the record in the table
-
Method Details
-
delete
void delete(int nPageTemplateId) Delete a record from the table- Parameters:
nPageTemplateId- The indentifier of the object DocumentPageTemplate
-
insert
Insert a new record in the table.- Parameters:
documentPageTemplate- The Instance of the object DocumentPageTemplate
-
load
load the data of DocumentPageTemplate from the table- Parameters:
nPageTemplateId- The indentifier of the object PageTemplate- Returns:
- The Instance of the object PageTemplate
-
selectPageTemplatesList
List<DocumentPageTemplate> selectPageTemplatesList()Returns a list of all the page templates- Returns:
- A list of PageTemplates objects
-
store
Update the record in the table- Parameters:
pageTemplate- The instance of the PageTemplate to update
-