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 Modifier and Type Field Description protected GlossaryAuthorViewRestClientclient
-
Constructor Summary
Constructors Constructor Description GlossaryAuthorViewConfigClient(GlossaryAuthorViewRestClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfiggetConfig(String userId)Get the configClass<? 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 GlossaryAuthorViewRestClient client
-
-
Constructor Detail
-
GlossaryAuthorViewConfigClient
public GlossaryAuthorViewConfigClient(GlossaryAuthorViewRestClient client)
-
-
Method Detail
-
responseType
public Class<? extends GenericResponse> responseType()
- Specified by:
responseTypein interfaceResponseParameterization<Config>
-
getConfig
public Config getConfig(String userId) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
Get the configThe result is the configuration
- Specified by:
getConfigin 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
-
-