Class RegularExpressionDAO

java.lang.Object
fr.paris.lutece.plugins.regularexpression.business.RegularExpressionDAO
All Implemented Interfaces:
IRegularExpressionDAO

@ApplicationScoped public final class RegularExpressionDAO extends Object implements IRegularExpressionDAO
This class provides Data Access methods for ReportingFiche objects
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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
    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 Details

    • RegularExpressionDAO

      public RegularExpressionDAO()
  • Method Details

    • 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 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