Class SubjectAreaConfigClient
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.subjectarea.client.configs.SubjectAreaConfigClient
-
- All Implemented Interfaces:
SubjectAreaConfig,ResponseParameterization<Config>
public class SubjectAreaConfigClient extends Object implements SubjectAreaConfig, ResponseParameterization<Config>
-
-
Field Summary
Fields Modifier and Type Field Description protected SubjectAreaRestClientclient
-
Constructor Summary
Constructors Constructor Description SubjectAreaConfigClient(SubjectAreaRestClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfiggetConfig(String userId)Get the config.Class<? extends GenericResponse>responseType()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.odpi.openmetadata.commonservices.ffdc.rest.ResponseParameterization
getParameterizedType, resultType
-
-
-
-
Field Detail
-
client
protected final SubjectAreaRestClient client
-
-
Constructor Detail
-
SubjectAreaConfigClient
public SubjectAreaConfigClient(SubjectAreaRestClient client)
-
-
Method Detail
-
responseType
public Class<? extends GenericResponse> responseType()
- Specified by:
responseTypein interfaceResponseParameterization<Config>
-
getConfig
public Config getConfig(String userId) throws UserNotAuthorizedException, PropertyServerException, InvalidParameterException
Description copied from interface:SubjectAreaConfigGet the config.The result is the configuration
- Specified by:
getConfigin interfaceSubjectAreaConfig- Parameters:
userId- userId under which the request is performed- Returns:
- The configuration
- Throws:
UserNotAuthorizedException- 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 invalid
-
-