public class WhatsNewPortletService extends Object
| Constructor and Description |
|---|
WhatsNewPortletService() |
| Modifier and Type | Method and Description |
|---|---|
void |
create(WhatsNewPortlet portlet)
Create a new
WhatsNewPortlet |
void |
createModeratedDocument(int nWhatsNewPortletId,
PortletDocumentLink pdLink,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a link between a document and a whatsnew portlet
|
void |
createModeratedPage(int nWhatsNewPortletId,
int nPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a link between a whatsnew portlet and a page
|
void |
createModeratedPortlet(int nWhatsNewPortletId,
int nPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a link between a whatsnew portlet and a portlet
|
List<PortletDocumentLink> |
getDocumentsFromWhatsNewId(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all the documents associated to the given whatsnewPortletId
|
static WhatsNewPortletService |
getInstance()
Return the ThemeService singleton
|
List<Integer> |
getPageIdsFromWhatsNewId(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all page IDs associated to the given whatNewPortletId
|
WhatsNewPortlet |
getPortlet(int nPortletId)
Get the portlet with the given portlet id
|
List<Integer> |
getPortletIdsFromWhatsNewId(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all portlet IDs associated to the given whatsNewPortletId
|
String |
getPortletTypeId()
Get the portlet type id
|
void |
init()
Init
|
void |
remove(WhatsNewPortlet portlet)
Remove a
WhatsNewPortlet |
void |
removeModeratedDocument(int nWhatsNewPortletId,
PortletDocumentLink pdLink,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a link between a whatsnew portlet and a document
|
void |
removeModeratedDocuments(WhatsNewPortlet whatsNewPortlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all links of a whatsnew portlet to the documents
|
void |
removeModeratedElements(WhatsNewPortlet portlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove all the moderated elements from the given portlet
|
void |
removeModeratedPage(int nWhatsNewPortletId,
int nPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a link between a whatsnew portlet and a page
|
void |
removeModeratedPages(WhatsNewPortlet whatsNewPortlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all links of a whatsnew portlet to the pages
|
void |
removeModeratedPortlet(int nWhatsNewPortletId,
int nPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a link between a whatsnew portlet and a portlet
|
void |
removeModeratedPortlets(WhatsNewPortlet whatsNewPortlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all links of a whatsnew portlet to the portlets
|
List<WhatsNewPortlet> |
selectAll()
Select all WhatsNewPortlet
|
void |
update(WhatsNewPortlet portlet)
Update a
WhatsNewPortlet |
public static WhatsNewPortletService getInstance()
public void init()
public WhatsNewPortlet getPortlet(int nPortletId)
nPortletId - the portlet idWhatsNewPortletpublic String getPortletTypeId()
public void create(WhatsNewPortlet portlet)
WhatsNewPortletportlet - a WhatsNewPortletpublic void update(WhatsNewPortlet portlet)
WhatsNewPortletportlet - a WhatsNewPortletpublic void remove(WhatsNewPortlet portlet)
WhatsNewPortletportlet - a WhatsNewPortletpublic List<WhatsNewPortlet> selectAll()
WhatsNewPortletpublic List<Integer> getPageIdsFromWhatsNewId(int nWhatsNewPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the portletplugin - Pluginpublic List<Integer> getPortletIdsFromWhatsNewId(int nWhatsNewPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the portletplugin - Pluginpublic List<PortletDocumentLink> getDocumentsFromWhatsNewId(int nWhatsNewPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the portletplugin - PluginPortletDocumentLinkpublic void createModeratedPage(int nWhatsNewPortletId,
int nPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the portletnPageId - the page IDplugin - Pluginpublic void createModeratedPortlet(int nWhatsNewPortletId,
int nPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the whatsnew portletnPortletId - the ID of the portletplugin - Pluginpublic void createModeratedDocument(int nWhatsNewPortletId,
PortletDocumentLink pdLink,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the whatsnew portletpdLink - PortletDocumentLinkplugin - Pluginpublic void removeModeratedElements(WhatsNewPortlet portlet, fr.paris.lutece.portal.service.plugin.Plugin plugin)
portlet - the WhatsNewPortletplugin - Pluginpublic void removeModeratedPages(WhatsNewPortlet whatsNewPortlet, fr.paris.lutece.portal.service.plugin.Plugin plugin)
whatsNewPortlet - the portletplugin - Pluginpublic void removeModeratedPortlets(WhatsNewPortlet whatsNewPortlet, fr.paris.lutece.portal.service.plugin.Plugin plugin)
whatsNewPortlet - the portletplugin - Pluginpublic void removeModeratedDocuments(WhatsNewPortlet whatsNewPortlet, fr.paris.lutece.portal.service.plugin.Plugin plugin)
whatsNewPortlet - the portletplugin - Pluginpublic void removeModeratedPage(int nWhatsNewPortletId,
int nPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the portletnPageId - the page IDplugin - Pluginpublic void removeModeratedPortlet(int nWhatsNewPortletId,
int nPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the whatsnew portletnPortletId - the ID of the portletplugin - Pluginpublic void removeModeratedDocument(int nWhatsNewPortletId,
PortletDocumentLink pdLink,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the portletpdLink - PortletDocumentLinkplugin - PluginCopyright © 2016 City of Paris. All rights reserved.