fr.paris.lutece.plugins.regularexpression.business
Class RegularExpressionHome

java.lang.Object
  extended by fr.paris.lutece.plugins.regularexpression.business.RegularExpressionHome

public final class RegularExpressionHome
extends Object

This class provides instances management methods (create, find, ...) for RegularExpression objects


Method Summary
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
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
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
static void remove(int nIdExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove the regular expression whose identifier is specified in parameter
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 store
plugin - 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 update
plugin - 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 Id
plugin - 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 key
plugin - 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


Copyright © 2013 Mairie de Paris. All Rights Reserved.