java.lang.Object
fr.paris.lutece.plugins.identitystore.business.rules.duplicate.DuplicateRuleDAO
All Implemented Interfaces:
IDuplicateRuleDAO

public final class DuplicateRuleDAO extends Object implements IDuplicateRuleDAO
This class provides Data Access methods for IdentityAttribute objects
  • Constructor Details

    • DuplicateRuleDAO

      public DuplicateRuleDAO()
  • Method Details

    • insert

      public void insert(DuplicateRule duplicateRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Specified by:
      insert in interface IDuplicateRuleDAO
      Parameters:
      duplicateRule - instance of the IdentityAttribute object to insert
      plugin - the Plugin
    • select

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

      public List<DuplicateRule> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: IDuplicateRuleDAO
      Load the data from the table
      Specified by:
      selectAll in interface IDuplicateRuleDAO
      Parameters:
      plugin - the Plugin
      Returns:
      The instance of the identityAttribute
    • selectAllIds

      public List<Integer> selectAllIds(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Specified by:
      selectAllIds in interface IDuplicateRuleDAO
    • selectByName

      public DuplicateRule selectByName(String ruleName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Specified by:
      selectByName in interface IDuplicateRuleDAO
    • selectByCode

      public DuplicateRule selectByCode(String ruleCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Specified by:
      selectByCode in interface IDuplicateRuleDAO
    • selectAllCodes

      public List<String> selectAllCodes(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Specified by:
      selectAllCodes in interface IDuplicateRuleDAO
    • update

      public void update(DuplicateRule duplicateRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      Specified by:
      update in interface IDuplicateRuleDAO
      Parameters:
      duplicateRule - the reference of the IdentityAttribute
      plugin - the Plugin
    • updateLastUpdateAuthor

      public void updateLastUpdateAuthor(DuplicateRule duplicateRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Specified by:
      updateLastUpdateAuthor in interface IDuplicateRuleDAO
    • 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 IDuplicateRuleDAO
      Parameters:
      nRuleId - The rule ID
      plugin - the Plugin