Class RecapHome
java.lang.Object
fr.paris.lutece.plugins.form.business.RecapHome
class recap Home
-
Method Summary
Modifier and TypeMethodDescriptionstatic intCopy of an instance of recapstatic intCreation 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 of the recap which is specified in parameter
-
Method Details
-
create
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
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
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
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
-