public class GlossaryHandler extends Object
| Constructor and Description |
|---|
GlossaryHandler(String serviceName,
String serverName,
InvalidParameterHandler invalidParameterHandler,
OMRSRepositoryHelper repositoryHelper,
RepositoryHandler repositoryHandler)
Construct the discovery engine configuration handler caching the objects
needed to operate within a single server instance.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Set<GraphContext>> |
getGlossaryTerm(String assetGuid,
String userId,
EntityDetail entityDetail,
AssetContext assetContext,
Validator validator)
Returns the glossary term object corresponding to the supplied asset that can possibly have a glossary Term.
|
public GlossaryHandler(String serviceName, String serverName, InvalidParameterHandler invalidParameterHandler, OMRSRepositoryHelper repositoryHelper, RepositoryHandler repositoryHandler)
serviceName - name of the consuming serviceserverName - name of this server instanceinvalidParameterHandler - handler for invalid parametersrepositoryHelper - helper used by the convertersrepositoryHandler - handler for calling the repository servicespublic Map<String,Set<GraphContext>> getGlossaryTerm(String assetGuid, String userId, EntityDetail entityDetail, AssetContext assetContext, Validator validator) throws InvalidParameterException
assetGuid - guid of the asset that has been createduserId - String - userId of user making request.entityDetail - the entity detailassetContext - the asset contextInvalidParameterException - the invalid parameter exceptionCopyright © 2018–2020 ODPi. All rights reserved.