Class GlossaryAuthorViewConfigClient
java.lang.Object
org.odpi.openmetadata.viewservices.glossaryauthor.fvt.client.Configs.GlossaryAuthorViewConfigClient
- All Implemented Interfaces:
ResponseParameterization<Config>
,GlossaryAuthorViewConfig
public class GlossaryAuthorViewConfigClient
extends Object
implements GlossaryAuthorViewConfig, ResponseParameterization<Config>
The class acts as a wrapper class for calling the REST services for Glossary Author Config related services.
-
Field Summary
Fields -
Constructor Summary
Constructors -
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
-
GlossaryAuthorViewConfigClient
-
-
Method Details
-
responseType
- Specified by:
responseType
in interfaceResponseParameterization<Config>
- Returns:
- the response class type inherited from
GenericResponse
-
getConfig
public Config getConfig(String userId) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException Get the configThe result is the configuration
- Specified by:
getConfig
in interfaceGlossaryAuthorViewConfig
- Parameters:
userId
- userId under which the request is performed- Returns:
- The configuration
- Throws:
PropertyServerException
- something went wrong with the REST call stack.UserNotAuthorizedException
- the requesting user is not authorized to issue this request.InvalidParameterException
- one of the parameters is null or invalid
-