| Constructor and Description |
|---|
BlogDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
deleteVersions(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(Blog blog,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
void |
insertVersion(Blog blog,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Blog |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<Blog> |
loadBlogByIdTag(int nIdTag,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of Blogs objects and returns them as a list
|
Blog |
loadByName(String strName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
Blog |
loadVersion(int nId,
int nVersion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
int |
newVersionPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
List<Blog> |
selectBlogsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the blog objects and returns them as a list
|
fr.paris.lutece.util.ReferenceList |
selectBlogsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the Blog objects and returns them as a referenceList
|
List<Blog> |
selectBlogsVersionsList(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the blog objects and returns them as a list
|
List<Blog> |
selectByFilter(BlogFilter filter)
Load the list of blogs
|
List<Integer> |
selectIdBlogsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the Blog objects and returns them as a list
|
List<Blog> |
selectlastModifiedBlogsList(fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nLimit)
Load the data of nLimit last modified blog objects and returns them as a list
|
List<Blog> |
selectWithoutBinaries(fr.paris.lutece.portal.service.plugin.Plugin plugin) |
void |
store(Blog blog,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Pluginpublic int newVersionPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Pluginpublic void insert(Blog blog, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void insertVersion(Blog blog, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IBlogDAOinsertVersion in interface IBlogDAOblog - instance of the blog object to insertplugin - the Pluginpublic Blog load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Blog loadByName(String strName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadByName in interface IBlogDAOplugin - the Pluginpublic Blog loadVersion(int nId, int nVersion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadVersion in interface IBlogDAOplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void deleteVersions(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteVersions in interface IBlogDAOnKey - The identifier of the blog to deleteplugin - the Pluginpublic void store(Blog blog, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public List<Blog> selectBlogsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectBlogsList in interface IBlogDAOplugin - the Pluginpublic List<Blog> selectlastModifiedBlogsList(fr.paris.lutece.portal.service.plugin.Plugin plugin, int nLimit)
selectlastModifiedBlogsList in interface IBlogDAOplugin - the PluginnLimit - number of blogumentpublic List<Blog> selectBlogsVersionsList(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectBlogsVersionsList in interface IBlogDAOplugin - the Pluginpublic List<Integer> selectIdBlogsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdBlogsList in interface IBlogDAOplugin - the Pluginpublic fr.paris.lutece.util.ReferenceList selectBlogsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectBlogsReferenceList in interface IBlogDAOplugin - the Pluginpublic List<Blog> selectByFilter(BlogFilter filter)
selectByFilter in interface IBlogDAOfilter - The blogFilter Objectpublic List<Blog> loadBlogByIdTag(int nIdTag, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadBlogByIdTag in interface IBlogDAOplugin - the Pluginpublic List<Blog> selectWithoutBinaries(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectWithoutBinaries in interface IBlogDAOCopyright © 2020 City of Paris. All rights reserved.