Class RegularExpressionHome
java.lang.Object
fr.paris.lutece.plugins.regularexpression.business.RegularExpressionHome
This class provides instances management methods (create, find, ...) for RegularExpression objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 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 Details
-
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 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
-