Class CxIdentityServiceClientAdapter

java.lang.Object
de.hybris.platform.personalizationyprofile.yaas.client.AbstractClientAdapter<CxIdentityServiceClient>
de.hybris.platform.personalizationyprofile.yaas.client.CxIdentityServiceClientAdapter
All Implemented Interfaces:
CxIdentityServiceClient

public class CxIdentityServiceClientAdapter extends AbstractClientAdapter<CxIdentityServiceClient> implements CxIdentityServiceClient
Adapter around the Charon client to retrieve profile references in a blocking way without blocking every Charon client.
  • Constructor Details

    • CxIdentityServiceClientAdapter

      public CxIdentityServiceClientAdapter()
  • Method Details

    • getProfileReferences

      public List<ProfileReference> getProfileReferences(String identityKey, String identityType, String identityOrigin)
      Description copied from interface: CxIdentityServiceClient
      Finds profile references based on identity (e.g. user email, session identifier)
      Specified by:
      getProfileReferences in interface CxIdentityServiceClient
      Parameters:
      identityKey - Identity key
      identityType - Identity type
      identityOrigin - 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: CxIdentityServiceClient
      Finds profile references based on identity (e.g. user email, session identifier)
      Specified by:
      getProfileReferences in interface CxIdentityServiceClient
      Parameters:
      identityKey - Identity key
      identityType - Identity type
      identityOrigin - Identity origin
      limit - Limit of profile references to return
      sortBy - Attribute on which profile references will be sorted
      sortDirection - Sorting direction
      Returns:
      Profile references
    • getProfileReferencesAsync

      public rx.Observable<List<ProfileReference>> getProfileReferencesAsync(String identityKey, String identityType, String identityOrigin)
      Description copied from interface: CxIdentityServiceClient
      Finds profile references based on identity (e.g. user email, session identifier). Method runs asynchronously.
      Specified by:
      getProfileReferencesAsync in interface CxIdentityServiceClient
      Parameters:
      identityKey - Identity key
      identityType - Identity type
      identityOrigin - 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: CxIdentityServiceClient
      Finds profile references based on identity (e.g. user email, session identifier). Method runs asynchronously.
      Specified by:
      getProfileReferencesAsync in interface CxIdentityServiceClient
      Parameters:
      identityKey - Identity key
      identityType - Identity type
      identityOrigin - Identity origin
      limit - Limit of profile references to return
      sortBy - Attribute on which profile references will be sorted
      sortDirection - Sorting direction
      Returns:
      Profile references