public final class IdentityStoreRestService extends Object
| Constructor and Description | 
|---|
| IdentityStoreRestService()private constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| javax.ws.rs.core.Response | certifyIdentityAttributes(String strHeaderApplicationCode,
                         com.sun.jersey.multipart.FormDataMultiPart formParams)certify identity attributes | 
| javax.ws.rs.core.Response | createIdentity(String strHeaderApplicationCode,
              com.sun.jersey.multipart.FormDataMultiPart formParams)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 | 
| 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 | getApplicationRights(String strClientAppCode)Gives list of application rights according to its application code, it miss must be consistent otherwise an AppException is thrown | 
| 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(String strHeaderApplicationCode,
              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(@HeaderParam(value="client_code")
                                                String strHeaderApplicationCode,
                                                com.sun.jersey.multipart.FormDataMultiPart formParams)
strHeaderApplicationCode - The client app code in headerformParams - form params, bodypars used for files uploadpublic javax.ws.rs.core.Response certifyIdentityAttributes(@HeaderParam(value="client_code")
                                                           String strHeaderApplicationCode,
                                                           com.sun.jersey.multipart.FormDataMultiPart formParams)
strHeaderApplicationCode - formParams - public javax.ws.rs.core.Response createIdentity(@HeaderParam(value="client_code")
                                                String strHeaderApplicationCode,
                                                com.sun.jersey.multipart.FormDataMultiPart formParams)
strHeaderApplicationCode - 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 IDstrHeaderClientAppCode - the client codestrQueryClientAppCode - the client code in querypublic javax.ws.rs.core.Response downloadFileAttribute(String strConnectionId, @HeaderParam(value="client_code") String strHeaderClientAppCode, String strQueryClientAppCode, String strAttributeKey)
strConnectionId - connectionId (must not be empty)strHeaderClientAppCode - client application code (must not be empty)strQueryClientAppCode - client application code in querystrAttributeKey - attribute key containing file (must not be empty)public javax.ws.rs.core.Response getApplicationRights(@HeaderParam(value="client_code")
                                                      String strClientAppCode)
strClientAppCode - client code from headerCopyright © 2019 City of Paris. All rights reserved.