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
Modifier and TypeMethodDescriptionfindSendingsInPortlet(int nPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns all the sendings associated with a given portlet.voidinsertSending(int nPortletId, int nSendingId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Associates a new sending to a given portlet.voidremoveSending(int nPortletId, int nSendingId, fr.paris.lutece.portal.service.plugin.Plugin plugin) De-associate a sending from a given portlet.Methods inherited from interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
delete, insert, load, store
-
Method Details
-
insertSending
void insertSending(int nPortletId, int nSendingId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Associates a new sending to a given portlet.- Parameters:
nPortletId- the identifier of the portlet.nSendingId- the identifier of the sending.plugin- the plugin
-
removeSending
void removeSending(int nPortletId, int nSendingId, fr.paris.lutece.portal.service.plugin.Plugin plugin) De-associate a sending from a given portlet.- Parameters:
nPortletId- the identifier of the portlet.plugin- the pluginnSendingId- the identifier of the sending.
-
findSendingsInPortlet
ArrayList<Integer> findSendingsInPortlet(int nPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns all the sendings associated with a given portlet.- Parameters:
nPortletId- the identifier of the portlet.plugin- the plugin- Returns:
- a Set of Integer objects containing the identifers of the sendings.
-