Class AsmProfileIdentityServiceClientAdapter
java.lang.Object
de.hybris.platform.yaasyprofileconnect.yaas.client.AsmProfileIdentityServiceClientAdapter
- All Implemented Interfaces:
AsmProfileIdentityServiceClient
public class AsmProfileIdentityServiceClientAdapter
extends Object
implements AsmProfileIdentityServiceClient
Adapter around the Charon client to retrieve profile references in a blocking way without blocking every Charon
client.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ApiRegistryClientServicegetProfileReferences(String identityKey, String identityType, String identityOrigin) Finds profile references based on identity (e.g.getProfileReferences(String identityKey, String identityType, String identityOrigin, int limit, String sortBy, String sortDirection) Finds profile references based on identity (e.g.rx.Observable<List<ProfileReference>>getProfileReferencesAsync(String identityKey, String identityType, String identityOrigin) Finds profile references based on identity (e.g.rx.Observable<List<ProfileReference>>getProfileReferencesAsync(String identityKey, String identityType, String identityOrigin, int limit, String sortBy, String sortDirection) Finds profile references based on identity (e.g.voidsetApiRegistryClientService(ApiRegistryClientService apiRegistryClientService)
-
Constructor Details
-
AsmProfileIdentityServiceClientAdapter
public AsmProfileIdentityServiceClientAdapter()
-
-
Method Details
-
getProfileReferences
public List<ProfileReference> getProfileReferences(String identityKey, String identityType, String identityOrigin) Description copied from interface:AsmProfileIdentityServiceClientFinds profile references based on identity (e.g. user email, session identifier)- Specified by:
getProfileReferencesin interfaceAsmProfileIdentityServiceClient- Parameters:
identityKey- Identity keyidentityType- Identity typeidentityOrigin- Identity origin- Returns:
- Profile references
-
getProfileReferences
public List<ProfileReference> getProfileReferences(String identityKey, String identityType, String identityOrigin, int limit, String sortBy, String sortDirection) Description copied from interface:AsmProfileIdentityServiceClientFinds profile references based on identity (e.g. user email, session identifier)- Specified by:
getProfileReferencesin interfaceAsmProfileIdentityServiceClient- Parameters:
identityKey- Identity keyidentityType- Identity typeidentityOrigin- Identity originlimit- Limit of profile references to returnsortBy- Attribute on which profile references will be sortedsortDirection- Sorting direction- Returns:
- Profile references
-
getProfileReferencesAsync
public rx.Observable<List<ProfileReference>> getProfileReferencesAsync(String identityKey, String identityType, String identityOrigin) Description copied from interface:AsmProfileIdentityServiceClientFinds profile references based on identity (e.g. user email, session identifier). Method runs asynchronously.- Specified by:
getProfileReferencesAsyncin interfaceAsmProfileIdentityServiceClient- Parameters:
identityKey- Identity keyidentityType- Identity typeidentityOrigin- Identity origin- Returns:
- Profile references
-
getProfileReferencesAsync
public rx.Observable<List<ProfileReference>> getProfileReferencesAsync(String identityKey, String identityType, String identityOrigin, int limit, String sortBy, String sortDirection) Description copied from interface:AsmProfileIdentityServiceClientFinds profile references based on identity (e.g. user email, session identifier). Method runs asynchronously.- Specified by:
getProfileReferencesAsyncin interfaceAsmProfileIdentityServiceClient- Parameters:
identityKey- Identity keyidentityType- Identity typeidentityOrigin- Identity originlimit- Limit of profile references to returnsortBy- Attribute on which profile references will be sortedsortDirection- Sorting direction- Returns:
- Profile references
-
getAdaptee
-
getApiRegistryClientService
-
setApiRegistryClientService
-