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
-
Constructor Summary
-
Method Summary
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 Details
-
client
-
-
Constructor Details
-
SubjectAreaConfigClient
-
-
Method Details
-
responseType
- Specified by:
responseType
in interfaceResponseParameterization<Config>
- Returns:
- the response class type inherited from
GenericResponse
-
getConfig
public Config getConfig(String userId) throws UserNotAuthorizedException, PropertyServerException, InvalidParameterException Description copied from interface:SubjectAreaConfig
Get the config.The result is the configuration
- Specified by:
getConfig
in 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
-