Interface ISubscriptionDAO

  • All Known Implementing Classes:
    SubscriptionDAO

    public interface ISubscriptionDAO
    ISubscriptionDAO Interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      void insert​(Subscription subscription, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Subscription load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      List<Integer> selectIdSubscriptionsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the subscription objects and returns them as a list
      List<Subscription> selectSubscriptionsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the subscription objects and returns them as a list
      fr.paris.lutece.util.ReferenceList selectSubscriptionsReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the subscription objects and returns them as a referenceList
      void store​(Subscription subscription, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

        void insert​(Subscription subscription,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Parameters:
        subscription - instance of the Subscription object to insert
        plugin - the Plugin
      • store

        void store​(Subscription subscription,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Parameters:
        subscription - the reference of the Subscription
        plugin - the Plugin
      • delete

        void delete​(int nKey,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Parameters:
        nKey - The identifier of the Subscription to delete
        plugin - the Plugin
      • load

        Subscription load​(int nKey,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nKey - The identifier of the subscription
        plugin - the Plugin
        Returns:
        The instance of the subscription
      • selectSubscriptionsList

        List<Subscription> selectSubscriptionsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the subscription objects and returns them as a list
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the subscription objects
      • selectIdSubscriptionsList

        List<Integer> selectIdSubscriptionsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the id of all the subscription objects and returns them as a list
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the id of all the subscription objects
      • selectSubscriptionsReferenceList

        fr.paris.lutece.util.ReferenceList selectSubscriptionsReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the subscription objects and returns them as a referenceList
        Parameters:
        plugin - the Plugin
        Returns:
        The referenceList which contains the data of all the subscription objects