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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.ArrayList<java.lang.Integer> findSendingsInPortlet​(int nPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Returns all the sendings associated with a given portlet.
      void insertSending​(int nPortletId, int nSendingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Associates a new sending to a given portlet.
      void removeSending​(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 Detail

      • 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 plugin
        nSendingId - the identifier of the sending.
      • findSendingsInPortlet

        java.util.ArrayList<java.lang.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.