|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.whatsnew.service.portlet.WhatsNewPortletService
public class WhatsNewPortletService
WhatsNewPortletService
| Constructor Summary | |
|---|---|
WhatsNewPortletService()
|
|
| Method Summary | |
|---|---|
void |
create(WhatsNewPortlet portlet)
Create a new WhatsNewPortlet |
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 |
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 WhatsNewPortletService |
getInstance()
Return the ThemeService 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 |
WhatsNewPortlet |
getPortlet(int nPortletId)
Get the portlet with the given portlet id |
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()
Get the portlet type id |
void |
init()
Init |
void |
remove(WhatsNewPortlet portlet)
Remove a WhatsNewPortlet |
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(WhatsNewPortlet whatsNewPortlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all links of a whatsnew portlet to the documents |
void |
removeModeratedElements(WhatsNewPortlet portlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove all the moderated elements from the given portlet |
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(WhatsNewPortlet whatsNewPortlet,
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(WhatsNewPortlet whatsNewPortlet,
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 |
void |
update(WhatsNewPortlet portlet)
Update a WhatsNewPortlet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WhatsNewPortletService()
| Method Detail |
|---|
public static WhatsNewPortletService getInstance()
public void init()
public WhatsNewPortlet getPortlet(int nPortletId)
nPortletId - the portlet id
WhatsNewPortletpublic java.lang.String getPortletTypeId()
public void create(WhatsNewPortlet portlet)
WhatsNewPortlet
portlet - a WhatsNewPortletpublic void update(WhatsNewPortlet portlet)
WhatsNewPortlet
portlet - a WhatsNewPortletpublic void remove(WhatsNewPortlet portlet)
WhatsNewPortlet
portlet - a WhatsNewPortletpublic 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 removeModeratedElements(WhatsNewPortlet portlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
portlet - the WhatsNewPortletplugin - Plugin
public void removeModeratedPages(WhatsNewPortlet whatsNewPortlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
whatsNewPortlet - the portletplugin - Plugin
public void removeModeratedPortlets(WhatsNewPortlet whatsNewPortlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
whatsNewPortlet - the portletplugin - Plugin
public void removeModeratedDocuments(WhatsNewPortlet whatsNewPortlet,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
whatsNewPortlet - 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 | |||||||||