Class IdentitySearcher

    • Constructor Detail

      • IdentitySearcher

        public IdentitySearcher​(String strServerUrl,
                                String strLogin,
                                String strPassword)
      • IdentitySearcher

        public IdentitySearcher​(String strServerUrl)
    • Method Detail

      • multiSearch

        public Response multiSearch​(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)
                             throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
        Perform a multi search by generating several requests according to parameters.
        Specified by:
        multiSearch in interface IIdentitySearcher
        Parameters:
        attributes - the complete list of SearchAttribute defined in the client request
        specialTreatmentAttributes - a list of particular treatment on given attributes over attributes param
        nbEqualAttributes - number of attributes that must be strictly equal
        nbMissingAttributes - number of attributes that can be missing
        max - maximum number of identities in the response
        connected - search for a connected IdentityDto if true
        Returns:
        a list of IdentityDto matching the requests
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      • search

        public Response search​(List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute> attributes,
                               int max,
                               boolean connected)
                        throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
        Specified by:
        search in interface IIdentitySearcher
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      • search

        public Response search​(String customerId)
                        throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
        Specified by:
        search in interface IIdentitySearcher
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      • search

        public Response search​(List<String> customerId)
                        throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
        Specified by:
        search in interface IIdentitySearcher
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException