Class DuplicateRuleDAO

    • Constructor Detail

      • DuplicateRuleDAO

        public DuplicateRuleDAO()
    • Method Detail

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