Class DuplicateService
- java.lang.Object
-
- fr.paris.lutece.plugins.identitystore.service.duplicate.DuplicateService
-
- All Implemented Interfaces:
IDuplicateService
public class DuplicateService extends java.lang.Object implements IDuplicateService
-
-
Constructor Summary
Constructors Constructor Description DuplicateService(ISearchIdentityService _searchIdentityService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.QualifiedIdentitySearchResult>findDuplicates(java.util.Map<java.lang.String,java.lang.String> attributeValues, java.lang.String customerId, java.util.List<DuplicateRule> duplicateRules, java.util.List<java.lang.String> attributesFilter)Performs a search request on the givenISearchIdentityServiceapplying the givenDuplicateRule
-
-
-
Constructor Detail
-
DuplicateService
public DuplicateService(ISearchIdentityService _searchIdentityService)
-
-
Method Detail
-
findDuplicates
public java.util.Map<java.lang.String,fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.QualifiedIdentitySearchResult> findDuplicates(java.util.Map<java.lang.String,java.lang.String> attributeValues, java.lang.String customerId, java.util.List<DuplicateRule> duplicateRules, java.util.List<java.lang.String> attributesFilter) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionPerforms a search request on the givenISearchIdentityServiceapplying the givenDuplicateRule- Specified by:
findDuplicatesin interfaceIDuplicateService- Parameters:
attributeValues- aMapof attribute key and attribute value of the baseIdentitycustomerId- the customerId of the baseIdentityduplicateRules- the list ofDuplicateRuleto be applied- Returns:
- a
Mapthat contains the result of each search request by duplicate rule code. - Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException- See Also:
DuplicateRule documentation
-
-