B - class that represents the glossarypublic class GlossaryHandler<B> extends ReferenceableHandler<B>
auditLog, beanClass, converter, defaultZones, errorHandler, invalidParameterHandler, localServerUserId, publishZones, repositoryHandler, repositoryHelper, securityVerifier, serverName, serviceName, supportedZones| Constructor and Description |
|---|
GlossaryHandler(OpenMetadataAPIGenericConverter<B> converter,
Class<B> beanClass,
String serviceName,
String serverName,
InvalidParameterHandler invalidParameterHandler,
RepositoryHandler repositoryHandler,
OMRSRepositoryHelper repositoryHelper,
String localServerUserId,
OpenMetadataServerSecurityVerifier securityVerifier,
List<String> supportedZones,
List<String> defaultZones,
List<String> publishZones,
AuditLog auditLog)
Construct the asset handler with information needed to work with B objects.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCanonicalVocabClassificationToGlossary(String userId,
String glossaryGUID,
String glossaryGUIDParameterName,
String scope,
String methodName)
Mark the glossary as a canonical vocabulary.
|
void |
addTaxonomyClassificationToGlossary(String userId,
String glossaryGUID,
String glossaryGUIDParameterName,
String organizingPrinciple,
String methodName)
Mark the glossary as a taxonomy.
|
String |
createGlossary(String userId,
String qualifiedName,
String displayName,
String description,
String language,
String usage,
Map<String,String> additionalProperties,
String suppliedTypeName,
Map<String,Object> extendedProperties,
String methodName)
Create the anchor object that all elements in a glossary (terms and categories) are linked to.
|
String |
createGlossaryFromTemplate(String userId,
String templateGUID,
String qualifiedName,
String displayName,
String description,
String methodName)
Create a new metadata element to represent a glossary using an existing metadata element as a template.
|
List<B> |
findGlossaries(String userId,
String searchString,
String searchStringParameterName,
int startFrom,
int pageSize,
String methodName)
Retrieve the list of glossary metadata elements that contain the search string.
|
List<B> |
getGlossariesByName(String userId,
String name,
String nameParameterName,
int startFrom,
int pageSize,
String methodName)
Retrieve the list of glossary metadata elements with a matching qualified or display name.
|
B |
getGlossaryByGUID(String userId,
String guid,
String guidParameterName,
String methodName)
Retrieve the glossary metadata element with the supplied unique identifier.
|
void |
removeCanonicalVocabClassificationFromGlossary(String userId,
String glossaryGUID,
String glossaryGUIDParameterName,
String methodName)
Remove the taxonomy designation from a glossary.
|
void |
removeGlossary(String userId,
String glossaryGUID,
String glossaryGUIDParameterName,
String methodName)
Remove the metadata element representing a glossary.
|
void |
removeTaxonomyClassificationFromGlossary(String userId,
String glossaryGUID,
String glossaryGUIDParameterName,
String methodName)
Remove the taxonomy designation from a glossary.
|
void |
updateGlossary(String userId,
String glossaryGUID,
String glossaryGUIDParameterName,
String qualifiedName,
String displayName,
String description,
String language,
String usage,
Map<String,String> additionalProperties,
String typeName,
Map<String,Object> extendedProperties,
String methodName)
Create the anchor object that all elements in a glossary (terms and categories) are linked to.
|
addSecurityTags, addTemplateClassification, findBeanGUIDsByQualifiedName, findBeanGUIDsByQualifiedName, findBeansByQualifiedName, findBeansByQualifiedName, getBeanByQualifiedName, getBeanByQualifiedName, getBeanGUIDByQualifiedName, getBeanGUIDByQualifiedName, getBeanGUIDsByQualifiedName, getBeanGUIDsByQualifiedName, getBeansByQualifiedName, getBeansByQualifiedName, getMoreInformation, getMoreInformation, getVendorProperties, linkElementsAsDuplicates, removeSecurityTags, removeSemanticAssignment, removeTemplateClassification, saveSemanticAssignment, saveSemanticAssignment, unlinkElementsAsDuplicatesarchiveBeanInRepository, archiveBeanInRepository, countAttachments, createBeanFromTemplate, createBeanInRepository, deleteBeanInRepository, deleteBeanInRepository, findAttachmentLinks, findBeanGUIDs, findBeans, findBeans, findBeans, findBeans, findEntities, getAllAttachmentLinks, getAnchorsForAttachedElements, getAttachedElement, getAttachedElement, getAttachedElementGUID, getAttachedElementGUID, getAttachedElementGUIDs, getAttachedElementGUIDs, getAttachedElements, getAttachedElements, getAttachedElements, getAttachedElements, getAttachedEntities, getAttachedEntities, getAttachedEntities, getAttachedEntity, getAttachedEntity, getAttachmentLinks, getAttachmentLinks, getAttachmentLinks, getBeanByUniqueName, getBeanByUniqueName, getBeanByValue, getBeanFromEntity, getBeanFromRepository, getBeanFromRepository, getBeanGUIDByUniqueName, getBeanGUIDByUniqueName, getBeanGUIDsByClassification, getBeanGUIDsByType, getBeanGUIDsByType, getBeanGUIDsByValue, getBeansByClassification, getBeansByCreator, getBeansByType, getBeansByType, getBeansByValue, getBeansByValue, getBeansByValue, getBeansByValue, getBeansByValue, getEntitiesByType, getEntitiesByValue, getEntitiesByValue, getEntityByValue, getEntityFromRepository, getEntityFromRepository, getEntityFromRepository, getEntityFromRepository, getEntityGUIDByValue, getEntityGUIDsByValue, getRepositoryHelper, getServiceName, getUniqueAttachmentLink, getUniqueAttachmentLink, linkElementToElement, linkElementToElement, maintainSupplementaryProperties, relinkElementToNewElement, relinkElementToNewElement, removeClassificationFromRepository, setClassificationInRepository, setClassificationInRepository, setSecurityVerifier, unlinkAllElements, unlinkAllElements, unlinkConnectedElement, unlinkConnectedElement, unlinkElementFromElement, unlinkElementFromElement, unlinkElementFromElement, unlinkElementFromElement, updateBeanEffectivityDates, updateBeanInRepository, updateBeanInRepository, updateBeanPropertyInRepository, updateBeanStatusInRepository, updateBeanStatusInRepository, updateClassificationEffectivityDates, updateElementToElementLink, updateElementToElementLink, updateRelationshipEffectivityDates, updateRelationshipProperties, validateAnchorEntity, validateAnchorEntity, verifyExternalSourceIdentitypublic GlossaryHandler(OpenMetadataAPIGenericConverter<B> converter, Class<B> beanClass, String serviceName, String serverName, InvalidParameterHandler invalidParameterHandler, RepositoryHandler repositoryHandler, OMRSRepositoryHelper repositoryHelper, String localServerUserId, OpenMetadataServerSecurityVerifier securityVerifier, List<String> supportedZones, List<String> defaultZones, List<String> publishZones, AuditLog auditLog)
converter - specific converter for this bean classbeanClass - name of bean class that is represented by the generic class BserviceName - name of this serviceserverName - name of the local serverinvalidParameterHandler - handler for managing parameter errorsrepositoryHandler - manages calls to the repository servicesrepositoryHelper - provides utilities for manipulating the repository services objectslocalServerUserId - userId for this serversecurityVerifier - open metadata security services verifiersupportedZones - list of zones that the access service is allowed to serve B instances fromdefaultZones - list of zones that the access service should set in all new B instancespublishZones - list of zones that the access service sets up in published B instancesauditLog - destination for audit log eventspublic String createGlossary(String userId, String qualifiedName, String displayName, String description, String language, String usage, Map<String,String> additionalProperties, String suppliedTypeName, Map<String,Object> extendedProperties, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userqualifiedName - unique name for the glossary - used in other configurationdisplayName - short display name for the glossarydescription - description of the governance glossarylanguage - the language used in the glossary definitionsusage - intended usage of the glossaryadditionalProperties - additional properties for a glossarysuppliedTypeName - type name from the caller (enables creation of subtypes)extendedProperties - properties for a governance glossary subtypemethodName - calling methodInvalidParameterException - qualifiedName or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic String createGlossaryFromTemplate(String userId, String templateGUID, String qualifiedName, String displayName, String description, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usertemplateGUID - unique identifier of the metadata element to copyqualifiedName - unique name for the glossary - used in other configurationdisplayName - short display name for the glossarydescription - description of the governance glossarymethodName - calling methodInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)public void updateGlossary(String userId, String glossaryGUID, String glossaryGUIDParameterName, String qualifiedName, String displayName, String description, String language, String usage, Map<String,String> additionalProperties, String typeName, Map<String,Object> extendedProperties, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userglossaryGUID - unique identifier of the glossary to updateglossaryGUIDParameterName - parameter passing the glossaryGUIDqualifiedName - unique name for the glossary - used in other configurationdisplayName - short display name for the glossarydescription - description of the governance glossarylanguage - the language used in the glossary definitionsusage - intended usage of the glossaryadditionalProperties - additional properties for a governance glossarytypeName - type of glossaryextendedProperties - properties for a governance glossary subtypemethodName - calling methodInvalidParameterException - qualifiedName or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void addTaxonomyClassificationToGlossary(String userId, String glossaryGUID, String glossaryGUIDParameterName, String organizingPrinciple, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userglossaryGUID - unique identifier of assetglossaryGUIDParameterName - parameter name supplying glossaryGUIDorganizingPrinciple - how the category hierarchy is organizedmethodName - calling methodInvalidParameterException - entity not known, null userId or guidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void removeTaxonomyClassificationFromGlossary(String userId, String glossaryGUID, String glossaryGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userglossaryGUID - unique identifier of assetglossaryGUIDParameterName - parameter name supplying glossaryGUIDmethodName - calling methodInvalidParameterException - entity not known, null userId or guidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void addCanonicalVocabClassificationToGlossary(String userId, String glossaryGUID, String glossaryGUIDParameterName, String scope, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userglossaryGUID - unique identifier of assetglossaryGUIDParameterName - parameter name supplying glossaryGUIDscope - how the category hierarchy is organizedmethodName - calling methodInvalidParameterException - entity not known, null userId or guidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void removeCanonicalVocabClassificationFromGlossary(String userId, String glossaryGUID, String glossaryGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userglossaryGUID - unique identifier of assetglossaryGUIDParameterName - parameter name supplying glossaryGUIDmethodName - calling methodInvalidParameterException - entity not known, null userId or guidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void removeGlossary(String userId, String glossaryGUID, String glossaryGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userglossaryGUID - unique identifier of the metadata element to removeglossaryGUIDParameterName - parameter supplying the glossaryGUIDmethodName - calling methodInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)public List<B> findGlossaries(String userId, String searchString, String searchStringParameterName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usersearchString - string to find in the propertiessearchStringParameterName - name of parameter supplying the search stringstartFrom - paging start pointpageSize - maximum results that can be returnedmethodName - calling methodInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)public List<B> getGlossariesByName(String userId, String name, String nameParameterName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling username - name to search fornameParameterName - parameter supplying namestartFrom - paging start pointpageSize - maximum results that can be returnedmethodName - calling methodInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)public B getGlossaryByGUID(String userId, String guid, String guidParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userguid - unique identifier of the requested metadata elementguidParameterName - parameter name of guidmethodName - calling methodInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.