public class NewsLetterSubscriptionPortletHome
extends fr.paris.lutece.portal.business.portlet.PortletHome
Constructor and Description |
---|
NewsLetterSubscriptionPortletHome() |
Modifier and Type | Method and Description |
---|---|
static Set<Integer> |
findSelectedNewsletters(int nPortletId)
Returns all the newsletters chosen associated with a given portlet.
|
fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO |
getDAO()
Returns the instance of the portlet DAO singleton
|
static fr.paris.lutece.portal.business.portlet.PortletHome |
getInstance()
Returns the instance of NewsLetterSubscription Portlet
|
String |
getPortletTypeId()
Returns the identifier of the portlet type
|
static void |
insertSubscription(int nPortletId,
int nSubscriptionId)
Associates a new subscription to a given portlet.
|
static void |
removeNewsletter(int nPortletId,
int nIdNewsletter)
De-associate a subscription from a given portlet.
|
create, findByPrimaryKey, findByType, getAliasList, getLastModifiedPortlet, getPortletListByStyle, getPortletsByRoleKey, getPortletsListbyName, getPortletType, getStylesList, getUsedOrdersForColumns, hasAlias, invalidate, invalidate, notifyListeners, remove, update, updateStatus
public String getPortletTypeId()
public static fr.paris.lutece.portal.business.portlet.PortletHome getInstance()
public fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO getDAO()
public static void insertSubscription(int nPortletId, int nSubscriptionId)
nPortletId
- the identifier of the portlet.nSubscriptionId
- the identifier of the subscription.public static void removeNewsletter(int nPortletId, int nIdNewsletter)
nPortletId
- the identifier of the portlet.nIdNewsletter
- the identifier of the subscription.Copyright © 2019 City of Paris. All rights reserved.