Class CxProfileServiceClientAdapter
java.lang.Object
de.hybris.platform.personalizationyprofile.yaas.client.AbstractClientAdapter<CxProfileServiceClient>
de.hybris.platform.personalizationyprofile.yaas.client.CxProfileServiceClientAdapter
- All Implemented Interfaces:
CxProfileServiceClient
public class CxProfileServiceClientAdapter
extends AbstractClientAdapter<CxProfileServiceClient>
implements CxProfileServiceClient
Adapter around the Charon client to retrieve profile in a blocking way without blocking every Charon client.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProfile(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.Methods inherited from class de.hybris.platform.personalizationyprofile.yaas.client.AbstractClientAdapter
blocking, getAdaptee, getApiRegistryClientService, setApiRegistryClientService
-
Constructor Details
-
CxProfileServiceClientAdapter
public CxProfileServiceClientAdapter()
-
-
Method Details
-
getProfile
Description copied from interface:CxProfileServiceClientRead profile data from yaas profile service.- Specified by:
getProfilein interfaceCxProfileServiceClient- Parameters:
id- Profile identifier- Returns:
- Profile data
-
getProfile
Description copied from interface:CxProfileServiceClientRead profile data from yaas profile service.- Specified by:
getProfilein interfaceCxProfileServiceClient- 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:CxProfileServiceClientRead profile data from yaas profile service. Method runs asynchronously.- Specified by:
getProfileAsyncin interfaceCxProfileServiceClient- Parameters:
id- Profile identifier- Returns:
- Profile data
-
getProfileAsync
Description copied from interface:CxProfileServiceClientRead profile data from yaas profile service. Method runs asynchronously.- Specified by:
getProfileAsyncin interfaceCxProfileServiceClient- 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
-