|
||||||||||
| 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.newsletter.business.portlet.NewsLetterSubscriptionPortletHome
public class NewsLetterSubscriptionPortletHome
This class provides instances management methods for NewsLetterSubscriptionPortlet objects
| Constructor Summary | |
|---|---|
NewsLetterSubscriptionPortletHome()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class fr.paris.lutece.portal.business.portlet.PortletHome |
|---|
create, findByPrimaryKey, findByType, getAliasList, getLastModifiedPortlet, getPortletListByStyle, getPortletsByRoleKey, getPortletsListbyName, getPortletType, getStylesList, hasAlias, invalidate, invalidate, notifyListeners, remove, update, updateStatus |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NewsLetterSubscriptionPortletHome()
| Method Detail |
|---|
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.public static Set<Integer> findSelectedNewsletters(int nPortletId)
nPortletId - the identifier of the portlet.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||