Class BlogPageTemplateHome
- java.lang.Object
-
- fr.paris.lutece.plugins.blog.business.BlogPageTemplateHome
-
public final class BlogPageTemplateHome extends Object
This class provides instances management methods (create, find, ...) for BlogPageTemplate objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BlogPageTemplatecreate(BlogPageTemplate blogPageTemplate)Creation of an instance of a blog page templatestatic BlogPageTemplatefindByPrimaryKey(int nKey)Returns an instance of an page template whose identifier is specified in parameterstatic List<BlogPageTemplate>getPageTemplatesList()Return the list of all the page templatesstatic voidremove(int nId)Remove the page template whose identifier is specified in parameterstatic BlogPageTemplateupdate(BlogPageTemplate blogPageTemplate)Update of the page template which is specified
-
-
-
Method Detail
-
create
public static BlogPageTemplate create(BlogPageTemplate blogPageTemplate)
Creation of an instance of a blog page template- Parameters:
blogPageTemplate- template An instance of a page template which contains the informations to store- Returns:
- The instance of a page template which has been created with its primary key.
-
update
public static BlogPageTemplate update(BlogPageTemplate blogPageTemplate)
Update of the page template which is specified- Parameters:
blogPageTemplate- The instance of the page template which contains the data to store- Returns:
- The instance of the page template which has been updated
-
remove
public static void remove(int nId)
Remove the page template whose identifier is specified in parameter- Parameters:
nId- The identifier of the page template to remove
-
findByPrimaryKey
public static BlogPageTemplate findByPrimaryKey(int nKey)
Returns an instance of an page template whose identifier is specified in parameter- Parameters:
nKey- The page template primary key- Returns:
- an instance of a page template
-
getPageTemplatesList
public static List<BlogPageTemplate> getPageTemplatesList()
Return the list of all the page templates- Returns:
- A collection of page templates objects
-
-