Class RecapDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.form.business.RecapDAO
-
-
Constructor Summary
Constructors Constructor Description RecapDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nIdRecap, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tableintinsert(Recap recap, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.Recapload(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of the recap from the tableintnewPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)Generates a new primary keyvoidstore(Recap recap, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the recap in the table
-
-
-
Method Detail
-
newPrimaryKey
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key- Parameters:
plugin- the plugin- Returns:
- The new primary key
-
insert
public int insert(Recap recap, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
-
load
public Recap load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the recap from the table
-
delete
public void delete(int nIdRecap, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table
-
-