Interface INewsLetterSubscriptionPortletDAO
-
- All Superinterfaces:
fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
- All Known Implementing Classes:
NewsLetterSubscriptionPortletDAO
public interface INewsLetterSubscriptionPortletDAO extends fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOThis class provides Data Access methods for NewsLetterSubscriptionPortlet objects
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<java.lang.Integer>findSelectedNewsletters(int nPortletId)Returns all the newsletters associated to a given portlet.voidinsertSubscription(int nPortletId, int nNewsletterId)Associates a new subscription to a given portlet.voidremoveSubscription(int nPortletId, int nSubscriptionId)De-associate a subscription from a given portlet.
-
-
-
Method Detail
-
insertSubscription
void insertSubscription(int nPortletId, int nNewsletterId)Associates a new subscription to a given portlet.- Parameters:
nPortletId- the identifier of the portlet.nNewsletterId- the identifier of the newsletter
-
removeSubscription
void removeSubscription(int nPortletId, int nSubscriptionId)De-associate a subscription from a given portlet.- Parameters:
nPortletId- the identifier of the portlet.nSubscriptionId- the identifier of the subscription.
-
findSelectedNewsletters
java.util.Set<java.lang.Integer> findSelectedNewsletters(int nPortletId)
Returns all the newsletters associated to a given portlet.- Parameters:
nPortletId- the identifier of the portlet.- Returns:
- a Set of Integer objects containing the identifers of the subscriptions.
-
-