Class RegularExpressionDAO

  • All Implemented Interfaces:
    IRegularExpressionDAO

    public final class RegularExpressionDAO
    extends java.lang.Object
    implements IRegularExpressionDAO
    This class provides Data Access methods for ReportingFiche objects
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(int nIdExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      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.
      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
      int newPrimaryKey​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Generates a new primary key
      java.util.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
      void store​(fr.paris.lutece.portal.business.regularexpression.RegularExpression regularExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the regularExpression in the table
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RegularExpressionDAO

        public RegularExpressionDAO()
    • Method Detail

      • newPrimaryKey

        public int newPrimaryKey​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Generates a new primary key
        Parameters:
        plugin - the plugin
        Returns:
        The new primary key
      • 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:
        insert in interface IRegularExpressionDAO
        Parameters:
        regularExpression - instance of the RegularExpression object to insert
        plugin - 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:
        load in interface IRegularExpressionDAO
        Parameters:
        nId - The identifier of the regular expression
        plugin - 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:
        delete in interface IRegularExpressionDAO
        Parameters:
        nIdExpression - The identifier of the regularExpression
        plugin - 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:
        store in interface IRegularExpressionDAO
        Parameters:
        regularExpression - instance of the RegularExpression object to update
        plugin - the plugin
      • selectListRegularExpression

        public java.util.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:
        selectListRegularExpression in interface IRegularExpressionDAO
        Parameters:
        plugin - the plugin
        Returns:
        the list of regular expression