Interface ISearchIdentityService
-
- All Known Implementing Classes:
DatabaseSearchIdentityService,ElasticSearchIdentityService
public interface ISearchIdentityService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute>computeOutputKeys(List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute> attributes)fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.QualifiedIdentitySearchResultgetQualifiedIdentities(String customerId, List<String> attributesFilter)returns a list of qualified identities from its customer IDfr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.QualifiedIdentitySearchResultgetQualifiedIdentities(List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute> attributes, int max, boolean connected, List<String> attributesFilter)returns a list of qualified identities from combination of attributesfr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.QualifiedIdentitySearchResultgetQualifiedIdentities(List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute> attributes, List<List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute>> specialTreatmentAttributes, Integer nbEqualAttributes, Integer nbMissingAttributes, int max, boolean connected, List<String> attributesFilter)returns a list of qualified identities from combination of attributesfr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.QualifiedIdentitySearchResultgetQualifiedIdentities(List<String> customerIds, List<String> attributesFilter)returns a list of qualified identities from its customer ID
-
-
-
Method Detail
-
getQualifiedIdentities
fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.QualifiedIdentitySearchResult getQualifiedIdentities(List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute> attributes, List<List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute>> specialTreatmentAttributes, Integer nbEqualAttributes, Integer nbMissingAttributes, int max, boolean connected, List<String> attributesFilter) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
returns a list of qualified identities from combination of attributes- Parameters:
max- the maximum number of results that must be returned, if set to 0 or null, must be ignored by implementation.attributes- list of values to search for some attributes with strict or fuzzy modespecialTreatmentAttributes- defines how each attribute should be searchednbEqualAttributes- the number of attributes that must be equal in the responsenbMissingAttributes- defines the maximum number of attributes that can be absent in the response (vs the request)connected- defines if the identity should be connected or notattributesFilter- the list of attributes that must be included in the response- Returns:
- a list of identities satisfying the criteria of the
SearchAttributelist - Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
getQualifiedIdentities
fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.QualifiedIdentitySearchResult getQualifiedIdentities(List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute> attributes, int max, boolean connected, List<String> attributesFilter) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
returns a list of qualified identities from combination of attributes- Parameters:
max- the maximum number of results that must be returned, if set to 0 or null, must be ignored by implementation.attributes- list of values to search for some attributes with strict or fuzzy modeconnected- defines if the identity should be connected or notattributesFilter- the list of attributes that must be included in the response- Returns:
- a list of identities satisfying the criteria of the
SearchAttributelist - Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
getQualifiedIdentities
fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.QualifiedIdentitySearchResult getQualifiedIdentities(String customerId, List<String> attributesFilter) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
returns a list of qualified identities from its customer ID- Parameters:
customerId- the customer IDattributesFilter- the list of attributes that must be included in the response- Returns:
- a list of identities satisfying the criteria of the
SearchAttributelist - Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
getQualifiedIdentities
fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.QualifiedIdentitySearchResult getQualifiedIdentities(List<String> customerIds, List<String> attributesFilter) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
returns a list of qualified identities from its customer ID- Parameters:
customerIds- the customer IDsattributesFilter- the list of attributes that must be included in the response- Returns:
- a list of identities satisfying the criteria of the
SearchAttributelist - Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
-