Interface CxProfileServiceClient
-
- All Known Implementing Classes:
CxProfileServiceClientAdapter
public interface CxProfileServiceClientClient reading information from yaas profile service.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProfilegetProfile(java.lang.String id)Read profile data from yaas profile service.ProfilegetProfile(java.lang.String id, java.lang.String fields)Read profile data from yaas profile service.rx.Observable<Profile>getProfileAsync(java.lang.String id)Read profile data from yaas profile service.rx.Observable<Profile>getProfileAsync(java.lang.String id, java.lang.String fields)Read profile data 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 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
@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 identifierfields- List of fields which should be read from profile service separated by comma.
Example : insights.affinities.products,insights.affinities.categories- Returns:
- Profile data
-
-