public class WhatsNewPortletHome
extends fr.paris.lutece.portal.business.portlet.PortletHome
| Constructor and Description |
|---|
WhatsNewPortletHome()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
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
|
fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO |
getDAO()
Returns the instance of the WhatsNewPortletDAO singleton
|
List<PortletDocumentLink> |
getDocumentsFromWhatsNewId(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all the documents associated to the given whatsnewPortletId
|
static WhatsNewPortletHome |
getInstance()
Returns the instance of the WhatsNewPortletHome singleton
|
List<Integer> |
getPageIdsFromWhatsNewId(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all page IDs associated to the given whatNewPortletId
|
List<Integer> |
getPortletIdsFromWhatsNewId(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all portlet IDs associated to the given whatsNewPortletId
|
String |
getPortletTypeId()
Returns the type of the portlet
|
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(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all links of a whatsnew portlet to the documents
|
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(int nWhatsNewPortletId,
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(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all links of a whatsnew portlet to the portlets
|
List<WhatsNewPortlet> |
selectAll()
Select all WhatsNewPortlet
|
create, findByPrimaryKey, findByType, getAliasList, getLastModifiedPortlet, getPortletListByStyle, getPortletsByRoleKey, getPortletsListbyName, getPortletType, getStylesList, getUsedOrdersForColumns, hasAlias, invalidate, invalidate, notifyListeners, remove, update, updateStatuspublic static WhatsNewPortletHome getInstance()
public String getPortletTypeId()
public fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO getDAO()
public 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 removeModeratedPages(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the portletplugin - Pluginpublic void removeModeratedPortlets(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the whatsnew portletplugin - Pluginpublic void removeModeratedDocuments(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of 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 © 2015 City of Paris. All rights reserved.