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.IPortletInterfaceDAO
nPortletId
- The identifier of the portletvoid insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
insert
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
portlet
- 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.IPortletInterfaceDAO
nPortletId
- The Portlet identifiervoid store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
store
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
portlet
- The instance of the object portletList<WhatsNewPortlet> findAll()
WhatsNewPortlet
List<Integer> loadPageIdsFromWhatsNewPortletId(int nWhatsNewPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId
- the ID of the portletplugin
- Plugin
void insertPageForWhatsNew(int nWhatsNewPortletId, int nPageId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId
- the ID of the portletnPageId
- the page IDplugin
- Plugin
void deletePagesFromWhatsNew(int nWhatsNewPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId
- the ID of the portletplugin
- Plugin
void deleteLinkWhatsNewPortletToPage(int nWhatsNewPortletId, int nPageId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId
- the ID of the portletnPageId
- the page IDplugin
- Plugin
List<Integer> loadPortletIdsFromWhatsNewPortletId(int nWhatsNewPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId
- the ID of the portletplugin
- Plugin
void 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
- Plugin
void deletePortletsFromWhatsNew(int nWhatsNewPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId
- the ID of the whatsnew portletplugin
- Plugin
void 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
- Plugin
List<PortletDocumentLink> loadDocumentFromWhatsNewPortletId(int nWhatsNewPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId
- the ID of the portletplugin
- Plugin
PortletDocumentLink
void insertDocumentForWhatsNew(int nWhatsNewId, PortletDocumentLink pdLink, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewId
- the ID of the whatsnew portletpdLink
- PortletDocumentLink
plugin
- Plugin
void deleteDocumentsFromWhatsNew(int nWhatsNewPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId
- the ID of the portletplugin
- Plugin
void deleteLinkWhatsNewPortletToDocument(int nWhatsNewPortletId, PortletDocumentLink pdLink, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId
- the ID of the portletpdLink
- PortletDocumentLink
plugin
- Plugin
Copyright © 2016 City of Paris. All rights reserved.