Class RecapHome


  • public final class RecapHome
    extends java.lang.Object
    class recap Home
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int copy​(Recap recap, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Copy of an instance of recap
      static int create​(Recap recap, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Creation of an instance of Recap
      static Recap findByPrimaryKey​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Returns an instance of a Recap whose identifier is specified in parameter
      static void remove​(int nIdRecap, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove the recap whose identifier is specified in parameter
      static void update​(Recap recap, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update of the recap which is specified in parameter
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • create

        public static int create​(Recap recap,
                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Creation of an instance of Recap
        Parameters:
        recap - The instance of the Recap which contains the informations to store
        plugin - the Plugin
        Returns:
        The primary key of the new recap.
      • copy

        public static int copy​(Recap recap,
                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Copy of an instance of recap
        Parameters:
        recap - The instance of the Recap who must copy
        plugin - the Plugin
        Returns:
        the id of the nex recap
      • update

        public static void update​(Recap recap,
                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update of the recap which is specified in parameter
        Parameters:
        recap - The instance of the Recap which contains the informations to update
        plugin - the Plugin
      • remove

        public static void remove​(int nIdRecap,
                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Remove the recap whose identifier is specified in parameter
        Parameters:
        nIdRecap - The recap Id
        plugin - the Plugin
      • findByPrimaryKey

        public static Recap findByPrimaryKey​(int nKey,
                                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Returns an instance of a Recap whose identifier is specified in parameter
        Parameters:
        nKey - The entry primary key
        plugin - the Plugin
        Returns:
        an instance of Recap