Class CxProfileServiceClientAdapter

    • Constructor Detail

      • CxProfileServiceClientAdapter

        public CxProfileServiceClientAdapter()
    • Method Detail

      • getProfile

        public Profile getProfile​(java.lang.String id,
                                  java.lang.String fields)
        Description copied from interface: CxProfileServiceClient
        Read profile data from yaas profile service.
        Specified by:
        getProfile in interface CxProfileServiceClient
        Parameters:
        id - Profile identifier
        fields - List of fields which should be read from profile service separated by comma.
        Example : insights.affinities.products,insights.affinities.categories
        Returns:
        Profile data
      • getProfileAsync

        public rx.Observable<Profile> getProfileAsync​(java.lang.String id)
        Description copied from interface: CxProfileServiceClient
        Read profile data from yaas profile service. Method runs asynchronously.
        Specified by:
        getProfileAsync in interface CxProfileServiceClient
        Parameters:
        id - Profile identifier
        Returns:
        Profile data
      • getProfileAsync

        public rx.Observable<Profile> getProfileAsync​(java.lang.String id,
                                                      java.lang.String fields)
        Description copied from interface: CxProfileServiceClient
        Read profile data from yaas profile service. Method runs asynchronously.
        Specified by:
        getProfileAsync in interface CxProfileServiceClient
        Parameters:
        id - Profile identifier
        fields - List of fields which should be read from profile service separated by comma.
        Example : insights.affinities.products,insights.affinities.categories
        Returns:
        Profile data