Class IdentitySearchRuleDAO

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(int nRuleId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      void insert​(IdentitySearchRule identitySearchRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      IdentitySearchRule select​(int nRuleId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.List<IdentitySearchRule> selectAll​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      void update​(IdentitySearchRule identitySearchRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      • Methods inherited from class java.lang.Object

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

      • IdentitySearchRuleDAO

        public IdentitySearchRuleDAO()
    • Method Detail

      • select

        public IdentitySearchRule select​(int nRuleId,
                                         fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Specified by:
        select in interface IIdentitySearchRuleDAO
        Parameters:
        nRuleId - The rule ID
        plugin - the Plugin
        Returns:
        The instance of the IdentitySearchRule
      • selectAll

        public java.util.List<IdentitySearchRule> selectAll​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Specified by:
        selectAll in interface IIdentitySearchRuleDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The instances of the IdentitySearchRule
      • insert

        public void insert​(IdentitySearchRule identitySearchRule,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Specified by:
        insert in interface IIdentitySearchRuleDAO
        Parameters:
        identitySearchRule - instance of the IdentitySearchRule object to insert
        plugin - the Plugin
      • update

        public void update​(IdentitySearchRule identitySearchRule,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Specified by:
        update in interface IIdentitySearchRuleDAO
        Parameters:
        identitySearchRule - the reference of the IdentitySearchRule
        plugin - the Plugin
      • delete

        public void delete​(int nRuleId,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Specified by:
        delete in interface IIdentitySearchRuleDAO
        Parameters:
        nRuleId - The rule ID
        plugin - the Plugin