Class RegularExpressionHome
- java.lang.Object
-
- fr.paris.lutece.plugins.regularexpression.business.RegularExpressionHome
-
public final class RegularExpressionHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for RegularExpression objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcreate(fr.paris.lutece.portal.business.regularexpression.RegularExpression regularExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)Creation of an instance of regular expressionstatic fr.paris.lutece.portal.business.regularexpression.RegularExpressionfindByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns an instance of a regular expression whose identifier is specified in parameterstatic java.util.List<fr.paris.lutece.portal.business.regularexpression.RegularExpression>getList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the regular expression and returns them in a liststatic voidremove(int nIdExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove the regular expression whose identifier is specified in parameterstatic voidupdate(fr.paris.lutece.portal.business.regularexpression.RegularExpression regularExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update of the regular expression which is specified in parameter
-
-
-
Method Detail
-
create
public static void create(fr.paris.lutece.portal.business.regularexpression.RegularExpression regularExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)Creation of an instance of regular expression- Parameters:
regularExpression- The instance of the RegularExpression which contains the informations to storeplugin- the Plugin
-
update
public static void update(fr.paris.lutece.portal.business.regularexpression.RegularExpression regularExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update of the regular expression which is specified in parameter- Parameters:
regularExpression- The instance of the RegularExpression which contains the informations to updateplugin- the Plugin
-
remove
public static void remove(int nIdExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove the regular expression whose identifier is specified in parameter- Parameters:
nIdExpression- The reportingProject Idplugin- the Plugin
-
findByPrimaryKey
public static fr.paris.lutece.portal.business.regularexpression.RegularExpression findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns an instance of a regular expression whose identifier is specified in parameter- Parameters:
nKey- The regularExpression primary keyplugin- the Plugin- Returns:
- an instance of RegularExpression
-
getList
public static java.util.List<fr.paris.lutece.portal.business.regularexpression.RegularExpression> getList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the regular expression and returns them in a list- Parameters:
plugin- the plugin- Returns:
- the list of regularexpression
-
-