Interface ISearchIdentityService

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute> computeOutputKeys​(java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute> attributes)  
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.QualifiedIdentitySearchResult getQualifiedIdentities​(java.lang.String customerId, java.util.List<java.lang.String> attributesFilter)
      returns a list of qualified identities from its customer ID
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.QualifiedIdentitySearchResult getQualifiedIdentities​(java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute> attributes, int max, boolean connected, java.util.List<java.lang.String> attributesFilter)
      returns a list of qualified identities from combination of attributes
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.QualifiedIdentitySearchResult getQualifiedIdentities​(java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute> attributes, java.util.List<java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute>> specialTreatmentAttributes, java.lang.Integer nbEqualAttributes, java.lang.Integer nbMissingAttributes, int max, boolean connected, java.util.List<java.lang.String> attributesFilter)
      returns a list of qualified identities from combination of attributes
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.QualifiedIdentitySearchResult getQualifiedIdentities​(java.util.List<java.lang.String> customerIds, java.util.List<java.lang.String> attributesFilter)
      returns a list of qualified identities from its customer ID
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.QualifiedIdentitySearchResult getQualifiedIdentitiesByConnectionId​(java.lang.String connectionId, java.util.List<java.lang.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​(java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute> attributes,
                                                                                                                        java.util.List<java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute>> specialTreatmentAttributes,
                                                                                                                        java.lang.Integer nbEqualAttributes,
                                                                                                                        java.lang.Integer nbMissingAttributes,
                                                                                                                        int max,
                                                                                                                        boolean connected,
                                                                                                                        java.util.List<java.lang.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 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)
        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

        fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.QualifiedIdentitySearchResult getQualifiedIdentities​(java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute> attributes,
                                                                                                                        int max,
                                                                                                                        boolean connected,
                                                                                                                        java.util.List<java.lang.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 mode
        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

        fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.QualifiedIdentitySearchResult getQualifiedIdentities​(java.lang.String customerId,
                                                                                                                        java.util.List<java.lang.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 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

        fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.QualifiedIdentitySearchResult getQualifiedIdentitiesByConnectionId​(java.lang.String connectionId,
                                                                                                                                      java.util.List<java.lang.String> attributesFilter)
                                                                                                                               throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
        returns a list of qualified identities from its customer ID
        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

        fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.QualifiedIdentitySearchResult getQualifiedIdentities​(java.util.List<java.lang.String> customerIds,
                                                                                                                        java.util.List<java.lang.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 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
      • computeOutputKeys

        default java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute> computeOutputKeys​(java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute> attributes)