Interface IOpengraphSocialHubDAO

  • All Known Implementing Classes:
    OpengraphSocialHubDAO

    public interface IOpengraphSocialHubDAO
    Interface of OpengraphSocialHubDAO
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove an OpengraphSocialHub from the database
      List<OpengraphSocialHub> findAll​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Get every OpengraphSocialHub.
      OpengraphSocialHub findById​(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Find an OpengraphSocialHub by id
      void insert​(OpengraphSocialHub opengraphSocialHub, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new OpengraphSocialHub into the database
      void update​(OpengraphSocialHub opengraphSocialHub, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update an OpengraphSocialHub
    • Method Detail

      • findById

        OpengraphSocialHub findById​(int nId,
                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Find an OpengraphSocialHub by id
        Parameters:
        nId - Id
        plugin - The plugin
        Returns:
        The OpengraphSocialHub with the given Id
      • insert

        void insert​(OpengraphSocialHub opengraphSocialHub,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new OpengraphSocialHub into the database
        Parameters:
        opengraphSocialHub - The OpengraphSocialHub to save
        plugin - The plugin
      • update

        void update​(OpengraphSocialHub opengraphSocialHub,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update an OpengraphSocialHub
        Parameters:
        opengraphSocialHub - The OpengraphSocialHub tu update
        plugin - The plugin
      • delete

        void delete​(int nId,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Remove an OpengraphSocialHub from the database
        Parameters:
        nId - The id of the OpengraphSocialHub to remove
        plugin - The plugin
      • findAll

        List<OpengraphSocialHub> findAll​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Get every OpengraphSocialHub.
        Parameters:
        plugin - The plugin
        Returns:
        The list of every OpengraphSocialHub