public final class WhatsNewPortletDAO extends Object implements IWhatsNewPortletDAO
| Constructor and Description |
|---|
WhatsNewPortletDAO() |
| 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
|
void |
deleteWhatsNewFromDocument(PortletDocumentLink pdLink,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
void |
deleteWhatsNewFromPage(int nPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
void |
deleteWhatsNewFromPortlet(int nPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
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 nWhatsNewPortletId,
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
|
public void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
insert in interface IWhatsNewPortletDAOinsert in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOportlet - the instance of the Portlet object to insertpublic void delete(int nPortletId)
delete in interface IWhatsNewPortletDAOdelete in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOnPortletId - The identifier of the portletpublic fr.paris.lutece.portal.business.portlet.Portlet load(int nPortletId)
load in interface IWhatsNewPortletDAOload in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOnPortletId - The Portlet identifierpublic void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
store in interface IWhatsNewPortletDAOstore in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOportlet - The instance of the object portletpublic List<WhatsNewPortlet> findAll()
findAll in interface IWhatsNewPortletDAOWhatsNewPortletpublic List<Integer> loadPageIdsFromWhatsNewPortletId(int nWhatsNewPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadPageIdsFromWhatsNewPortletId in interface IWhatsNewPortletDAOnWhatsNewPortletId - the ID of the portletplugin - Pluginpublic void insertPageForWhatsNew(int nWhatsNewPortletId,
int nPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insertPageForWhatsNew in interface IWhatsNewPortletDAOnWhatsNewPortletId - the ID of the portletnPageId - the page IDplugin - Pluginpublic void deletePagesFromWhatsNew(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deletePagesFromWhatsNew in interface IWhatsNewPortletDAOnWhatsNewPortletId - the ID of the portletplugin - Pluginpublic void deleteWhatsNewFromPage(int nPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void deleteLinkWhatsNewPortletToPage(int nWhatsNewPortletId,
int nPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteLinkWhatsNewPortletToPage in interface IWhatsNewPortletDAOnWhatsNewPortletId - the ID of the portletnPageId - the page IDplugin - Pluginpublic List<Integer> loadPortletIdsFromWhatsNewPortletId(int nWhatsNewPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadPortletIdsFromWhatsNewPortletId in interface IWhatsNewPortletDAOnWhatsNewPortletId - the ID of the portletplugin - Pluginpublic void insertPortletForWhatsNew(int nWhatsNewPortletId,
int nPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insertPortletForWhatsNew in interface IWhatsNewPortletDAOnWhatsNewPortletId - the ID of the whatsnew portletnPortletId - the ID of the portletplugin - Pluginpublic void deletePortletsFromWhatsNew(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deletePortletsFromWhatsNew in interface IWhatsNewPortletDAOnWhatsNewPortletId - the ID of the whatsnew portletplugin - Pluginpublic void deleteWhatsNewFromPortlet(int nPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void deleteLinkWhatsNewPortletToPortlet(int nWhatsNewPortletId,
int nPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteLinkWhatsNewPortletToPortlet in interface IWhatsNewPortletDAOnWhatsNewPortletId - the ID of the whatsnew portletnPortletId - the ID of the portletplugin - Pluginpublic List<PortletDocumentLink> loadDocumentFromWhatsNewPortletId(int nWhatsNewPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadDocumentFromWhatsNewPortletId in interface IWhatsNewPortletDAOnWhatsNewPortletId - the ID of the portletplugin - PluginPortletDocumentLinkpublic void insertDocumentForWhatsNew(int nWhatsNewPortletId,
PortletDocumentLink pdLink,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insertDocumentForWhatsNew in interface IWhatsNewPortletDAOnWhatsNewPortletId - the ID of the whatsnew portletpdLink - PortletDocumentLinkplugin - Pluginpublic void deleteDocumentsFromWhatsNew(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteDocumentsFromWhatsNew in interface IWhatsNewPortletDAOnWhatsNewPortletId - the ID of the portletplugin - Pluginpublic void deleteWhatsNewFromDocument(PortletDocumentLink pdLink, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void deleteLinkWhatsNewPortletToDocument(int nWhatsNewPortletId,
PortletDocumentLink pdLink,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteLinkWhatsNewPortletToDocument in interface IWhatsNewPortletDAOnWhatsNewPortletId - the ID of the portletpdLink - PortletDocumentLinkplugin - PluginCopyright © 2015 City of Paris. All rights reserved.