Class RegularExpressionDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.regularexpression.business.RegularExpressionDAO
-
- All Implemented Interfaces:
IRegularExpressionDAO
public final class RegularExpressionDAO extends java.lang.Object implements IRegularExpressionDAO
This class provides Data Access methods for ReportingFiche objects
-
-
Constructor Summary
Constructors Constructor Description RegularExpressionDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nIdExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoidinsert(fr.paris.lutece.portal.business.regularexpression.RegularExpression regularExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.fr.paris.lutece.portal.business.regularexpression.RegularExpressionload(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of the regular expression from the tablejava.util.List<fr.paris.lutece.portal.business.regularexpression.RegularExpression>selectListRegularExpression(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the regularExpression and returns them in a listvoidstore(fr.paris.lutece.portal.business.regularexpression.RegularExpression regularExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the regularExpression in the table
-
-
-
Method Detail
-
insert
public void insert(fr.paris.lutece.portal.business.regularexpression.RegularExpression regularExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.- Specified by:
insertin interfaceIRegularExpressionDAO- Parameters:
regularExpression- instance of the RegularExpression object to insertplugin- the plugin
-
load
public fr.paris.lutece.portal.business.regularexpression.RegularExpression load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of the regular expression from the table- Specified by:
loadin interfaceIRegularExpressionDAO- Parameters:
nId- The identifier of the regular expressionplugin- the plugin- Returns:
- the instance of the RegularExpression
-
delete
public void delete(int nIdExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Specified by:
deletein interfaceIRegularExpressionDAO- Parameters:
nIdExpression- The identifier of the regularExpressionplugin- the plugin
-
store
public void store(fr.paris.lutece.portal.business.regularexpression.RegularExpression regularExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the regularExpression in the table- Specified by:
storein interfaceIRegularExpressionDAO- Parameters:
regularExpression- instance of the RegularExpression object to updateplugin- the plugin
-
selectListRegularExpression
public java.util.List<fr.paris.lutece.portal.business.regularexpression.RegularExpression> selectListRegularExpression(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the regularExpression and returns them in a list- Specified by:
selectListRegularExpressionin interfaceIRegularExpressionDAO- Parameters:
plugin- the plugin- Returns:
- the list of regular expression
-
-