Class ElasticSearchIdentityService

java.lang.Object
fr.paris.lutece.plugins.identitystore.service.indexer.search.ElasticSearchIdentityService
All Implemented Interfaces:
ISearchIdentityService

public class ElasticSearchIdentityService extends Object implements ISearchIdentityService
  • Method Summary

    Modifier and Type
    Method
    Description
    fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.QualifiedIdentitySearchResult
    getQualifiedIdentities(String customerId, List<String> attributesFilter)
    returns a list of qualified identities from its customer ID
    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)
    returns a list of qualified identities from combination of attributes
    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)
    returns a list of qualified identities from combination of attributes
    fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.QualifiedIdentitySearchResult
    getQualifiedIdentities(List<String> customerIds, List<String> attributesFilter)
    returns a list of qualified identities from its customer ID
    fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.QualifiedIdentitySearchResult
    getQualifiedIdentitiesByConnectionId(String connectionId, List<String> attributesFilter)
    returns a list of qualified identities from its customer ID

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface fr.paris.lutece.plugins.identitystore.service.search.ISearchIdentityService

    computeOutputKeys
  • Method Details

    • getQualifiedIdentities

      public 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
      Specified by:
      getQualifiedIdentities in interface ISearchIdentityService
      Parameters:
      attributes - list of values to search for some attributes with strict or fuzzy mode
      specialTreatmentAttributes - defines how each attribute should be searched
      nbEqualAttributes - the number of attributes that must be equal in the response
      nbMissingAttributes - defines the maximum number of attributes that can be absent in the response (vs the request)
      max - the maximum number of results that must be returned, if set to 0 or null, must be ignored by implementation.
      connected - defines if the identity should be connected or not
      attributesFilter - the list of attributes that must be included in the response
      Returns:
      a list of identities satisfying the criteria of the SearchAttribute list
      Throws:
      fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
    • getQualifiedIdentities

      public 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
      Description copied from interface: ISearchIdentityService
      returns a list of qualified identities from combination of attributes
      Specified by:
      getQualifiedIdentities in interface ISearchIdentityService
      Parameters:
      attributes - list of values to search for some attributes with strict or fuzzy mode
      max - the maximum number of results that must be returned, if set to 0 or null, must be ignored by implementation.
      connected - defines if the identity should be connected or not
      attributesFilter - the list of attributes that must be included in the response
      Returns:
      a list of identities satisfying the criteria of the SearchAttribute list
      Throws:
      fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
    • getQualifiedIdentities

      public 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
      Description copied from interface: ISearchIdentityService
      returns a list of qualified identities from its customer ID
      Specified by:
      getQualifiedIdentities in interface ISearchIdentityService
      Parameters:
      customerId - the customer ID (CUID)
      attributesFilter - the list of attributes that must be included in the response
      Returns:
      a list of identities satisfying the criteria of the SearchAttribute list
      Throws:
      fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
    • getQualifiedIdentitiesByConnectionId

      public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.QualifiedIdentitySearchResult getQualifiedIdentitiesByConnectionId(String connectionId, List<String> attributesFilter) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      Description copied from interface: ISearchIdentityService
      returns a list of qualified identities from its customer ID
      Specified by:
      getQualifiedIdentitiesByConnectionId in interface ISearchIdentityService
      Parameters:
      connectionId - the connection ID (GUID)
      attributesFilter - the list of attributes that must be included in the response
      Returns:
      a list of identities satisfying the criteria of the SearchAttribute list
      Throws:
      fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
    • getQualifiedIdentities

      public 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
      Description copied from interface: ISearchIdentityService
      returns a list of qualified identities from its customer ID
      Specified by:
      getQualifiedIdentities in interface ISearchIdentityService
      Parameters:
      customerIds - the customer IDs
      attributesFilter - the list of attributes that must be included in the response
      Returns:
      a list of identities satisfying the criteria of the SearchAttribute list
      Throws:
      fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException