Interface IFreeHtmlTopicDAO

  • All Known Implementing Classes:
    FreeHtmlTopicDao

    public interface IFreeHtmlTopicDAO
    Interface for FreeHtmlTopic DAO
    • Method Detail

      • findByPrimaryKey

        FreeHtmlTopic findByPrimaryKey​(int nId,
                                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Get a FreeHtmlTopic by its primary key from the database
        Parameters:
        nId - The id of the FreeHtmlTopic to get
        plugin - The plugin
        Returns:
        The FreeHtmlTopic with the given id, or null if no FreeHtmlTopic has this id.
      • insert

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

        void update​(FreeHtmlTopic freeHtmlTopic,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update a FreeHtmlTopic in the database
        Parameters:
        freeHtmlTopic - The new values of the FreeHtmlTopic.
        plugin - The plugin
      • remove

        void remove​(int nId,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a FreeHtmlTopic from the database
        Parameters:
        nId - The id of the FreeHtmlTopic to delete.
        plugin - The plugin
      • findCollection

        java.util.List<FreeHtmlTopic> findCollection​(java.util.List<java.lang.Integer> listIds,
                                                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Get a list of FreeHtmlTopic from a list of ids
        Parameters:
        listIds - The list of ids of FreeHtmlTopic to get.
        plugin - The plugin
        Returns:
        The list of FreeHtmlTopic found.