public final class BlogHome extends Object
Modifier and Type | Method and Description |
---|---|
static Blog |
addInitialVersion(Blog blog)
Create an initial version of an Blog
|
static Blog |
addNewVersion(Blog blog)
Adds a new version of an Blog
|
static Blog |
create(Blog blog)
Create an instance of the blog class
|
static Blog |
createVersion(Blog blog)
Create an instance of the blog class
|
static List<Blog> |
findByFilter(BlogFilter filter)
Returns a collection of blog objects
|
static Blog |
findByName(String strName)
Returns an instance of a blog whose identifier is specified in parameter
|
static Blog |
findByPrimaryKey(int nKey)
Returns an instance of a blog whose identifier is specified in parameter
|
static Blog |
findVersion(int nId,
int nVersion)
Returns an instance of a blog whose identifier is specified in parameter
|
static List<Blog> |
getBlogByTag(int nIdTag)
Load the data of Blog objects and returns them as a list
|
static List<Blog> |
getBlogsList()
Load the data of all the blog objects and returns them as a list
|
static fr.paris.lutece.util.ReferenceList |
getBlogsReferenceList()
Load the data of all the Blog objects and returns them as a referenceList
|
static List<Blog> |
getBlogsVersionsList(int nId)
Load the data of all the Blog objects and returns them as a list
|
static List<Integer> |
getIdBlogsList()
Load the id of all the Blog objects and returns them as a list
|
static List<Blog> |
getLastModifiedBlogsList(int nLimit)
Load the data of nLimit last modified Blog objects and returns them as a list
|
static void |
remove(int nKey)
Remove the blog whose identifier is specified in parameter
|
static void |
removeVersions(int nKey)
Remove the blog's versions whose identifier is specified in parameter
|
static List<Blog> |
selectWithoutBinaries()
Returns a collection of blog objects
|
static Blog |
update(Blog blog)
Update of the blog which is specified in parameter
|
public static Blog create(Blog blog)
blog
- The instance of the blog which contains the informations to storepublic static Blog createVersion(Blog blog)
blog
- The instance of the blog which contains the informations to storepublic static Blog update(Blog blog)
blog
- The instance of the blog which contains the data to storepublic static void remove(int nKey)
nKey
- The blog Idpublic static void removeVersions(int nKey)
nKey
- The blog Idpublic static Blog findByPrimaryKey(int nKey)
nKey
- The blog primary keypublic static Blog findByName(String strName)
nKey
- The blog primary keypublic static Blog findVersion(int nId, int nVersion)
nKey
- The blog primary keypublic static List<Blog> getBlogsList()
public static List<Blog> getLastModifiedBlogsList(int nLimit)
nLimit
- number of Blogumentpublic static List<Blog> getBlogsVersionsList(int nId)
public static List<Integer> getIdBlogsList()
public static fr.paris.lutece.util.ReferenceList getBlogsReferenceList()
public static Blog addInitialVersion(Blog blog)
Blog
- The instance of the Blog which contains the informations to storepublic static Blog addNewVersion(Blog blog)
blog
- The instance of the blog which contains the informations to storepublic static List<Blog> findByFilter(BlogFilter filter)
filter
- The filterlocale
- The localepublic static List<Blog> getBlogByTag(int nIdTag)
nIdTag
- Tag IdCopyright © 2020 City of Paris. All rights reserved.