public interface IBlogPublicationDAO
Modifier and Type | Method and Description |
---|---|
void |
deleteBlogByIdPortlet(int nIdPortlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the BLOGPublication by portlet id
|
void |
deleteBlogsId(int nDocId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete docs for the specified portlet
|
List<Integer> |
getLastPublishedBlogsIdsListByPortletIds(int[] nPortletsIds,
Date dateUpdatedFrom,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of published Blogs associated with given collection of portlets.
|
List<Integer> |
getPublishedBlogsIdsListByPortletIds(int[] nPortletsIds,
Date datePublishing,
Date dateEndPublishing,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of id of published BLOGs associated with a given collection of portlets.
|
void |
insertBlogsId(BlogPublication blogPublication,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a list of doc for a specified blogPublication
|
List<BlogPublication> |
loadAllBlogsPublication(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all BLOGPublication
|
List<BlogPublication> |
loadBlogsByPortlet(int nIdPortlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load a list BLOGPublication by the portlet id
|
List<BlogPublication> |
loadBlogsByPortletAndPublicationDate(int nIdPortlet,
Date datePublishing,
Date dateEndPublishing,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load a list BLOGPublication by the portlet id, and published at or after the specified date.
|
List<BlogPublication> |
loadBlogsId(int nDocId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load a list of BLOGPublication
|
BlogPublication |
loadBlogsPublication(int nPortletId,
int nDocId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load a BLOGPublication by BLOG id and portlet id
|
void |
remove(int nDocId,
int nIdPortlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove BLOGPublication by primary kley
|
Collection<BlogPublication> |
selectSinceDatePublishingAndStatus(Date datePublishing,
Date dateEndPublishing,
int nStatus,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the list of
BlogPublication objects specified the status and published at or after the specified date |
void |
store(BlogPublication blogPublication,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update an instance of the BLOGPublication
|
void insertBlogsId(BlogPublication blogPublication, fr.paris.lutece.portal.service.plugin.Plugin plugin)
blogPublication
- the blogPublication to insertvoid deleteBlogsId(int nDocId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPortletId
- The doc identifierList<BlogPublication> loadBlogsId(int nDocId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nDocId
- List<BlogPublication> loadBlogsByPortlet(int nIdPortlet, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdPortlet
- The protlet idList<BlogPublication> loadBlogsByPortletAndPublicationDate(int nIdPortlet, Date datePublishing, Date dateEndPublishing, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdPortlet
- The portlet iddatePublishing
- The publication end datedateEndPublishing
- The publication dateplugin
- void deleteBlogByIdPortlet(int nIdPortlet, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdPortlet
- The portlet idBlogPublication loadBlogsPublication(int nPortletId, int nDocId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPortletId
- The portlet idnDocId
- The blogs idvoid store(BlogPublication blogPublication, fr.paris.lutece.portal.service.plugin.Plugin plugin)
blogPub
- void remove(int nDocId, int nIdPortlet, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nDocId
- nIdPortlet
- plugin
- List<BlogPublication> loadAllBlogsPublication(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- Collection<BlogPublication> selectSinceDatePublishingAndStatus(Date datePublishing, Date dateEndPublishing, int nStatus, fr.paris.lutece.portal.service.plugin.Plugin plugin)
BlogPublication
objects specified the status and published at or after the specified datedatePublishing
- The publication end datedateEndPublishing
- The publication datenStatus
- The statusBlogPublication
objects Collection
ordered by BlogOrder ascending. The list is empty if no objects found.List<Integer> getPublishedBlogsIdsListByPortletIds(int[] nPortletsIds, Date datePublishing, Date dateEndPublishing, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPortletsIds
- The list of portlet ids.datePublishing
- The publication end dateplugin
- The blog pluginList<Integer> getLastPublishedBlogsIdsListByPortletIds(int[] nPortletsIds, Date dateUpdatedFrom, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPortletsIds
- The list of portlets idsdateUpdatedFrom
- The date from the blogs had been updatedplugin
- Copyright © 2020 City of Paris. All rights reserved.