|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.business.portlet.PortletHome
fr.paris.lutece.plugins.whatsnew.business.portlet.WhatsNewPortletHome
public class WhatsNewPortletHome
WhatsNewPortletHome
| Constructor Summary | |
|---|---|
WhatsNewPortletHome()
Constructor |
|
| Method Summary | |
|---|---|
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 |
java.util.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 |
java.util.List<java.lang.Integer> |
getPageIdsFromWhatsNewId(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all page IDs associated to the given whatNewPortletId |
java.util.List<java.lang.Integer> |
getPortletIdsFromWhatsNewId(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all portlet IDs associated to the given whatsNewPortletId |
java.lang.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 |
java.util.List<WhatsNewPortlet> |
selectAll()
Select all WhatsNewPortlet |
| Methods inherited from class fr.paris.lutece.portal.business.portlet.PortletHome |
|---|
create, findByPrimaryKey, findByType, getAliasList, getLastModifiedPortlet, getPortletListByStyle, getPortletsByRoleKey, getPortletsListbyName, getPortletType, getStylesList, hasAlias, invalidate, invalidate, remove, update, updateStatus |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WhatsNewPortletHome()
| Method Detail |
|---|
public static WhatsNewPortletHome getInstance()
public java.lang.String getPortletTypeId()
public fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO getDAO()
public java.util.List<WhatsNewPortlet> selectAll()
WhatsNewPortlet
public java.util.List<java.lang.Integer> getPageIdsFromWhatsNewId(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the portletplugin - Plugin
public java.util.List<java.lang.Integer> getPortletIdsFromWhatsNewId(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the portletplugin - Plugin
public java.util.List<PortletDocumentLink> getDocumentsFromWhatsNewId(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the portletplugin - Plugin
PortletDocumentLink
public void createModeratedPage(int nWhatsNewPortletId,
int nPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the portletnPageId - the page IDplugin - Plugin
public 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 - Plugin
public void createModeratedDocument(int nWhatsNewPortletId,
PortletDocumentLink pdLink,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the whatsnew portletpdLink - PortletDocumentLinkplugin - Plugin
public void removeModeratedPages(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the portletplugin - Plugin
public void removeModeratedPortlets(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the whatsnew portletplugin - Plugin
public void removeModeratedDocuments(int nWhatsNewPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the portletplugin - Plugin
public void removeModeratedPage(int nWhatsNewPortletId,
int nPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the portletnPageId - the page IDplugin - Plugin
public 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 - Plugin
public void removeModeratedDocument(int nWhatsNewPortletId,
PortletDocumentLink pdLink,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nWhatsNewPortletId - the ID of the portletpdLink - PortletDocumentLinkplugin - Plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||