public class GlossaryTermHandler extends AttachmentHandlerBase
invalidParameterHandler, lastAttachmentHandler, repositoryHandler, repositoryHelper, serverName, serviceName| Constructor and Description |
|---|
GlossaryTermHandler(String serviceName,
String serverName,
InvalidParameterHandler invalidParameterHandler,
RepositoryHandler repositoryHandler,
OMRSRepositoryHelper repositoryHelper,
LastAttachmentHandler lastAttachmentHandler)
Construct the discovery engine configuration handler caching the objects
needed to operate within a single server instance.
|
| Modifier and Type | Method and Description |
|---|---|
List<GlossaryTerm> |
findMeanings(String userId,
String name,
int startFrom,
int pageSize,
String methodName)
Returns the glossary term object corresponding to the supplied term name.
|
GlossaryTerm |
getMeaning(String userId,
String guid,
String methodName)
Returns the glossary term object corresponding to the supplied glossary term GUID.
|
List<GlossaryTerm> |
getMeaningByName(String userId,
String name,
int startFrom,
int pageSize,
String methodName)
Returns the glossary term object corresponding to the supplied term name.
|
countAttachments, getAttachmentLinks, getAttachmentspublic GlossaryTermHandler(String serviceName, String serverName, InvalidParameterHandler invalidParameterHandler, RepositoryHandler repositoryHandler, OMRSRepositoryHelper repositoryHelper, LastAttachmentHandler lastAttachmentHandler)
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 serviceslastAttachmentHandler - handler for recording last attachmentpublic List<GlossaryTerm> getMeaningByName(String userId, String name, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - String - userId of user making request.name - this may be the qualifiedName or displayName of the term.startFrom - index of the list to start from (0 for start)pageSize - maximum number of elements to return.methodName - calling methodInvalidParameterException - 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 List<GlossaryTerm> findMeanings(String userId, String name, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - String - userId of user making request.name - this may be the qualifiedName or displayName of the term.startFrom - index of the list to start from (0 for start)pageSize - maximum number of elements to return.methodName - calling methodInvalidParameterException - 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, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - String - userId of user making request.guid - the unique id for the glossary term within the property server.methodName - calling methodInvalidParameterException - 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–2020 ODPi. All rights reserved.