Class RegularExpressionHome


  • public final class RegularExpressionHome
    extends java.lang.Object
    This class provides instances management methods (create, find, ...) for RegularExpression objects
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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 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
      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

        equals, 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 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