Class BlogPageTemplateDAO
java.lang.Object
fr.paris.lutece.plugins.blog.business.BlogPageTemplateDAO
- All Implemented Interfaces:
IBlogPageTemplateDAO
This class provides Data Access methods for BlogPageTemplate objects
-
Constructor Summary
Constructors -
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 blogPageTemplate) Update the record in the table
-
Constructor Details
-
BlogPageTemplateDAO
public BlogPageTemplateDAO()
-
-
Method Details
-
insert
Insert a new record in the table.- Specified by:
insertin interfaceIBlogPageTemplateDAO- Parameters:
blogPageTemplate- The Instance of the object BlogPageTemplate
-
load
load the data of BlogPageTemplate from the table- Specified by:
loadin interfaceIBlogPageTemplateDAO- Parameters:
nPageTemplateId- The indentifier of the object BlogPageTemplate- Returns:
- The Instance of the object PageTemplate
-
delete
public void delete(int nPageTemplateId) Delete a record from the table- Specified by:
deletein interfaceIBlogPageTemplateDAO- Parameters:
nPageTemplateId- The indentifier of the object PageTemplate
-
store
Update the record in the table- Specified by:
storein interfaceIBlogPageTemplateDAO- Parameters:
blogPageTemplate- The instance of the PageTemplate to update
-
selectPageTemplatesList
Returns a list of all the page templates- Specified by:
selectPageTemplatesListin interfaceIBlogPageTemplateDAO- Returns:
- A list of PageTemplates objects
-