Interface CxProfileServiceClient

  • All Known Implementing Classes:
    CxProfileServiceClientAdapter

    public interface CxProfileServiceClient
    Client reading information from yaas profile service.
    • Method Detail

      • getProfile

        @GET
        @Path("/${tenant}/profiles/{id}")
        Profile getProfile​(@PathParam("id")
                           java.lang.String id)
        Read profile data from yaas profile service.
        Parameters:
        id - Profile identifier
        Returns:
        Profile data
      • getProfile

        @GET
        @Path("/${tenant}/profiles/{id}?fields={fields}")
        Profile getProfile​(@PathParam("id")
                           java.lang.String id,
                           @PathParam("fields")
                           java.lang.String fields)
        Read profile data from yaas profile service.
        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

        @GET
        @Path("/${tenant}/profiles/{id}")
        rx.Observable<Profile> getProfileAsync​(@PathParam("id")
                                               java.lang.String id)
        Read profile data from yaas profile service. Method runs asynchronously.
        Parameters:
        id - Profile identifier
        Returns:
        Profile data
      • getProfileAsync

        @GET
        @Path("/${tenant}/profiles/{id}?fields={fields}")
        rx.Observable<Profile> getProfileAsync​(@PathParam("id")
                                               java.lang.String id,
                                               @PathParam("fields")
                                               java.lang.String fields)
        Read profile data from yaas profile service. Method runs asynchronously.
        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