Class RecapHome
- java.lang.Object
-
- fr.paris.lutece.plugins.form.business.RecapHome
-
public final class RecapHome extends java.lang.Objectclass recap Home
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intcopy(Recap recap, fr.paris.lutece.portal.service.plugin.Plugin plugin)Copy of an instance of recapstatic intcreate(Recap recap, fr.paris.lutece.portal.service.plugin.Plugin plugin)Creation of an instance of Recapstatic RecapfindByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns an instance of a Recap whose identifier is specified in parameterstatic voidremove(int nIdRecap, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove the recap whose identifier is specified in parameterstatic voidupdate(Recap recap, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update of the recap which is specified in parameter
-
-
-
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 storeplugin- 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 copyplugin- 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 updateplugin- 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 Idplugin- 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 keyplugin- the Plugin- Returns:
- an instance of Recap
-
-