public final class IdentityStoreRestService extends Object
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
certifyIdentityAttributes(com.sun.jersey.multipart.FormDataMultiPart formParams) |
javax.ws.rs.core.Response |
createIdentity(com.sun.jersey.multipart.FormDataMultiPart formParams)
Creates an identity only if the identity does not already exist.
|
javax.ws.rs.core.Response |
deleteIdentity(String strConnectionId,
String strHeaderClientAppCode,
String strQueryClientAppCode)
Deletes an identity from the specified connectionId
|
javax.ws.rs.core.Response |
downloadFileAttribute(String strConnectionId,
String strHeaderClientAppCode,
String strQueryClientAppCode,
String strAttributeKey)
returns requested file matching attributeKey / connectionId if application is authorized
|
javax.ws.rs.core.Response |
getIdentity(String strConnectionId,
String strCustomerId,
String strHeaderClientAppCode,
String strQueryClientAppCode)
Gives Identity from a connectionId or customerID either connectionId or customerId must be provided if connectionId AND customerId are provided, they
must be consistent otherwise an AppException is thrown
|
javax.ws.rs.core.Response |
updateIdentity(com.sun.jersey.multipart.FormDataMultiPart formParams)
update identity method
|
public javax.ws.rs.core.Response getIdentity(String strConnectionId, String strCustomerId, @HeaderParam(value="client_code") String strHeaderClientAppCode, String strQueryClientAppCode)
strConnectionId
- connection IDstrCustomerId
- customerIDstrHeaderClientAppCode
- client codestrQueryClientAppCode
- client code, will be removed, use Header parameter insteadpublic javax.ws.rs.core.Response updateIdentity(com.sun.jersey.multipart.FormDataMultiPart formParams)
formParams
- form params, bodypars used for files uploadpublic javax.ws.rs.core.Response certifyIdentityAttributes(com.sun.jersey.multipart.FormDataMultiPart formParams)
public javax.ws.rs.core.Response createIdentity(com.sun.jersey.multipart.FormDataMultiPart formParams)
formParams
- form params, bodypars used for files uploadpublic javax.ws.rs.core.Response deleteIdentity(String strConnectionId, @HeaderParam(value="client_code") String strHeaderClientAppCode, String strQueryClientAppCode)
strConnectionId
- the connection IDstrClientAppCode
- the client codepublic javax.ws.rs.core.Response downloadFileAttribute(String strConnectionId, @HeaderParam(value="client_code") String strHeaderClientAppCode, String strQueryClientAppCode, String strAttributeKey)
strConnectionId
- connectionId (must not be empty)strClientAppCode
- client application code (must not be empty)strAttributeKey
- attribute key containing file (must not be empty)Copyright © 2017 City of Paris. All rights reserved.