public class SubjectAreaConfigClient extends Object implements SubjectAreaConfig, ResponseParameterization<Config>
| Modifier and Type | Field and Description |
|---|---|
protected SubjectAreaRestClient |
client |
| Constructor and Description |
|---|
SubjectAreaConfigClient(SubjectAreaRestClient client) |
| Modifier and Type | Method and Description |
|---|---|
Config |
getConfig(String userId)
Get the config.
|
Class<? extends GenericResponse> |
responseType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParameterizedType, resultTypeprotected final SubjectAreaRestClient client
public SubjectAreaConfigClient(SubjectAreaRestClient client)
public Class<? extends GenericResponse> responseType()
responseType in interface ResponseParameterization<Config>public Config getConfig(String userId) throws UserNotAuthorizedException, PropertyServerException, InvalidParameterException
SubjectAreaConfigThe result is the configuration
getConfig in interface SubjectAreaConfiguserId - userId under which the request is performedUserNotAuthorizedException - the requesting user is not authorized to issue this request.PropertyServerException - something went wrong with the REST call stack.InvalidParameterException - one of the parameters is null or invalidCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.