Interface ProfileDataServiceClient


  • public interface ProfileDataServiceClient
    Client reading information from yaas profile service.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object getProfile​(java.lang.String id)
      Read profile data from yaas profile service.
      java.lang.Object getProfile​(java.lang.String id, java.lang.String fields)
      Read profile data from yaas profile service.
      rx.Observable<java.lang.Object> getProfileAsync​(java.lang.String id)
      Read profile data from yaas profile service.
      rx.Observable<java.lang.Object> getProfileAsync​(java.lang.String id, java.lang.String fields)
      Read profile data from yaas profile service.
    • Method Detail

      • getProfile

        @GET
        @Path("/${tenant}/profiles/{id}")
        java.lang.Object 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}")
        java.lang.Object 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<java.lang.Object> 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<java.lang.Object> 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