public final class IdentityTransportApiManagerRest extends Object implements IIdentityTransportProvider
| Constructor and Description |
|---|
IdentityTransportApiManagerRest()
Simple Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientApplication(String strClientCode)
check whether the parameters related to the application are valid or not
|
void |
checkCustomerId(String strCustomerId)
check whether the parameters related to the identity are valid or not
|
void |
checkIdentityChange(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChange)
check whether the parameters related to the identity are valid or not
|
void |
checkIdentityForUpdate(String strConnectionId,
String strCustomerId)
check whether the parameters related to the identity update are valid or not
|
void |
checkIdentitySearch(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.IdentitySearchRequest identitySearch) |
void |
checkMergeRequest(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.merge.IdentityMergeRequest identityMergeRequest)
Check whether the parameters related to the identity merge request are valid or not
|
fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse |
createIdentity(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChange,
String strClientCode)
Creates an identity only if the identity does not already exist.
|
fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.ResponseDto |
deleteIdentity(String strIdConnection,
String strClientCode)
Deletes an identity from the specified connectionId
|
fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.IdentitySearchResponse |
getIdentity(String strCustomerId,
String strClientCode)
get identity matching connectionId for provided application code
|
fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.contract.ServiceContractSearchResponse |
getServiceContract(String strClientCode)
returns the active service contract for the given application code
|
fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse |
importIdentity(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChange,
String strClientCode)
import an identity to the id store
|
fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.IdentitySearchResponse |
searchIdentities(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.IdentitySearchRequest identitySearchRequest,
String strClientCode)
returns a list of identity from combination of attributes
|
void |
setApiManagerCredentials(String strApiManagerCredentials)
Sets the API Manager credentials
|
void |
setApiManagerEndPoint(String strApiManagerEndPoint)
setter of apiManagerEndPoint
|
void |
setHttpTransport(IHttpTransportProvider httpTransport)
setter of httpTransport
|
void |
setIdentityStoreEndPoint(String strIdentityStoreEndPoint)
setter of identityStoreEndPoint
|
fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse |
updateIdentity(String strCustomerId,
fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChange,
String strClientCode)
Updates an identity.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateIdentity, deleteIdentity, getIdentity, getServiceContract, importIdentity, searchIdentities, updateIdentitypublic IdentityTransportApiManagerRest()
public void setApiManagerEndPoint(String strApiManagerEndPoint)
strApiManagerEndPoint - value to usepublic void setApiManagerCredentials(String strApiManagerCredentials)
strApiManagerCredentials - the API Manager credentialspublic void setIdentityStoreEndPoint(String strIdentityStoreEndPoint)
strIdentityStoreEndPoint - value to usepublic void setHttpTransport(IHttpTransportProvider httpTransport)
httpTransport - IHttpTransportProvider to usepublic fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.IdentitySearchResponse getIdentity(String strCustomerId, String strClientCode) throws fr.paris.lutece.portal.service.util.AppException, fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
getIdentity in interface IIdentityTransportProviderstrCustomerId - customer IdstrClientCode - application code of calling applicationfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionfr.paris.lutece.portal.service.util.AppException - if inconsitent parmeters provided, or errors occurs...fr.paris.lutece.plugins.identitystore.web.exception.IdentityNotFoundException - if no identity found for input parameterspublic fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse updateIdentity(String strCustomerId, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChange, String strClientCode) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
updateIdentity in interface IIdentityTransportProviderstrCustomerId - customer IdidentityChange - change to apply to identitystrClientCode - application code who requested identitiesIdentityChangeResponsefr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionfr.paris.lutece.plugins.identitystore.web.exception.IdentityNotFoundExceptionpublic fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse createIdentity(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChange,
String strClientCode)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
createIdentity in interface IIdentityTransportProvideridentityChange - change to apply to identityIdentityChangeResponsefr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionfr.paris.lutece.plugins.identitystore.web.exception.IdentityNotFoundExceptionpublic fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.ResponseDto deleteIdentity(String strIdConnection, String strClientCode) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
deleteIdentity in interface IIdentityTransportProviderstrIdConnection - the connection idstrClientCode - the application code on the headerResponseDto objectfr.paris.lutece.plugins.identitystore.web.exception.IdentityNotFoundException - if no identity found for input parametersfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.IdentitySearchResponse searchIdentities(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.IdentitySearchRequest identitySearchRequest,
String strClientCode)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
searchIdentities in interface IIdentityTransportProvideridentitySearchRequest - change to apply to identitystrClientCode - application code who requested identitiesfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.contract.ServiceContractSearchResponse getServiceContract(String strClientCode) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
getServiceContract in interface IIdentityTransportProviderstrClientCode - application code who requested service contractfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeResponse importIdentity(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChange,
String strClientCode)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
IIdentityTransportProviderimportIdentity in interface IIdentityTransportProvideridentityChange - change to apply to identitystrClientCode - application code who requested identitiesfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic void checkClientApplication(String strClientCode) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
strClientCode - client application codefr.paris.lutece.portal.service.util.AppException - if the parameters are not validfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic void checkCustomerId(String strCustomerId) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
strCustomerId - the customer idfr.paris.lutece.portal.service.util.AppException - if the parameters are not validfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic void checkIdentityForUpdate(String strConnectionId, String strCustomerId) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
strConnectionId - the connection idstrCustomerId - the customer idfr.paris.lutece.portal.service.util.AppException - if the parameters are not validfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic void checkIdentityChange(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest identityChange)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
identityChange - fr.paris.lutece.portal.service.util.AppExceptionfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic void checkIdentitySearch(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.IdentitySearchRequest identitySearch)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic void checkMergeRequest(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.merge.IdentityMergeRequest identityMergeRequest)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
identityMergeRequest - the identity merge requestfr.paris.lutece.portal.service.util.AppException - if the parameters are not validfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionCopyright © 2023 City of Paris. All rights reserved.