|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.whatsnew.business.portlet.WhatsNewPortletDAO
public final class WhatsNewPortletDAO
WhatsNewPortletDAO
| Constructor Summary | |
|---|---|
WhatsNewPortletDAO()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WhatsNewPortletDAO()
| Method Detail |
|---|
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 identifier
public 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 IWhatsNewPortletDAOWhatsNewPortlet
public List<Integer> loadPageIdsFromWhatsNewPortletId(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadPageIdsFromWhatsNewPortletId in interface IWhatsNewPortletDAOnWhatsNewPortletId - the ID of the portletplugin - Plugin
public 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 - Plugin
public void deletePagesFromWhatsNew(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deletePagesFromWhatsNew in interface IWhatsNewPortletDAOnWhatsNewPortletId - the ID of the portletplugin - Plugin
public 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 - Plugin
public List<Integer> loadPortletIdsFromWhatsNewPortletId(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadPortletIdsFromWhatsNewPortletId in interface IWhatsNewPortletDAOnWhatsNewPortletId - the ID of the portletplugin - Plugin
public 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 - Plugin
public void deletePortletsFromWhatsNew(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deletePortletsFromWhatsNew in interface IWhatsNewPortletDAOnWhatsNewPortletId - the ID of the whatsnew portletplugin - Plugin
public 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 - Plugin
public List<PortletDocumentLink> loadDocumentFromWhatsNewPortletId(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadDocumentFromWhatsNewPortletId in interface IWhatsNewPortletDAOnWhatsNewPortletId - the ID of the portletplugin - Plugin
PortletDocumentLink
public 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 - Plugin
public void deleteDocumentsFromWhatsNew(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteDocumentsFromWhatsNew in interface IWhatsNewPortletDAOnWhatsNewPortletId - the ID of the portletplugin - Plugin
public 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 - Plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||