Interface IDuplicateRuleDAO

  • All Known Implementing Classes:
    DuplicateRuleDAO

    public interface IDuplicateRuleDAO
    IDuplicateRuleDAO Interface
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BEAN_NAME  
    • Method Summary

      All Methods Instance Methods Abstract 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​(DuplicateRule duplicateRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      DuplicateRule select​(int nRuleId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.List<DuplicateRule> selectAll​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.List<java.lang.String> selectAllCodes​(fr.paris.lutece.portal.service.plugin.Plugin plugin)  
      java.util.List<java.lang.Integer> selectAllIds​(fr.paris.lutece.portal.service.plugin.Plugin plugin)  
      DuplicateRule selectByCode​(java.lang.String ruleCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)  
      DuplicateRule selectByName​(java.lang.String ruleName, fr.paris.lutece.portal.service.plugin.Plugin plugin)  
      void update​(DuplicateRule duplicateRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      void updateLastUpdateAuthor​(DuplicateRule duplicateRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)  
    • Method Detail

      • insert

        void insert​(DuplicateRule duplicateRule,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Parameters:
        duplicateRule - instance of the IdentityAttribute object to insert
        plugin - the Plugin
      • update

        void update​(DuplicateRule duplicateRule,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Parameters:
        duplicateRule - the reference of the IdentityAttribute
        plugin - the Plugin
      • delete

        void delete​(int nRuleId,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Parameters:
        nRuleId - The rule ID
        plugin - the Plugin
      • select

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

        java.util.List<DuplicateRule> selectAll​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        plugin - the Plugin
        Returns:
        The instance of the identityAttribute
      • selectAllIds

        java.util.List<java.lang.Integer> selectAllIds​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      • selectByName

        DuplicateRule selectByName​(java.lang.String ruleName,
                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
      • selectAllCodes

        java.util.List<java.lang.String> selectAllCodes​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      • selectByCode

        DuplicateRule selectByCode​(java.lang.String ruleCode,
                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
      • updateLastUpdateAuthor

        void updateLastUpdateAuthor​(DuplicateRule duplicateRule,
                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)