Interface IDocumentPageTemplateDAO
-
- All Known Implementing Classes:
DocumentPageTemplateDAO
public interface IDocumentPageTemplateDAOInterface for document page template DAO
-
-
Method Summary
All Methods Instance Methods Abstract 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 pageTemplate)Update the record in the table
-
-
-
Method Detail
-
delete
void delete(int nPageTemplateId)
Delete a record from the table- Parameters:
nPageTemplateId- The indentifier of the object DocumentPageTemplate
-
insert
void insert(DocumentPageTemplate documentPageTemplate)
Insert a new record in the table.- Parameters:
documentPageTemplate- The Instance of the object DocumentPageTemplate
-
load
DocumentPageTemplate load(int nPageTemplateId)
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
void store(DocumentPageTemplate pageTemplate)
Update the record in the table- Parameters:
pageTemplate- The instance of the PageTemplate to update
-
-