Class RegularExpressionDAO
java.lang.Object
fr.paris.lutece.plugins.regularexpression.business.RegularExpressionDAO
- All Implemented Interfaces:
IRegularExpressionDAO
This class provides Data Access methods for ReportingFiche objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(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 tableList<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
-
Constructor Details
-
RegularExpressionDAO
public RegularExpressionDAO()
-
-
Method Details
-
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 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
-