Class BlogPageTemplateDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.blog.business.BlogPageTemplateDAO
-
- All Implemented Interfaces:
IBlogPageTemplateDAO
public final class BlogPageTemplateDAO extends Object implements IBlogPageTemplateDAO
This class provides Data Access methods for BlogPageTemplate objects
-
-
Constructor Summary
Constructors Constructor Description BlogPageTemplateDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nPageTemplateId)Delete a record from the tablevoidinsert(BlogPageTemplate blogPageTemplate)Insert a new record in the table.BlogPageTemplateload(int nPageTemplateId)load the data of BlogPageTemplate from the tableList<BlogPageTemplate>selectPageTemplatesList()Returns a list of all the page templatesvoidstore(BlogPageTemplate blogPageTemplate)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(BlogPageTemplate blogPageTemplate)
Insert a new record in the table.- Specified by:
insertin interfaceIBlogPageTemplateDAO- Parameters:
blogPageTemplate- The Instance of the object BlogPageTemplate
-
load
public BlogPageTemplate load(int nPageTemplateId)
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
public void store(BlogPageTemplate blogPageTemplate)
Update the record in the table- Specified by:
storein interfaceIBlogPageTemplateDAO- Parameters:
blogPageTemplate- The instance of the PageTemplate to update
-
selectPageTemplatesList
public List<BlogPageTemplate> selectPageTemplatesList()
Returns a list of all the page templates- Specified by:
selectPageTemplatesListin interfaceIBlogPageTemplateDAO- Returns:
- A list of PageTemplates objects
-
-