Interface IBlogPageTemplateDAO
- All Known Implementing Classes:
BlogPageTemplateDAO
public interface IBlogPageTemplateDAO
Interface for blog page template DAO
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nPageTemplateId) Delete a record from the tablevoidinsert(BlogPageTemplate blogPageTemplate) Insert a new record in the table.load(int nPageTemplateId) load the data of blogPageTemplate from the tableReturns a list of all the page templatesvoidstore(BlogPageTemplate 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 BlogPageTemplate
-
insert
Insert a new record in the table.- Parameters:
blogPageTemplate- The Instance of the object blogPageTemplate
-
load
load the data of blogPageTemplate from the table- Parameters:
nPageTemplateId- The indentifier of the object PageTemplate- Returns:
- The Instance of the object PageTemplate
-
selectPageTemplatesList
List<BlogPageTemplate> 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
-