public final class WhatsNewHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isDocumentOutOfDate(PortletDocumentLink pdLink,
Timestamp dateLimit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if the given document is out of date
|
static boolean |
isPageOutOfDate(int nPageId,
Timestamp dateLimit)
Check if the given page is out of date
|
static boolean |
isPortletOutOfDate(int nPortletId,
Timestamp dateLimit)
Check if the given portlet is out of date
|
static Collection<IWhatsNew> |
selectDocuments(List<PortletDocumentLink> listPortletDocumentLinks,
Locale locale)
Returns the list of documents which correspond to the list of page IDs
|
static Collection<IWhatsNew> |
selectDocumentsByCriterias(Timestamp dateLimit,
Locale locale)
Returns the list of the articles which correspond to the criteria given
|
static Collection<IWhatsNew> |
selectPages(List<Integer> listPageIds,
Locale locale)
Returns the list of pages which correspond to the list of page IDs
|
static Collection<IWhatsNew> |
selectPagesByCriterias(Timestamp dateLimit,
Locale locale)
Returns the list of the pages which correspond to the criteria given
|
static Collection<IWhatsNew> |
selectPortlets(List<Integer> listPortletIds,
Locale locale)
Returns the list of portlets which correspond to the list of page IDs
|
static Collection<IWhatsNew> |
selectPortletsByCriterias(Timestamp dateLimit,
Locale locale)
Returns the list of the portlets which correspond to the criteria given
|
public static Collection<IWhatsNew> selectPagesByCriterias(Timestamp dateLimit, Locale locale)
dateLimit - the timestamp giving the beginning of the period to watchlocale - Localepublic static Collection<IWhatsNew> selectPortletsByCriterias(Timestamp dateLimit, Locale locale)
dateLimit - the timestamp giving the beginning of the period to watchlocale - Localepublic static Collection<IWhatsNew> selectDocumentsByCriterias(Timestamp dateLimit, Locale locale)
dateLimit - the timestamp giving the beginning of the period to watchlocale - Localepublic static Collection<IWhatsNew> selectPages(List<Integer> listPageIds, Locale locale)
public static Collection<IWhatsNew> selectPortlets(List<Integer> listPortletIds, Locale locale)
public static Collection<IWhatsNew> selectDocuments(List<PortletDocumentLink> listPortletDocumentLinks, Locale locale)
public static boolean isPageOutOfDate(int nPageId,
Timestamp dateLimit)
nPageId - the page IDdateLimit - the date limitpublic static boolean isPortletOutOfDate(int nPortletId,
Timestamp dateLimit)
nPortletId - the portlet IDdateLimit - the date limitpublic static boolean isDocumentOutOfDate(PortletDocumentLink pdLink, Timestamp dateLimit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
pdLink - PortletDocumentLinkdateLimit - the date limitplugin - PluginCopyright © 2015 City of Paris. All rights reserved.