Class IdentityTransportRest

    • Constructor Summary

      Constructors 
      Constructor Description
      IdentityTransportRest​(fr.paris.lutece.plugins.identitystore.v3.business.IHttpTransportProvider transportProvider)
      contructor
      IdentityTransportRest​(fr.paris.lutece.plugins.identitystore.v3.business.IHttpTransportProvider transportProvider, java.lang.String strIdentityPath, java.lang.String strTaskPath)
      contructor
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse createIdentity​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChange, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
      Creates an identity only if the identity does not already exist.
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.task.IdentityTaskCreateResponse createIdentityTask​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.task.IdentityTaskCreateRequest request, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
      Create a task related to an IdentityDto by its customer ID.
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse deleteIdentity​(java.lang.String strCustomerId, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
      Deletes an identity from the specified connectionId
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.exporting.IdentityExportResponse exportIdentities​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.exporting.IdentityExportRequest request, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
      Exports a list of identities according to the provided request and client code.
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.IdentitySearchResponse getIdentity​(java.lang.String strCustomerId, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
      get identity matching connectionId for provided application code
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityHistoryGetResponse getIdentityHistory​(java.lang.String strCustomerId, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
      Gives the identity history (identity+attributes) from a customerID
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.task.IdentityTaskGetResponse getIdentityTaskList​(java.lang.String taskCode, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
      Get the task.
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.task.IdentityTaskListGetResponse getIdentityTaskList​(java.lang.String resourceId, java.lang.String resourceType, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
      Get the tasks related to a given resource.
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.task.IdentityTaskGetStatusResponse getIdentityTaskStatus​(java.lang.String taskCode, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
      Get the IdentityTaskStatusType of the task.
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.contract.ServiceContractSearchResponse getServiceContract​(java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
      Deprecated.
      Please use ServiceContractTransportRest for requests regarding service contract.
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.UpdatedIdentitySearchResponse getUpdatedIdentities​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.UpdatedIdentitySearchRequest request, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
      get identities that have been updated, according to given request.
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse importIdentity​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChange, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
      import an identity to the id store
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.merge.IdentityMergeResponse mergeIdentities​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.merge.IdentityMergeRequest identityMerge, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
      Merge two identities.
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.IdentitySearchResponse searchIdentities​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.IdentitySearchRequest identitySearchRequest, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
      returns a list of identity from combination of attributes
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityHistorySearchResponse searchIdentityHistory​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityHistorySearchRequest request, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
      Search for identities history according to given request
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.task.IdentityTaskSearchResponse searchIdentityTasks​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.task.IdentityTaskSearchRequest request, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
      Search for tasks.
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse testCreateIdentity​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChange, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
      Test the data validity for the creation of a new Identity
      Send the data through all the controls.
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse testUpdateIdentity​(java.lang.String strCustomerId, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChange, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
      Test the data validity for the update of an Identity
      Send the data through all the controls.
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse uncertifyIdentity​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.UncertifyIdentityRequest request, java.lang.String strCustomerId, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
      Dé-certification d'une identité.
      Une identité ne pouvant pas posséder d'attributs non-certifiés, une dé-certification implique la certification de ses attributs avec le processus défini par la property : identitystore.identity.uncertify.processus (par défaut : "dec", qui correspond au niveau le plus faible de certification (auto-déclaratif))
      Seuls les attributs présents dans la requête seront dé-certifiés.
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse uncertifyIdentity​(java.lang.String strCustomerId, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
      Dé-certification d'une identité.
      Une identité ne pouvant pas posséder d'attributs non-certifiés, une dé-certification implique la certification de ses attributs avec le processus défini par la property : identitystore.identity.uncertify.processus (par défaut : "dec", qui correspond au niveau le plus faible de certification (auto-déclaratif))
      Tous les attributs de l'identité seront dé-certifiés.
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.merge.IdentityMergeResponse unMergeIdentities​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.merge.IdentityMergeRequest identityMerge, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
      Unmerge two identities.
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse updateIdentity​(java.lang.String strCustomerId, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChange, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
      Updates an identity.
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.task.IdentityTaskUpdateStatusResponse updateIdentityTaskStatus​(java.lang.String taskCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.task.IdentityTaskUpdateStatusRequest request, java.lang.String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
      Update the IdentityTaskStatusType of the task.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IdentityTransportRest

        public IdentityTransportRest​(fr.paris.lutece.plugins.identitystore.v3.business.IHttpTransportProvider transportProvider)
        contructor
        Parameters:
        transportProvider -
      • IdentityTransportRest

        public IdentityTransportRest​(fr.paris.lutece.plugins.identitystore.v3.business.IHttpTransportProvider transportProvider,
                                     java.lang.String strIdentityPath,
                                     java.lang.String strTaskPath)
        contructor
        Parameters:
        transportProvider -
    • Method Detail

      • getIdentity

        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.IdentitySearchResponse getIdentity​(java.lang.String strCustomerId,
                                                                                                             java.lang.String strClientCode,
                                                                                                             fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author)
                                                                                                      throws fr.paris.lutece.portal.service.util.AppException,
                                                                                                             fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
        get identity matching connectionId for provided application code
        Specified by:
        getIdentity in interface IIdentityTransportProvider
        Parameters:
        strCustomerId - customer Id
        strClientCode - client code of calling application
        author - author of the request
        Returns:
        identity if found
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
        fr.paris.lutece.portal.service.util.AppException - if inconsitent parmeters provided, or errors occurs...
        fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException - if no identity found for input parameters
      • updateIdentity

        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse updateIdentity​(java.lang.String strCustomerId,
                                                                                                              fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChange,
                                                                                                              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
        Updates an identity.
        Specified by:
        updateIdentity in interface IIdentityTransportProvider
        Parameters:
        strCustomerId - customer Id
        identityChange - change to apply to identity
        strClientCode - client code of calling application
        author - the author of the request
        Returns:
        the IdentityChangeResponse
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
        fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException
      • testUpdateIdentity

        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse testUpdateIdentity​(java.lang.String strCustomerId,
                                                                                                                  fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChange,
                                                                                                                  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
        Test the data validity for the update of an Identity
        Send the data through all the controls. Even if all the controls are passing correctly, the identity will NOT be updated.
        Specified by:
        testUpdateIdentity in interface IIdentityTransportProvider
        Parameters:
        strCustomerId - customer Id
        identityChange - change to apply to identity
        strClientCode - client code of calling application
        author - the author of the request
        Returns:
        the IdentityChangeResponse
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
        fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException
      • createIdentity

        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse createIdentity​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChange,
                                                                                                              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
        Creates an identity only if the identity does not already exist. The identity is created from the provided attributes. The order to test if the identity exists: - by using the provided customer id if present - by using the provided connection id if present
        Specified by:
        createIdentity in interface IIdentityTransportProvider
        Parameters:
        identityChange - change to apply to identity
        strClientCode - client code of calling application
        author - the author of the request
        Returns:
        the IdentityChangeResponse
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
        fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException
      • testCreateIdentity

        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse testCreateIdentity​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChange,
                                                                                                                  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
        Test the data validity for the creation of a new Identity
        Send the data through all the controls. Even if all the controls are passing correctly, an identity will NOT be created.
        Specified by:
        testCreateIdentity in interface IIdentityTransportProvider
        Parameters:
        identityChange - change to apply to identity
        strClientCode - client code of calling application
        author - the author of the request
        Returns:
        the IdentityChangeResponse
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
        fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException
      • deleteIdentity

        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse deleteIdentity​(java.lang.String strCustomerId,
                                                                                                              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
        Deletes an identity from the specified connectionId
        Specified by:
        deleteIdentity in interface IIdentityTransportProvider
        strClientCode - client code of calling application
        author - the author of the request
        Returns:
        the ResponseDto object
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException - if no identity found for input parameters
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      • searchIdentities

        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.IdentitySearchResponse searchIdentities​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.IdentitySearchRequest identitySearchRequest,
                                                                                                                  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
        returns a list of identity from combination of attributes
        Specified by:
        searchIdentities in interface IIdentityTransportProvider
        Parameters:
        identitySearchRequest - change to apply to identity
        strClientCode - client code of calling application
        author - the author of the request
        Returns:
        identity filled according to application rights for user identified by connection id
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      • getServiceContract

        @Deprecated
        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.contract.ServiceContractSearchResponse getServiceContract​(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
        Deprecated.
        Please use ServiceContractTransportRest for requests regarding service contract.
        returns the active service contract for the given application code
        Specified by:
        getServiceContract in interface IIdentityTransportProvider
        Parameters:
        strClientCode - client code of calling application
        author - the author of the request
        Returns:
        the active service contract for the given application code
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      • importIdentity

        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse importIdentity​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChange,
                                                                                                              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
        Description copied from interface: IIdentityTransportProvider
        import an identity to the id store
        Specified by:
        importIdentity in interface IIdentityTransportProvider
        Parameters:
        identityChange - change to apply to identity
        strClientCode - client code of calling application
        author - the author of the request
        Returns:
        identity filled according to application rights for user identified by connection id
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      • mergeIdentities

        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.merge.IdentityMergeResponse mergeIdentities​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.merge.IdentityMergeRequest identityMerge,
                                                                                                               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
        Merge two identities.
        Specified by:
        mergeIdentities in interface IIdentityTransportProvider
        Parameters:
        identityMerge - the request containing the master cuid, the secondary cuid, and a list of attribute to be taken from the secondary identity and put on the master identity.
        strClientCode - client code of calling application
        author - the author of the request
        Returns:
        IdentityMergeResponse
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      • unMergeIdentities

        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.merge.IdentityMergeResponse unMergeIdentities​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.merge.IdentityMergeRequest identityMerge,
                                                                                                                 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
        Unmerge two identities.
        Specified by:
        unMergeIdentities in interface IIdentityTransportProvider
        Parameters:
        identityMerge - the request containing the master cuid, the secondary cuid
        strClientCode - client code of calling application
        author - the author of the request
        Returns:
        IdentityMergeResponse
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      • getIdentityHistory

        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityHistoryGetResponse getIdentityHistory​(java.lang.String strCustomerId,
                                                                                                                         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
        Description copied from interface: IIdentityTransportProvider
        Gives the identity history (identity+attributes) from a customerID
        Specified by:
        getIdentityHistory in interface IIdentityTransportProvider
        Parameters:
        strCustomerId - customerID
        strClientCode - client code of calling application
        author - the author of the request
        Returns:
        the history
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      • searchIdentityHistory

        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityHistorySearchResponse searchIdentityHistory​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityHistorySearchRequest 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
        Description copied from interface: IIdentityTransportProvider
        Search for identities history according to given request
        Specified by:
        searchIdentityHistory in interface IIdentityTransportProvider
        Parameters:
        request - request
        strClientCode - client code of calling application
        author - the author of the request
        Returns:
        the history
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      • getUpdatedIdentities

        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.UpdatedIdentitySearchResponse getUpdatedIdentities​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.UpdatedIdentitySearchRequest 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
        Description copied from interface: IIdentityTransportProvider
        get identities that have been updated, according to given request.
        Specified by:
        getUpdatedIdentities in interface IIdentityTransportProvider
        Parameters:
        request - the request
        strClientCode - client code of calling application
        author - the author of the request
        Returns:
        the list of identities
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      • uncertifyIdentity

        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse uncertifyIdentity​(java.lang.String strCustomerId,
                                                                                                                 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
        Dé-certification d'une identité.
        Une identité ne pouvant pas posséder d'attributs non-certifiés, une dé-certification implique la certification de ses attributs avec le processus défini par la property : identitystore.identity.uncertify.processus (par défaut : "dec", qui correspond au niveau le plus faible de certification (auto-déclaratif))
        Tous les attributs de l'identité seront dé-certifiés.
        Specified by:
        uncertifyIdentity in interface IIdentityTransportProvider
        Parameters:
        strCustomerId - the customer ID
        strClientCode - client code of calling application
        author - the author of the request
        Returns:
        IdentityChangeResponse
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      • uncertifyIdentity

        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse uncertifyIdentity​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.UncertifyIdentityRequest request,
                                                                                                                 java.lang.String strCustomerId,
                                                                                                                 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
        Dé-certification d'une identité.
        Une identité ne pouvant pas posséder d'attributs non-certifiés, une dé-certification implique la certification de ses attributs avec le processus défini par la property : identitystore.identity.uncertify.processus (par défaut : "dec", qui correspond au niveau le plus faible de certification (auto-déclaratif))
        Seuls les attributs présents dans la requête seront dé-certifiés. Si la requête est vide ou null, tous les attributs seront dé-certifiés.
        Specified by:
        uncertifyIdentity in interface IIdentityTransportProvider
        Parameters:
        request - the uncertify request
        strCustomerId - the customer ID
        strClientCode - client code of calling application
        author - the author of the request
        Returns:
        IdentityChangeResponse
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      • exportIdentities

        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.exporting.IdentityExportResponse exportIdentities​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.exporting.IdentityExportRequest 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
        Exports a list of identities according to the provided request and client code.
        Specified by:
        exportIdentities in interface IIdentityTransportProvider
        Parameters:
        request - the export request
        strClientCode - the client code
        Returns:
        IdentityExportResponse
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      • createIdentityTask

        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.task.IdentityTaskCreateResponse createIdentityTask​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.task.IdentityTaskCreateRequest 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
        Description copied from interface: IIdentityTransportProvider
        Create a task related to an IdentityDto by its customer ID.
        Specified by:
        createIdentityTask in interface IIdentityTransportProvider
        Parameters:
        request - the task creation request
        strClientCode - the client code calling the request
        author - the author of the request
        Returns:
        the code of the created task used to identify that task for further usage
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException - in case of error
      • updateIdentityTaskStatus

        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.task.IdentityTaskUpdateStatusResponse updateIdentityTaskStatus​(java.lang.String taskCode,
                                                                                                                                  fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.task.IdentityTaskUpdateStatusRequest 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
        Description copied from interface: IIdentityTransportProvider
        Update the IdentityTaskStatusType of the task.
        Specified by:
        updateIdentityTaskStatus in interface IIdentityTransportProvider
        Parameters:
        taskCode - the code of the task returned at creation time
        request - the task status update request
        strClientCode - the client code calling the request
        author - the author of the request
        Returns:
        an IdentityTaskUpdateStatusResponse
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException - in case of error
      • getIdentityTaskStatus

        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.task.IdentityTaskGetStatusResponse getIdentityTaskStatus​(java.lang.String taskCode,
                                                                                                                            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
        Description copied from interface: IIdentityTransportProvider
        Get the IdentityTaskStatusType of the task.
        Specified by:
        getIdentityTaskStatus in interface IIdentityTransportProvider
        Parameters:
        taskCode - the code of the task returned at creation time
        strClientCode - the client code calling the request
        author - the author of the request
        Returns:
        an IdentityTaskGetStatusResponse
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException - in case of error
      • getIdentityTaskList

        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.task.IdentityTaskGetResponse getIdentityTaskList​(java.lang.String taskCode,
                                                                                                                    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
        Description copied from interface: IIdentityTransportProvider
        Get the task.
        Specified by:
        getIdentityTaskList in interface IIdentityTransportProvider
        Parameters:
        taskCode - the code of the task returned at creation time
        strClientCode - the client code calling the request
        author - the author of the request
        Returns:
        an IdentityTaskGetResponse
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException - in case of error
      • getIdentityTaskList

        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.task.IdentityTaskListGetResponse getIdentityTaskList​(java.lang.String resourceId,
                                                                                                                        java.lang.String resourceType,
                                                                                                                        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
        Description copied from interface: IIdentityTransportProvider
        Get the tasks related to a given resource.
        Specified by:
        getIdentityTaskList in interface IIdentityTransportProvider
        Parameters:
        resourceId - the ID of the resource
        resourceType - the type of the resource
        strClientCode - the client code calling the request
        author - the author of the request
        Returns:
        an IdentityTaskGetResponse
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException - in case of error
      • searchIdentityTasks

        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.task.IdentityTaskSearchResponse searchIdentityTasks​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.task.IdentityTaskSearchRequest 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
        Description copied from interface: IIdentityTransportProvider
        Search for tasks.
        Specified by:
        searchIdentityTasks in interface IIdentityTransportProvider
        Parameters:
        request - the search request
        strClientCode - the client code calling the request
        author - the author of the request
        Returns:
        an IdentityTaskSearchResponse
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException - in case of error