Class FreeHtmlTopicHome


  • public final class FreeHtmlTopicHome
    extends java.lang.Object
    Home for FreeHtmlTopic objects
    • Method Detail

      • findByPrimaryKey

        public static 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.
      • insertFreeHtmlTopic

        public static void insertFreeHtmlTopic​(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
      • updateFreeHtmlTopic

        public static void updateFreeHtmlTopic​(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
      • removeFreeHtmlTopic

        public static void removeFreeHtmlTopic​(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
      • getFreeHtmlTopicList

        public static java.util.List<FreeHtmlTopic> getFreeHtmlTopicList​(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.