fr.paris.lutece.plugins.newsletter.business.portlet
Interface INewsLetterArchivePortletDAO

All Superinterfaces:
fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
All Known Implementing Classes:
NewsLetterArchivePortletDAO

public interface INewsLetterArchivePortletDAO
extends fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO

This class provides Data Access methods for NewsLetterArchivePortlet objects


Method Summary
 ArrayList<Integer> findSendingsInPortlet(int nPortletId)
          Returns all the sendings associated with a given portlet.
 void insertSending(int nPortletId, int nSendingId)
          Associates a new sending to a given portlet.
 void removeSending(int nPortletId, int nSendingId)
          De-associate a sending from a given portlet.
 
Methods inherited from interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
delete, insert, load, store
 

Method Detail

insertSending

void insertSending(int nPortletId,
                   int nSendingId)
Associates a new sending to a given portlet.

Parameters:
nPortletId - the identifier of the portlet.
nSendingId - the identifier of the sending.

removeSending

void removeSending(int nPortletId,
                   int nSendingId)
De-associate a sending from a given portlet.

Parameters:
nPortletId - the identifier of the portlet.
nSendingId - the identifier of the sending.

findSendingsInPortlet

ArrayList<Integer> findSendingsInPortlet(int nPortletId)
Returns all the sendings associated with a given portlet.

Parameters:
nPortletId - the identifier of the portlet.
Returns:
a Set of Integer objects containing the identifers of the sendings.


Copyright © 2013 Mairie de Paris. All Rights Reserved.