public interface IWhatsNewPortletDAO
extends fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nPortletId)
Delete a record from the table
|
void |
deleteDocumentsFromWhatsNew(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all links of a whatsnew portlet to the documents
|
void |
deleteLinkWhatsNewPortletToDocument(int nWhatsNewPortletId,
PortletDocumentLink pdLink,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a link between a whatsnew portlet and a document
|
void |
deleteLinkWhatsNewPortletToPage(int nWhatsNewPortletId,
int nPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a link between a whatsnew portlet and a page
|
void |
deleteLinkWhatsNewPortletToPortlet(int nWhatsNewPortletId,
int nPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a link between a whatsnew portlet and a portlet
|
void |
deletePagesFromWhatsNew(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all links of a whatsnew portlet to the pages
|
void |
deletePortletsFromWhatsNew(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all links of a whatsnew portlet to the portlets
|
List<WhatsNewPortlet> |
findAll()
Find all WhatsNew portlets
|
void |
insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Insert a new record in the table whatsnew_portlet
|
void |
insertDocumentForWhatsNew(int nWhatsNewId,
PortletDocumentLink pdLink,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a link between a document and a whatsnew portlet
|
void |
insertPageForWhatsNew(int nWhatsNewPortletId,
int nPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a link between a whatsnew portlet and a page
|
void |
insertPortletForWhatsNew(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.Portlet |
load(int nPortletId)
Loads the data of What's new Portlet whose identifier is specified in parameter
|
List<PortletDocumentLink> |
loadDocumentFromWhatsNewPortletId(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all the documents associated to the given whatsnewPortletId
|
List<Integer> |
loadPageIdsFromWhatsNewPortletId(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all page IDs associated to the given whatNewPortletId
|
List<Integer> |
loadPortletIdsFromWhatsNewPortletId(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all portlet IDs associated to the given whatsNewPortletId
|
void |
store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Update the record in the table
|
void delete(int nPortletId)
delete in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOnPortletId - The identifier of the portletvoid insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
insert in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOportlet - the instance of the Portlet object to insertfr.paris.lutece.portal.business.portlet.Portlet load(int nPortletId)
load in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOnPortletId - The Portlet identifiervoid store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
store in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOportlet - The instance of the object portletList<WhatsNewPortlet> findAll()
WhatsNewPortletList<Integer> loadPageIdsFromWhatsNewPortletId(int nWhatsNewPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the portletplugin - Pluginvoid insertPageForWhatsNew(int nWhatsNewPortletId,
int nPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the portletnPageId - the page IDplugin - Pluginvoid deletePagesFromWhatsNew(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the portletplugin - Pluginvoid deleteLinkWhatsNewPortletToPage(int nWhatsNewPortletId,
int nPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the portletnPageId - the page IDplugin - PluginList<Integer> loadPortletIdsFromWhatsNewPortletId(int nWhatsNewPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the portletplugin - Pluginvoid insertPortletForWhatsNew(int nWhatsNewPortletId,
int nPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the whatsnew portletnPortletId - the ID of the portletplugin - Pluginvoid deletePortletsFromWhatsNew(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the whatsnew portletplugin - Pluginvoid deleteLinkWhatsNewPortletToPortlet(int nWhatsNewPortletId,
int nPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the whatsnew portletnPortletId - the ID of the portletplugin - PluginList<PortletDocumentLink> loadDocumentFromWhatsNewPortletId(int nWhatsNewPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the portletplugin - PluginPortletDocumentLinkvoid insertDocumentForWhatsNew(int nWhatsNewId,
PortletDocumentLink pdLink,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewId - the ID of the whatsnew portletpdLink - PortletDocumentLinkplugin - Pluginvoid deleteDocumentsFromWhatsNew(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the portletplugin - Pluginvoid deleteLinkWhatsNewPortletToDocument(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.