public class MeaningHandler extends Object implements AssetConsumerGlossaryInterface
| Constructor and Description |
|---|
MeaningHandler(String serviceName,
OMRSRepositoryConnector repositoryConnector)
Construct the glossary term handler with a link to the property server's connector and this access service's
official name.
|
| Modifier and Type | Method and Description |
|---|---|
GlossaryTerm |
getMeaning(String userId,
String guid)
Returns the glossary term object corresponding to the supplied glossary term GUID.
|
List<GlossaryTerm> |
getMeaningByName(String userId,
String name,
int startFrom,
int pageSize)
Returns the glossary term object corresponding to the supplied term name.
|
public MeaningHandler(String serviceName, OMRSRepositoryConnector repositoryConnector)
serviceName - name of this servicerepositoryConnector - connector to the property server.public List<GlossaryTerm> getMeaningByName(String userId, String name, int startFrom, int pageSize) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
getMeaningByName in interface AssetConsumerGlossaryInterfaceuserId - String - userId of user making request.name - this may be the qualifiedName or displayName of the term.startFrom - index of the list ot start from (0 for start)pageSize - maximum number of elements to return.InvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property (metadata) server.UserNotAuthorizedException - the requesting user is not authorized to issue this request.public GlossaryTerm getMeaning(String userId, String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
getMeaning in interface AssetConsumerGlossaryInterfaceuserId - String - userId of user making request.guid - the unique id for the glossary term within the property server.InvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property (metadata) server.UserNotAuthorizedException - the requesting user is not authorized to issue this request.Copyright © 2018–2019 ODPi. All rights reserved.