Class AsmProfileDataServiceClientAdapter
java.lang.Object
de.hybris.platform.yaasyprofileconnect.yaas.client.AsmProfileDataServiceClientAdapter
- All Implemented Interfaces:
AsmProfileDataServiceClient
public class AsmProfileDataServiceClientAdapter
extends Object
implements AsmProfileDataServiceClient
Adapter around the Charon client to retrieve profile in a blocking way without blocking every Charon client.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ApiRegistryClientServicegetProfile(String id) Read profile data from yaas profile service.getProfile(String id, String fields) Read profile data from yaas profile service.rx.Observable<Profile>Read profile data from yaas profile service.rx.Observable<Profile>getProfileAsync(String id, String fields) Read profile data from yaas profile service.voidsetApiRegistryClientService(ApiRegistryClientService apiRegistryClientService)
-
Constructor Details
-
AsmProfileDataServiceClientAdapter
public AsmProfileDataServiceClientAdapter()
-
-
Method Details
-
getProfile
Description copied from interface:AsmProfileDataServiceClientRead profile data from yaas profile service.- Specified by:
getProfilein interfaceAsmProfileDataServiceClient- Parameters:
id- Profile identifier- Returns:
- Profile data
-
getProfile
Description copied from interface:AsmProfileDataServiceClientRead profile data from yaas profile service.- Specified by:
getProfilein interfaceAsmProfileDataServiceClient- Parameters:
id- Profile identifierfields- List of fields which should be read from profile service separated by comma.
Example : insights.affinities.products,insights.affinities.categories- Returns:
- Profile data
-
getProfileAsync
Description copied from interface:AsmProfileDataServiceClientRead profile data from yaas profile service. Method runs asynchronously.- Specified by:
getProfileAsyncin interfaceAsmProfileDataServiceClient- Parameters:
id- Profile identifier- Returns:
- Profile data
-
getProfileAsync
Description copied from interface:AsmProfileDataServiceClientRead profile data from yaas profile service. Method runs asynchronously.- Specified by:
getProfileAsyncin interfaceAsmProfileDataServiceClient- Parameters:
id- Profile identifierfields- List of fields which should be read from profile service separated by comma.
Example : insights.affinities.products,insights.affinities.categories- Returns:
- Profile data
-
getAdaptee
-
getApiRegistryClientService
-
setApiRegistryClientService
-