Class IdentityQualityTransportRest
- java.lang.Object
-
- fr.paris.lutece.plugins.identityquality.v3.web.rs.service.AbstractTransportRest
-
- fr.paris.lutece.plugins.identityquality.v3.web.rs.service.IdentityQualityTransportRest
-
- All Implemented Interfaces:
IIdentityQualityTransportProvider
public class IdentityQualityTransportRest extends AbstractTransportRest implements IIdentityQualityTransportProvider
IdentityQualityRestClientService
-
-
Constructor Summary
Constructors Constructor Description IdentityQualityTransportRest()Simple ConstructorIdentityQualityTransportRest(fr.paris.lutece.plugins.identitystore.v3.business.IHttpTransportProvider httpTransport)Constructor with IHttpTransportProvider parameterIdentityQualityTransportRest(fr.paris.lutece.plugins.identitystore.v3.business.IHttpTransportProvider httpTransport, java.lang.String strIdentityPath)Constructor with IHttpTransportProvider parameter
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.SuspiciousIdentityExcludeResponsecancelIdentitiesExclusion(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.SuspiciousIdentityExcludeRequest request, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)Cancel identities exclusion from duplicate suspicions.fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.SuspiciousIdentityChangeResponsecreateSuspiciousIdentity(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.SuspiciousIdentityChangeRequest request, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)Report a suspicious identityfr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.SuspiciousIdentityExcludeResponseexcludeIdentities(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.SuspiciousIdentityExcludeRequest request, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)Exclude identities from duplicate suspicions.fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.duplicate.DuplicateRuleSummarySearchResponsegetAllDuplicateRules(java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author, java.lang.Integer priority)Get full list of duplicate rules.fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.DuplicateSearchResponsegetDuplicates(java.lang.String customerId, java.lang.String ruleCode, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)Get list of identities that are duplicates of the provided customerId's identity, according to the provided rule ID.fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.SuspiciousIdentitySearchResponsegetSuspiciousIdentities(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.SuspiciousIdentitySearchRequest request, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)Get list of suspicious identities for a given rule IDfr.paris.lutece.plugins.identitystore.v3.web.rs.dto.lock.SuspiciousIdentityLockResponselock(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.lock.SuspiciousIdentityLockRequest request, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)Lock duplicate suspicions.fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.DuplicateSearchResponsesearchDuplicates(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.DuplicateSearchRequest request, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)-
Methods inherited from class fr.paris.lutece.plugins.identityquality.v3.web.rs.service.AbstractTransportRest
setHttpTransport
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fr.paris.lutece.plugins.identityquality.v3.web.service.IIdentityQualityTransportProvider
checkCommonHeaders
-
-
-
-
Constructor Detail
-
IdentityQualityTransportRest
public IdentityQualityTransportRest()
Simple Constructor
-
IdentityQualityTransportRest
public IdentityQualityTransportRest(fr.paris.lutece.plugins.identitystore.v3.business.IHttpTransportProvider httpTransport)
Constructor with IHttpTransportProvider parameter- Parameters:
httpTransport- the provider to use
-
IdentityQualityTransportRest
public IdentityQualityTransportRest(fr.paris.lutece.plugins.identitystore.v3.business.IHttpTransportProvider httpTransport, java.lang.String strIdentityPath)Constructor with IHttpTransportProvider parameter- Parameters:
httpTransport- the provider to use
-
-
Method Detail
-
getAllDuplicateRules
public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.duplicate.DuplicateRuleSummarySearchResponse getAllDuplicateRules(java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author, java.lang.Integer priority) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionGet full list of duplicate rules.- Specified by:
getAllDuplicateRulesin interfaceIIdentityQualityTransportProvider- Parameters:
strClientCode- the client codeauthor- the author of the requestpriority- the minimal priority of rules to return- Returns:
- DuplicateRuleSummarySearchResponse containing a list of
DuplicateRuleSummaryDto. - Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
createSuspiciousIdentity
public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.SuspiciousIdentityChangeResponse createSuspiciousIdentity(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.SuspiciousIdentityChangeRequest request, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionReport a suspicious identity- Specified by:
createSuspiciousIdentityin interfaceIIdentityQualityTransportProvider- Parameters:
request- the identity change requeststrClientCode- the client codeauthor- the author of the request- Returns:
- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
getSuspiciousIdentities
public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.SuspiciousIdentitySearchResponse getSuspiciousIdentities(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.SuspiciousIdentitySearchRequest request, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionGet list of suspicious identities for a given rule ID- Specified by:
getSuspiciousIdentitiesin interfaceIIdentityQualityTransportProvider- Parameters:
request- the SuspiciousIdentitySearchRequeststrClientCode- the client codeauthor- the author of the request- Returns:
- SuspiciousIdentitySearchResponse containing a list of SuspiciousIdentityDto
- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
getDuplicates
public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.DuplicateSearchResponse getDuplicates(java.lang.String customerId, java.lang.String ruleCode, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionGet list of identities that are duplicates of the provided customerId's identity, according to the provided rule ID.- Specified by:
getDuplicatesin interfaceIIdentityQualityTransportProvider- Parameters:
customerId- the customer ID of the identityruleCode- the rule codestrClientCode- the client codeauthor- the author of the request- Returns:
- DuplicateSearchResponse containing a list of
IdentityDto - Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
searchDuplicates
public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.DuplicateSearchResponse searchDuplicates(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.DuplicateSearchRequest request, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException- Specified by:
searchDuplicatesin interfaceIIdentityQualityTransportProvider- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
excludeIdentities
public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.SuspiciousIdentityExcludeResponse excludeIdentities(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.SuspiciousIdentityExcludeRequest request, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionDescription copied from interface:IIdentityQualityTransportProviderExclude identities from duplicate suspicions.- Specified by:
excludeIdentitiesin interfaceIIdentityQualityTransportProvider- Parameters:
request- a valid SuspiciousIdentityExcludeRequeststrClientCode- the client codeauthor- the author of the request- Returns:
- SuspiciousIdentityExcludeResponse containing the status of the exclusion
- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
cancelIdentitiesExclusion
public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.SuspiciousIdentityExcludeResponse cancelIdentitiesExclusion(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.SuspiciousIdentityExcludeRequest request, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionDescription copied from interface:IIdentityQualityTransportProviderCancel identities exclusion from duplicate suspicions.- Specified by:
cancelIdentitiesExclusionin interfaceIIdentityQualityTransportProvider- Parameters:
request- a valid SuspiciousIdentityExcludeRequeststrClientCode- the client codeauthor- the author of the request- Returns:
- SuspiciousIdentityExcludeResponse containing the status of the exclusion
- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
lock
public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.lock.SuspiciousIdentityLockResponse lock(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.lock.SuspiciousIdentityLockRequest request, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionDescription copied from interface:IIdentityQualityTransportProviderLock duplicate suspicions.- Specified by:
lockin interfaceIIdentityQualityTransportProvider- Parameters:
request- a validSuspiciousIdentityLockRequeststrClientCode- the client codeauthor- the author of the request- Returns:
- SuspiciousIdentityExcludeResponse containing the status of the exclusion
- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
-