Interface GlossaryExchangeInterface
-
public interface GlossaryExchangeInterfaceGlossaryExchangeInterface defines the client side interface for the Asset Manager OMAS that is relevant for managing glossaries. It provides the ability to define and maintain the content of glossary as well as govern it. Glossaries have a top-level root object that describe the purpose, language and intended usage of its content. Linked to the glossary's root object are the terms, categories and relationships it contains. In addition to the content, the glossary can be augmented with classifications and linked to external glossary definitions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidattachExternalCategoryLink(String userId, String assetManagerGUID, String assetManagerName, String externalLinkGUID, String glossaryCategoryGUID, ExternalGlossaryElementLinkProperties linkProperties)Create a link to an external glossary category resource.voidattachExternalLinkToGlossary(String userId, String assetManagerGUID, String assetManagerName, String externalLinkGUID, String glossaryGUID)Connect a glossary to a reference to an external glossary resource.voidattachExternalTermLink(String userId, String assetManagerGUID, String assetManagerName, String externalLinkGUID, String glossaryTermGUID, ExternalGlossaryElementLinkProperties linkProperties)Create a link to an external glossary term resource.voidclearCategoryParent(String userId, String assetManagerGUID, String assetManagerName, String glossaryParentCategoryGUID, String glossaryChildCategoryGUID)Remove a parent-child relationship between two categories.voidclearGlossaryAsCanonical(String userId, String assetManagerGUID, String assetManagerName, String glossaryGUID, String glossaryExternalIdentifier)Remove the canonical designation from the glossary.voidclearGlossaryAsTaxonomy(String userId, String assetManagerGUID, String assetManagerName, String glossaryGUID, String glossaryExternalIdentifier)Remove the taxonomy designation from the glossary.voidclearTermAsAbstractConcept(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier)Remove the abstract concept designation from the glossary term.voidclearTermAsActivity(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier)Remove the activity designation from the glossary term.voidclearTermAsContext(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier)Remove the context definition designation from the glossary term.voidclearTermAsDataValue(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier)Remove the data value designation from the glossary term.voidclearTermAsObjectIdentifier(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier)Remove the object identifier designation from the glossary term.voidclearTermAsSpineAttribute(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier)Remove the spine attribute designation from the glossary term.voidclearTermAsSpineObject(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier)Remove the spine object designation from the glossary term.voidclearTermCategory(String userId, String assetManagerGUID, String assetManagerName, String glossaryCategoryGUID, String glossaryTermGUID)Unlink a term from a category.voidclearTermRelationship(String userId, String assetManagerGUID, String assetManagerName, String relationshipTypeName, String glossaryTermOneGUID, String glossaryTermTwoGUID)Remove the relationship between two terms.StringcreateControlledGlossaryTerm(String userId, String assetManagerGUID, String assetManagerName, String glossaryGUID, String glossaryTermExternalIdentifier, String glossaryTermExternalIdentifierName, String glossaryTermExternalIdentifierUsage, String glossaryTermExternalIdentifierSource, KeyPattern glossaryTermExternalIdentifierKeyPattern, Map<String,String> mappingProperties, GlossaryTermProperties glossaryTermProperties, GlossaryTermStatus initialStatus)Create a new metadata element to represent a glossary term whose lifecycle is managed through a controlled workflow.StringcreateExternalGlossaryLink(String userId, String assetManagerGUID, String assetManagerName, ExternalGlossaryLinkProperties linkProperties)Create a link to an external glossary resource.StringcreateGlossary(String userId, String assetManagerGUID, String assetManagerName, String glossaryExternalIdentifier, String glossaryExternalIdentifierName, String glossaryExternalIdentifierUsage, String glossaryExternalIdentifierSource, KeyPattern glossaryExternalIdentifierKeyPattern, Map<String,String> mappingProperties, GlossaryProperties glossaryProperties)Create a new metadata element to represent the root of a glossary.StringcreateGlossaryCategory(String userId, String assetManagerGUID, String assetManagerName, String glossaryGUID, String glossaryCategoryExternalIdentifier, String glossaryCategoryExternalIdentifierName, String glossaryCategoryExternalIdentifierUsage, String glossaryCategoryExternalIdentifierSource, KeyPattern glossaryCategoryExternalIdentifierKeyPattern, Map<String,String> mappingProperties, GlossaryCategoryProperties glossaryCategoryProperties)Create a new metadata element to represent a glossary category.StringcreateGlossaryCategoryFromTemplate(String userId, String assetManagerGUID, String assetManagerName, String templateGUID, String glossaryCategoryExternalIdentifier, String glossaryCategoryExternalIdentifierName, String glossaryCategoryExternalIdentifierUsage, String glossaryCategoryExternalIdentifierSource, KeyPattern glossaryCategoryExternalIdentifierKeyPattern, Map<String,String> mappingProperties, TemplateProperties templateProperties)Create a new metadata element to represent a glossary category using an existing metadata element as a template.StringcreateGlossaryFromTemplate(String userId, String assetManagerGUID, String assetManagerName, String templateGUID, String glossaryExternalIdentifier, String glossaryExternalIdentifierName, String glossaryExternalIdentifierUsage, String glossaryExternalIdentifierSource, KeyPattern glossaryExternalIdentifierKeyPattern, Map<String,String> mappingProperties, TemplateProperties templateProperties)Create a new metadata element to represent a glossary using an existing metadata element as a template.StringcreateGlossaryTerm(String userId, String assetManagerGUID, String assetManagerName, String glossaryGUID, String glossaryTermExternalIdentifier, String glossaryTermExternalIdentifierName, String glossaryTermExternalIdentifierUsage, String glossaryTermExternalIdentifierSource, KeyPattern glossaryTermExternalIdentifierKeyPattern, Map<String,String> mappingProperties, GlossaryTermProperties glossaryTermProperties)Create a new metadata element to represent a glossary term.StringcreateGlossaryTermFromTemplate(String userId, String assetManagerGUID, String assetManagerName, String templateGUID, String glossaryTermExternalIdentifier, String glossaryTermExternalIdentifierName, String glossaryTermExternalIdentifierUsage, String glossaryTermExternalIdentifierSource, KeyPattern glossaryTermExternalIdentifierKeyPattern, Map<String,String> mappingProperties, TemplateProperties templateProperties)Create a new metadata element to represent a glossary term using an existing metadata element as a template.voiddetachExternalCategoryLink(String userId, String assetManagerGUID, String assetManagerName, String externalLinkGUID, String glossaryCategoryGUID)Remove the link to an external glossary category resource.voiddetachExternalLinkFromGlossary(String userId, String assetManagerGUID, String assetManagerName, String externalLinkGUID, String glossaryGUID)Disconnect a glossary from a reference to an external glossary resource.voiddetachExternalTermLink(String userId, String assetManagerGUID, String assetManagerName, String externalLinkGUID, String glossaryTermGUID)Remove the link to an external glossary term resource.List<GlossaryElement>findGlossaries(String userId, String assetManagerGUID, String assetManagerName, String searchString, int startFrom, int pageSize)Retrieve the list of glossary metadata elements that contain the search string.List<GlossaryCategoryElement>findGlossaryCategories(String userId, String assetManagerGUID, String assetManagerName, String searchString, int startFrom, int pageSize)Retrieve the list of glossary category metadata elements that contain the search string.List<GlossaryTermElement>findGlossaryTerms(String userId, String assetManagerGUID, String assetManagerName, String searchString, int startFrom, int pageSize)Retrieve the list of glossary term metadata elements that contain the search string.List<GlossaryCategoryElement>getCategoriesForGlossary(String userId, String assetManagerGUID, String assetManagerName, String glossaryGUID, int startFrom, int pageSize)Return the list of categories associated with a glossary.List<ExternalGlossaryLinkElement>getExternalLinksForGlossary(String userId, String glossaryGUID, int startFrom, int pageSize)Retrieve the list of links to external glossary resources attached to a glossary.List<GlossaryElement>getGlossariesByName(String userId, String assetManagerGUID, String assetManagerName, String name, int startFrom, int pageSize)Retrieve the list of glossary metadata elements with a matching qualified or display name.List<GlossaryElement>getGlossariesForAssetManager(String userId, String assetManagerGUID, String assetManagerName, int startFrom, int pageSize)Retrieve the list of glossaries created on behalf of the named asset manager.List<GlossaryElement>getGlossariesForExternalLink(String userId, String assetManagerGUID, String assetManagerName, String externalLinkGUID, int startFrom, int pageSize)Return the glossaries connected to an external glossary source.GlossaryElementgetGlossaryByGUID(String userId, String assetManagerGUID, String assetManagerName, String openMetadataGUID)Retrieve the glossary metadata element with the supplied unique identifier.List<GlossaryCategoryElement>getGlossaryCategoriesByName(String userId, String assetManagerGUID, String assetManagerName, String name, int startFrom, int pageSize)Retrieve the list of glossary category metadata elements with a matching qualified or display name.GlossaryCategoryElementgetGlossaryCategoryByGUID(String userId, String assetManagerGUID, String assetManagerName, String glossaryCategoryGUID)Retrieve the glossary category metadata element with the supplied unique identifier.GlossaryCategoryElementgetGlossaryCategoryParent(String userId, String assetManagerGUID, String assetManagerName, String glossaryCategoryGUID)Retrieve the glossary category metadata element with the supplied unique identifier.List<GlossaryCategoryElement>getGlossarySubCategories(String userId, String assetManagerGUID, String assetManagerName, String glossaryCategoryGUID, int startFrom, int pageSize)Retrieve the glossary category metadata element with the supplied unique identifier.GlossaryTermElementgetGlossaryTermByGUID(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID)Retrieve the glossary term metadata element with the supplied unique identifier.List<GlossaryTermElement>getGlossaryTermsByName(String userId, String assetManagerGUID, String assetManagerName, String name, int startFrom, int pageSize)Retrieve the list of glossary term metadata elements with a matching qualified or display name.List<GlossaryTermElement>getTermsForGlossary(String userId, String assetManagerGUID, String assetManagerName, String glossaryGUID, int startFrom, int pageSize)Retrieve the list of glossary terms associated with a glossary.List<GlossaryTermElement>getTermsForGlossaryCategory(String userId, String assetManagerGUID, String assetManagerName, String glossaryCategoryGUID, int startFrom, int pageSize)Retrieve the list of glossary terms associated with a glossary category.voidremoveExternalGlossaryLink(String userId, String assetManagerGUID, String assetManagerName, String externalLinkGUID)Remove information about a link to an external glossary resource (and the relationships that attached it to the glossaries).voidremoveGlossary(String userId, String assetManagerGUID, String assetManagerName, String glossaryGUID, String glossaryExternalIdentifier)Remove the metadata element representing a glossary.voidremoveGlossaryCategory(String userId, String assetManagerGUID, String assetManagerName, String glossaryCategoryGUID, String glossaryCategoryExternalIdentifier)Remove the metadata element representing a glossary category.voidremoveGlossaryTerm(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier)Remove the metadata element representing a glossary term.voidsetGlossaryAsCanonical(String userId, String assetManagerGUID, String assetManagerName, String glossaryGUID, String glossaryExternalIdentifier, String scope)Classify a glossary to declare that it has no two GlossaryTerm definitions with the same name.voidsetGlossaryAsTaxonomy(String userId, String assetManagerGUID, String assetManagerName, String glossaryGUID, String glossaryExternalIdentifier, String organizingPrinciple)Classify the glossary to indicate that it can be used as a taxonomy.voidsetTermAsAbstractConcept(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier)Classify the glossary term to indicate that it describes an abstract concept.voidsetTermAsActivity(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier, GlossaryTermActivityType activityType)Classify the glossary term to indicate that it describes a data value.voidsetTermAsContext(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier, GlossaryTermContextDefinition contextDefinition)Classify the glossary term to indicate that it describes a context.voidsetTermAsDataValue(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier)Classify the glossary term to indicate that it describes a data value.voidsetTermAsObjectIdentifier(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier)Classify the glossary term to indicate that it describes an object identifier.voidsetTermAsSpineAttribute(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier)Classify the glossary term to indicate that it describes a spine attribute.voidsetTermAsSpineObject(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier)Classify the glossary term to indicate that it describes a spine object.voidsetupCategoryParent(String userId, String assetManagerGUID, String assetManagerName, String glossaryParentCategoryGUID, String glossaryChildCategoryGUID)Create a parent-child relationship between two categories.voidsetupTermCategory(String userId, String assetManagerGUID, String assetManagerName, String glossaryCategoryGUID, String glossaryTermGUID, GlossaryTermCategorization categorizationProperties)Link a term to a category.voidsetupTermRelationship(String userId, String assetManagerGUID, String assetManagerName, String relationshipTypeName, String glossaryTermOneGUID, String glossaryTermTwoGUID, GlossaryTermRelationship relationshipsProperties)Link two terms together using a specialist relationship.voidupdateExternalGlossaryLink(String userId, String assetManagerGUID, String assetManagerName, String externalLinkGUID, ExternalGlossaryLinkProperties linkProperties)Update the properties of a reference to an external glossary resource.voidupdateGlossary(String userId, String assetManagerGUID, String assetManagerName, String glossaryGUID, String glossaryExternalIdentifier, GlossaryProperties glossaryProperties)Update the metadata element representing a glossary.voidupdateGlossaryCategory(String userId, String assetManagerGUID, String assetManagerName, String glossaryCategoryGUID, String glossaryCategoryExternalIdentifier, GlossaryCategoryProperties glossaryCategoryProperties)Update the metadata element representing a glossary category.voidupdateGlossaryTerm(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier, GlossaryTermProperties glossaryTermProperties)Update the properties of the metadata element representing a glossary term.voidupdateGlossaryTermStatus(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier, GlossaryTermStatus glossaryTermStatus)Update the status of the metadata element representing a glossary term.voidupdateTermRelationship(String userId, String assetManagerGUID, String assetManagerName, String relationshipTypeName, String glossaryTermOneGUID, String glossaryTermTwoGUID, GlossaryTermRelationship relationshipsProperties)Update the relationship properties for the two terms.
-
-
-
Method Detail
-
createGlossary
String createGlossary(String userId, String assetManagerGUID, String assetManagerName, String glossaryExternalIdentifier, String glossaryExternalIdentifierName, String glossaryExternalIdentifierUsage, String glossaryExternalIdentifierSource, KeyPattern glossaryExternalIdentifierKeyPattern, Map<String,String> mappingProperties, GlossaryProperties glossaryProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a new metadata element to represent the root of a glossary. All categories and terms are linked to a single glossary. They are owned by this glossary and if the glossary is deleted, any linked terms and categories are deleted as well.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryExternalIdentifier- unique identifier of the glossary in the external asset managerglossaryExternalIdentifierName- name of property for the external identifier in the external asset managerglossaryExternalIdentifierUsage- optional usage description for the external identifier when calling the external asset managerglossaryExternalIdentifierSource- component that issuing this request.glossaryExternalIdentifierKeyPattern- pattern for the external identifier within the external asset manager (default is LOCAL_KEY)mappingProperties- additional properties to help with the mapping of the elements in the external asset manager and open metadataglossaryProperties- properties to store- Returns:
- unique identifier of the new metadata element
- Throws:
InvalidParameterException- 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)
-
createGlossaryFromTemplate
String createGlossaryFromTemplate(String userId, String assetManagerGUID, String assetManagerName, String templateGUID, String glossaryExternalIdentifier, String glossaryExternalIdentifierName, String glossaryExternalIdentifierUsage, String glossaryExternalIdentifierSource, KeyPattern glossaryExternalIdentifierKeyPattern, Map<String,String> mappingProperties, TemplateProperties templateProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a new metadata element to represent a glossary using an existing metadata element as a template. The template defines additional classifications and relationships that should be added to the new glossary. All categories and terms are linked to a single glossary. They are owned by this glossary and if the glossary is deleted, any linked terms and categories are deleted as well.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryExternalIdentifier- unique identifier of the glossary in the external asset managerglossaryExternalIdentifierName- name of property for the external identifier in the external asset managerglossaryExternalIdentifierUsage- optional usage description for the external identifier when calling the external asset managerglossaryExternalIdentifierSource- component that issuing this request.glossaryExternalIdentifierKeyPattern- pattern for the external identifier within the external asset manager (default is LOCAL_KEY)mappingProperties- additional properties to help with the mapping of the elements in the external asset manager and open metadatatemplateGUID- unique identifier of the metadata element to copytemplateProperties- properties that override the template- Returns:
- unique identifier of the new metadata element
- Throws:
InvalidParameterException- 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)
-
updateGlossary
void updateGlossary(String userId, String assetManagerGUID, String assetManagerName, String glossaryGUID, String glossaryExternalIdentifier, GlossaryProperties glossaryProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Update the metadata element representing a glossary.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryGUID- unique identifier of the metadata element to updateglossaryExternalIdentifier- unique identifier of the glossary in the external asset managerglossaryProperties- new properties for this element- Throws:
InvalidParameterException- 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)
-
setGlossaryAsTaxonomy
void setGlossaryAsTaxonomy(String userId, String assetManagerGUID, String assetManagerName, String glossaryGUID, String glossaryExternalIdentifier, String organizingPrinciple) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Classify the glossary to indicate that it can be used as a taxonomy. This means each term is attached to one, and only one category and the categories are organized as a hierarchy with a single root category. Taxonomies are used as a way of organizing assets and other related metadata. The terms in the taxonomy are linked to the assets etc and as such they are logically categorized by the linked category.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryGUID- unique identifier of the metadata element to classifyglossaryExternalIdentifier- unique identifier of the glossary in the external asset managerorganizingPrinciple- description of how the glossary is organized- Throws:
InvalidParameterException- 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)
-
clearGlossaryAsTaxonomy
void clearGlossaryAsTaxonomy(String userId, String assetManagerGUID, String assetManagerName, String glossaryGUID, String glossaryExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the taxonomy designation from the glossary.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryGUID- unique identifier of the metadata element to unclassifyglossaryExternalIdentifier- unique identifier of the glossary in the external asset manager- Throws:
InvalidParameterException- 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)
-
setGlossaryAsCanonical
void setGlossaryAsCanonical(String userId, String assetManagerGUID, String assetManagerName, String glossaryGUID, String glossaryExternalIdentifier, String scope) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Classify a glossary to declare that it has no two GlossaryTerm definitions with the same name. This means there is only one definition for each term. Typically the terms are also of a similar level of granularity and are limited to a specific scope of use. Canonical vocabularies are used to semantically classify assets in an unambiguous way.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryGUID- unique identifier of the metadata element to classifyglossaryExternalIdentifier- unique identifier of the glossary in the external asset managerscope- description of the situations where this glossary is relevant.- Throws:
InvalidParameterException- 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)
-
clearGlossaryAsCanonical
void clearGlossaryAsCanonical(String userId, String assetManagerGUID, String assetManagerName, String glossaryGUID, String glossaryExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the canonical designation from the glossary.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryGUID- unique identifier of the metadata element to unclassifyglossaryExternalIdentifier- unique identifier of the glossary in the external asset manager- Throws:
InvalidParameterException- 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)
-
removeGlossary
void removeGlossary(String userId, String assetManagerGUID, String assetManagerName, String glossaryGUID, String glossaryExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the metadata element representing a glossary. This will delete the glossary and all categories and terms.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryGUID- unique identifier of the metadata element to removeglossaryExternalIdentifier- unique identifier of the glossary in the external asset manager- Throws:
InvalidParameterException- 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)
-
findGlossaries
List<GlossaryElement> findGlossaries(String userId, String assetManagerGUID, String assetManagerName, String searchString, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the list of glossary metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callersearchString- string to find in the propertiesstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException- 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)
-
getGlossariesByName
List<GlossaryElement> getGlossariesByName(String userId, String assetManagerGUID, String assetManagerName, String name, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the list of glossary metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callername- name to search forstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException- 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)
-
getGlossariesForAssetManager
List<GlossaryElement> getGlossariesForAssetManager(String userId, String assetManagerGUID, String assetManagerName, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the list of glossaries created on behalf of the named asset manager.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException- 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)
-
getGlossaryByGUID
GlossaryElement getGlossaryByGUID(String userId, String assetManagerGUID, String assetManagerName, String openMetadataGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the glossary metadata element with the supplied unique identifier.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the calleropenMetadataGUID- unique identifier of the requested metadata element- Returns:
- matching metadata element
- Throws:
InvalidParameterException- 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)
-
createGlossaryCategory
String createGlossaryCategory(String userId, String assetManagerGUID, String assetManagerName, String glossaryGUID, String glossaryCategoryExternalIdentifier, String glossaryCategoryExternalIdentifierName, String glossaryCategoryExternalIdentifierUsage, String glossaryCategoryExternalIdentifierSource, KeyPattern glossaryCategoryExternalIdentifierKeyPattern, Map<String,String> mappingProperties, GlossaryCategoryProperties glossaryCategoryProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a new metadata element to represent a glossary category.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryGUID- unique identifier of the glossary where the category is locatedglossaryCategoryExternalIdentifier- unique identifier of the glossary category in the external asset managerglossaryCategoryExternalIdentifierName- name of property for the external identifier in the external asset managerglossaryCategoryExternalIdentifierUsage- optional usage description for the external identifier when calling the external asset managerglossaryCategoryExternalIdentifierSource- component that issuing this request.glossaryCategoryExternalIdentifierKeyPattern- pattern for the external identifier within the external asset manager (default is LOCAL_KEY)mappingProperties- additional properties to help with the mapping of the elements in the external asset manager and open metadataglossaryCategoryProperties- properties about the glossary category to store- Returns:
- unique identifier of the new glossary category
- Throws:
InvalidParameterException- 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)
-
createGlossaryCategoryFromTemplate
String createGlossaryCategoryFromTemplate(String userId, String assetManagerGUID, String assetManagerName, String templateGUID, String glossaryCategoryExternalIdentifier, String glossaryCategoryExternalIdentifierName, String glossaryCategoryExternalIdentifierUsage, String glossaryCategoryExternalIdentifierSource, KeyPattern glossaryCategoryExternalIdentifierKeyPattern, Map<String,String> mappingProperties, TemplateProperties templateProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a new metadata element to represent a glossary category using an existing metadata element as a template.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callertemplateGUID- unique identifier of the metadata element to copyglossaryCategoryExternalIdentifier- unique identifier of the glossary category in the external asset managerglossaryCategoryExternalIdentifierName- name of property for the external identifier in the external asset managerglossaryCategoryExternalIdentifierUsage- optional usage description for the external identifier when calling the external asset managerglossaryCategoryExternalIdentifierSource- component that issuing this request.glossaryCategoryExternalIdentifierKeyPattern- pattern for the external identifier within the external asset manager (default is LOCAL_KEY)mappingProperties- additional properties to help with the mapping of the elements in the external asset manager and open metadatatemplateProperties- properties that override the template- Returns:
- unique identifier of the new glossary category
- Throws:
InvalidParameterException- 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)
-
updateGlossaryCategory
void updateGlossaryCategory(String userId, String assetManagerGUID, String assetManagerName, String glossaryCategoryGUID, String glossaryCategoryExternalIdentifier, GlossaryCategoryProperties glossaryCategoryProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Update the metadata element representing a glossary category.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryCategoryGUID- unique identifier of the metadata element to updateglossaryCategoryExternalIdentifier- unique identifier of the glossary category in the external asset managerglossaryCategoryProperties- new properties for the metadata element- Throws:
InvalidParameterException- 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)
-
setupCategoryParent
void setupCategoryParent(String userId, String assetManagerGUID, String assetManagerName, String glossaryParentCategoryGUID, String glossaryChildCategoryGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a parent-child relationship between two categories.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryParentCategoryGUID- unique identifier of the glossary category in the external asset manager that is to be the super-categoryglossaryChildCategoryGUID- unique identifier of the glossary category in the external asset manager that is to be the subcategory- Throws:
InvalidParameterException- 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)
-
clearCategoryParent
void clearCategoryParent(String userId, String assetManagerGUID, String assetManagerName, String glossaryParentCategoryGUID, String glossaryChildCategoryGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove a parent-child relationship between two categories.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryParentCategoryGUID- unique identifier of the glossary category in the external asset manager that is to be the super-categoryglossaryChildCategoryGUID- unique identifier of the glossary category in the external asset manager that is to be the subcategory- Throws:
InvalidParameterException- 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)
-
removeGlossaryCategory
void removeGlossaryCategory(String userId, String assetManagerGUID, String assetManagerName, String glossaryCategoryGUID, String glossaryCategoryExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the metadata element representing a glossary category.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryCategoryGUID- unique identifier of the metadata element to removeglossaryCategoryExternalIdentifier- unique identifier of the glossary category in the external asset manager- Throws:
InvalidParameterException- 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)
-
findGlossaryCategories
List<GlossaryCategoryElement> findGlossaryCategories(String userId, String assetManagerGUID, String assetManagerName, String searchString, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the list of glossary category metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callersearchString- string to find in the propertiesstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException- 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)
-
getCategoriesForGlossary
List<GlossaryCategoryElement> getCategoriesForGlossary(String userId, String assetManagerGUID, String assetManagerName, String glossaryGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Return the list of categories associated with a glossary.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryGUID- unique identifier of the glossary to querystartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of metadata elements describing the categories associated with the requested glossary
- Throws:
InvalidParameterException- 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)
-
getGlossaryCategoriesByName
List<GlossaryCategoryElement> getGlossaryCategoriesByName(String userId, String assetManagerGUID, String assetManagerName, String name, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the list of glossary category metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callername- name to search forstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException- 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)
-
getGlossaryCategoryByGUID
GlossaryCategoryElement getGlossaryCategoryByGUID(String userId, String assetManagerGUID, String assetManagerName, String glossaryCategoryGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the glossary category metadata element with the supplied unique identifier.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryCategoryGUID- unique identifier of the requested metadata element- Returns:
- requested metadata element
- Throws:
InvalidParameterException- 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)
-
getGlossaryCategoryParent
GlossaryCategoryElement getGlossaryCategoryParent(String userId, String assetManagerGUID, String assetManagerName, String glossaryCategoryGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the glossary category metadata element with the supplied unique identifier.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryCategoryGUID- unique identifier of the requested metadata element- Returns:
- parent glossary category element
- Throws:
InvalidParameterException- 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)
-
getGlossarySubCategories
List<GlossaryCategoryElement> getGlossarySubCategories(String userId, String assetManagerGUID, String assetManagerName, String glossaryCategoryGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the glossary category metadata element with the supplied unique identifier.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryCategoryGUID- unique identifier of the requested metadata elementstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of glossary category element
- Throws:
InvalidParameterException- 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)
-
createGlossaryTerm
String createGlossaryTerm(String userId, String assetManagerGUID, String assetManagerName, String glossaryGUID, String glossaryTermExternalIdentifier, String glossaryTermExternalIdentifierName, String glossaryTermExternalIdentifierUsage, String glossaryTermExternalIdentifierSource, KeyPattern glossaryTermExternalIdentifierKeyPattern, Map<String,String> mappingProperties, GlossaryTermProperties glossaryTermProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a new metadata element to represent a glossary term.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryGUID- unique identifier of the glossary where the term is locatedglossaryTermExternalIdentifier- unique identifier of the glossary term in the external asset managerglossaryTermExternalIdentifierName- name of property for the external identifier in the external asset managerglossaryTermExternalIdentifierUsage- optional usage description for the external identifier when calling the external asset managerglossaryTermExternalIdentifierSource- component that issuing this request.glossaryTermExternalIdentifierKeyPattern- pattern for the external identifier within the external asset manager (default is LOCAL_KEY)mappingProperties- additional properties to help with the mapping of the elements in the external asset manager and open metadataglossaryTermProperties- properties for the glossary term- Returns:
- unique identifier of the new metadata element for the glossary term
- Throws:
InvalidParameterException- 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)
-
createControlledGlossaryTerm
String createControlledGlossaryTerm(String userId, String assetManagerGUID, String assetManagerName, String glossaryGUID, String glossaryTermExternalIdentifier, String glossaryTermExternalIdentifierName, String glossaryTermExternalIdentifierUsage, String glossaryTermExternalIdentifierSource, KeyPattern glossaryTermExternalIdentifierKeyPattern, Map<String,String> mappingProperties, GlossaryTermProperties glossaryTermProperties, GlossaryTermStatus initialStatus) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a new metadata element to represent a glossary term whose lifecycle is managed through a controlled workflow.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryGUID- unique identifier of the glossary where the term is locatedglossaryTermExternalIdentifier- unique identifier of the glossary term in the external asset managerglossaryTermExternalIdentifierName- name of property for the external identifier in the external asset managerglossaryTermExternalIdentifierUsage- optional usage description for the external identifier when calling the external asset managerglossaryTermExternalIdentifierSource- component that issuing this request.glossaryTermExternalIdentifierKeyPattern- pattern for the external identifier within the external asset manager (default is LOCAL_KEY)mappingProperties- additional properties to help with the mapping of the elements in the external asset manager and open metadataglossaryTermProperties- properties for the glossary terminitialStatus- glossary term status to use when the object is created- Returns:
- unique identifier of the new metadata element for the glossary term
- Throws:
InvalidParameterException- 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)
-
createGlossaryTermFromTemplate
String createGlossaryTermFromTemplate(String userId, String assetManagerGUID, String assetManagerName, String templateGUID, String glossaryTermExternalIdentifier, String glossaryTermExternalIdentifierName, String glossaryTermExternalIdentifierUsage, String glossaryTermExternalIdentifierSource, KeyPattern glossaryTermExternalIdentifierKeyPattern, Map<String,String> mappingProperties, TemplateProperties templateProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a new metadata element to represent a glossary term using an existing metadata element as a template.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callertemplateGUID- unique identifier of the metadata element to copyglossaryTermExternalIdentifier- unique identifier of the glossary term in the external asset managerglossaryTermExternalIdentifierName- name of property for the external identifier in the external asset managerglossaryTermExternalIdentifierUsage- optional usage description for the external identifier when calling the external asset managerglossaryTermExternalIdentifierSource- component that issuing this request.glossaryTermExternalIdentifierKeyPattern- pattern for the external identifier within the external asset manager (default is LOCAL_KEY)mappingProperties- additional properties to help with the mapping of the elements in the external asset manager and open metadatatemplateProperties- properties that override the template- Returns:
- unique identifier of the new metadata element for the glossary term
- Throws:
InvalidParameterException- 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)
-
updateGlossaryTerm
void updateGlossaryTerm(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier, GlossaryTermProperties glossaryTermProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Update the properties of the metadata element representing a glossary term.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryTermGUID- unique identifier of the glossary term to updateglossaryTermProperties- new properties for the glossary termglossaryTermExternalIdentifier- unique identifier of the glossary term in the external asset manager- Throws:
InvalidParameterException- 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)
-
updateGlossaryTermStatus
void updateGlossaryTermStatus(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier, GlossaryTermStatus glossaryTermStatus) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Update the status of the metadata element representing a glossary term. This is only valid on a controlled glossary term.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryTermGUID- unique identifier of the glossary term to updateglossaryTermExternalIdentifier- unique identifier of the glossary term in the external asset managerglossaryTermStatus- new properties for the glossary term- Throws:
InvalidParameterException- 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)
-
setupTermCategory
void setupTermCategory(String userId, String assetManagerGUID, String assetManagerName, String glossaryCategoryGUID, String glossaryTermGUID, GlossaryTermCategorization categorizationProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Link a term to a category.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryCategoryGUID- unique identifier of the glossary categoryglossaryTermGUID- unique identifier of the glossary termcategorizationProperties- properties for the categorization relationship- Throws:
InvalidParameterException- 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)
-
clearTermCategory
void clearTermCategory(String userId, String assetManagerGUID, String assetManagerName, String glossaryCategoryGUID, String glossaryTermGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Unlink a term from a category.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryCategoryGUID- unique identifier of the glossary categoryglossaryTermGUID- unique identifier of the glossary term- Throws:
InvalidParameterException- 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)
-
setupTermRelationship
void setupTermRelationship(String userId, String assetManagerGUID, String assetManagerName, String relationshipTypeName, String glossaryTermOneGUID, String glossaryTermTwoGUID, GlossaryTermRelationship relationshipsProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Link two terms together using a specialist relationship.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerrelationshipTypeName- name of the type of relationship to createglossaryTermOneGUID- unique identifier of the glossary term at end 1glossaryTermTwoGUID- unique identifier of the glossary term at end 2relationshipsProperties- properties related to the new relationship- Throws:
InvalidParameterException- 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)
-
updateTermRelationship
void updateTermRelationship(String userId, String assetManagerGUID, String assetManagerName, String relationshipTypeName, String glossaryTermOneGUID, String glossaryTermTwoGUID, GlossaryTermRelationship relationshipsProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Update the relationship properties for the two terms.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerrelationshipTypeName- name of the type of relationship to createglossaryTermOneGUID- unique identifier of the glossary term at end 1glossaryTermTwoGUID- unique identifier of the glossary term at end 2relationshipsProperties- properties for the relationship- Throws:
InvalidParameterException- 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)
-
clearTermRelationship
void clearTermRelationship(String userId, String assetManagerGUID, String assetManagerName, String relationshipTypeName, String glossaryTermOneGUID, String glossaryTermTwoGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the relationship between two terms.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerrelationshipTypeName- name of the type of relationship to createglossaryTermOneGUID- unique identifier of the glossary term at end 1glossaryTermTwoGUID- unique identifier of the glossary term at end 2- Throws:
InvalidParameterException- 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)
-
setTermAsAbstractConcept
void setTermAsAbstractConcept(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Classify the glossary term to indicate that it describes an abstract concept.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryTermGUID- unique identifier of the metadata element to updateglossaryTermExternalIdentifier- unique identifier of the glossary term in the external asset manager- Throws:
InvalidParameterException- 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)
-
clearTermAsAbstractConcept
void clearTermAsAbstractConcept(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the abstract concept designation from the glossary term.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryTermGUID- unique identifier of the metadata element to updateglossaryTermExternalIdentifier- unique identifier of the glossary term in the external asset manager- Throws:
InvalidParameterException- 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)
-
setTermAsDataValue
void setTermAsDataValue(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Classify the glossary term to indicate that it describes a data value.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryTermGUID- unique identifier of the metadata element to updateglossaryTermExternalIdentifier- unique identifier of the glossary term in the external asset manager- Throws:
InvalidParameterException- 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)
-
clearTermAsDataValue
void clearTermAsDataValue(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the data value designation from the glossary term.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryTermGUID- unique identifier of the metadata element to updateglossaryTermExternalIdentifier- unique identifier of the glossary term in the external asset manager- Throws:
InvalidParameterException- 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)
-
setTermAsActivity
void setTermAsActivity(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier, GlossaryTermActivityType activityType) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Classify the glossary term to indicate that it describes a data value.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryTermGUID- unique identifier of the metadata element to updateglossaryTermExternalIdentifier- unique identifier of the glossary term in the external asset manageractivityType- type of activity- Throws:
InvalidParameterException- 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)
-
clearTermAsActivity
void clearTermAsActivity(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the activity designation from the glossary term.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryTermGUID- unique identifier of the metadata element to updateglossaryTermExternalIdentifier- unique identifier of the glossary term in the external asset manager- Throws:
InvalidParameterException- 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)
-
setTermAsContext
void setTermAsContext(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier, GlossaryTermContextDefinition contextDefinition) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Classify the glossary term to indicate that it describes a context.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryTermGUID- unique identifier of the metadata element to updateglossaryTermExternalIdentifier- unique identifier of the glossary term in the external asset managercontextDefinition- more details of the context- Throws:
InvalidParameterException- 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)
-
clearTermAsContext
void clearTermAsContext(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the context definition designation from the glossary term.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryTermGUID- unique identifier of the metadata element to updateglossaryTermExternalIdentifier- unique identifier of the glossary term in the external asset manager- Throws:
InvalidParameterException- 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)
-
setTermAsSpineObject
void setTermAsSpineObject(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Classify the glossary term to indicate that it describes a spine object.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryTermGUID- unique identifier of the metadata element to updateglossaryTermExternalIdentifier- unique identifier of the glossary term in the external asset manager- Throws:
InvalidParameterException- 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)
-
clearTermAsSpineObject
void clearTermAsSpineObject(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the spine object designation from the glossary term.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryTermGUID- unique identifier of the metadata element to updateglossaryTermExternalIdentifier- unique identifier of the glossary term in the external asset manager- Throws:
InvalidParameterException- 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)
-
setTermAsSpineAttribute
void setTermAsSpineAttribute(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Classify the glossary term to indicate that it describes a spine attribute.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryTermGUID- unique identifier of the metadata element to updateglossaryTermExternalIdentifier- unique identifier of the glossary term in the external asset manager- Throws:
InvalidParameterException- 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)
-
clearTermAsSpineAttribute
void clearTermAsSpineAttribute(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the spine attribute designation from the glossary term.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryTermGUID- unique identifier of the metadata element to updateglossaryTermExternalIdentifier- unique identifier of the glossary term in the external asset manager- Throws:
InvalidParameterException- 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)
-
setTermAsObjectIdentifier
void setTermAsObjectIdentifier(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Classify the glossary term to indicate that it describes an object identifier.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryTermGUID- unique identifier of the metadata element to updateglossaryTermExternalIdentifier- unique identifier of the glossary term in the external asset manager- Throws:
InvalidParameterException- 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)
-
clearTermAsObjectIdentifier
void clearTermAsObjectIdentifier(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the object identifier designation from the glossary term.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryTermGUID- unique identifier of the metadata element to updateglossaryTermExternalIdentifier- unique identifier of the glossary term in the external asset manager- Throws:
InvalidParameterException- 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)
-
removeGlossaryTerm
void removeGlossaryTerm(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the metadata element representing a glossary term.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryTermGUID- unique identifier of the metadata element to removeglossaryTermExternalIdentifier- unique identifier of the glossary term in the external asset manager- Throws:
InvalidParameterException- 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)
-
findGlossaryTerms
List<GlossaryTermElement> findGlossaryTerms(String userId, String assetManagerGUID, String assetManagerName, String searchString, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the list of glossary term metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callersearchString- string to find in the propertiesstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException- 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)
-
getTermsForGlossary
List<GlossaryTermElement> getTermsForGlossary(String userId, String assetManagerGUID, String assetManagerName, String glossaryGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the list of glossary terms associated with a glossary.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryGUID- unique identifier of the glossary of intereststartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of associated metadata elements
- Throws:
InvalidParameterException- 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)
-
getTermsForGlossaryCategory
List<GlossaryTermElement> getTermsForGlossaryCategory(String userId, String assetManagerGUID, String assetManagerName, String glossaryCategoryGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the list of glossary terms associated with a glossary category.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryCategoryGUID- unique identifier of the glossary category of intereststartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of associated metadata elements
- Throws:
InvalidParameterException- 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)
-
getGlossaryTermsByName
List<GlossaryTermElement> getGlossaryTermsByName(String userId, String assetManagerGUID, String assetManagerName, String name, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the list of glossary term metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callername- name to search forstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException- 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)
-
getGlossaryTermByGUID
GlossaryTermElement getGlossaryTermByGUID(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the glossary term metadata element with the supplied unique identifier.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerglossaryTermGUID- unique identifier of the requested metadata element- Returns:
- matching metadata element
- Throws:
InvalidParameterException- 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)
-
createExternalGlossaryLink
String createExternalGlossaryLink(String userId, String assetManagerGUID, String assetManagerName, ExternalGlossaryLinkProperties linkProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a link to an external glossary resource. This is associated with a glossary to show that they have equivalent content. It is possible that this resource was generated from the glossary content or was the source for it.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerlinkProperties- properties of the link- Returns:
- unique identifier of the external reference
- Throws:
InvalidParameterException- 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)
-
updateExternalGlossaryLink
void updateExternalGlossaryLink(String userId, String assetManagerGUID, String assetManagerName, String externalLinkGUID, ExternalGlossaryLinkProperties linkProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Update the properties of a reference to an external glossary resource.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerexternalLinkGUID- unique identifier of the external referencelinkProperties- properties of the link- Throws:
InvalidParameterException- 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)
-
removeExternalGlossaryLink
void removeExternalGlossaryLink(String userId, String assetManagerGUID, String assetManagerName, String externalLinkGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove information about a link to an external glossary resource (and the relationships that attached it to the glossaries).- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerexternalLinkGUID- unique identifier of the external reference- Throws:
InvalidParameterException- 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)
-
attachExternalLinkToGlossary
void attachExternalLinkToGlossary(String userId, String assetManagerGUID, String assetManagerName, String externalLinkGUID, String glossaryGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Connect a glossary to a reference to an external glossary resource.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerexternalLinkGUID- unique identifier of the external referenceglossaryGUID- unique identifier of the metadata element to attach- Throws:
InvalidParameterException- 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)
-
detachExternalLinkFromGlossary
void detachExternalLinkFromGlossary(String userId, String assetManagerGUID, String assetManagerName, String externalLinkGUID, String glossaryGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Disconnect a glossary from a reference to an external glossary resource.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerexternalLinkGUID- unique identifier of the external referenceglossaryGUID- unique identifier of the metadata element to remove- Throws:
InvalidParameterException- 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)
-
getExternalLinksForGlossary
List<ExternalGlossaryLinkElement> getExternalLinksForGlossary(String userId, String glossaryGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the list of links to external glossary resources attached to a glossary.- Parameters:
userId- calling userglossaryGUID- unique identifier of the metadata element for the glossary of intereststartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of attached links to external glossary resources
- Throws:
InvalidParameterException- 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)
-
getGlossariesForExternalLink
List<GlossaryElement> getGlossariesForExternalLink(String userId, String assetManagerGUID, String assetManagerName, String externalLinkGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Return the glossaries connected to an external glossary source.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerexternalLinkGUID- unique identifier of the metadata element for the external glossary link of intereststartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of glossaries
- Throws:
InvalidParameterException- 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)
-
attachExternalCategoryLink
void attachExternalCategoryLink(String userId, String assetManagerGUID, String assetManagerName, String externalLinkGUID, String glossaryCategoryGUID, ExternalGlossaryElementLinkProperties linkProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a link to an external glossary category resource. This is associated with a category to show that they have equivalent content. It is possible that this resource was generated from the glossary content or was the source for it.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerexternalLinkGUID- unique identifier of the external referenceglossaryCategoryGUID- unique identifier for the the glossary categorylinkProperties- properties of the link- Throws:
InvalidParameterException- 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)
-
detachExternalCategoryLink
void detachExternalCategoryLink(String userId, String assetManagerGUID, String assetManagerName, String externalLinkGUID, String glossaryCategoryGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the link to an external glossary category resource.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerexternalLinkGUID- unique identifier of the external referenceglossaryCategoryGUID- unique identifier for the the glossary category- Throws:
InvalidParameterException- 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)
-
attachExternalTermLink
void attachExternalTermLink(String userId, String assetManagerGUID, String assetManagerName, String externalLinkGUID, String glossaryTermGUID, ExternalGlossaryElementLinkProperties linkProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a link to an external glossary term resource. This is associated with a term to show that they have equivalent content. It is possible that this resource was generated from the glossary content or was the source for it.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerexternalLinkGUID- unique identifier of the external referenceglossaryTermGUID- unique identifier for the the glossary categorylinkProperties- properties of the link- Throws:
InvalidParameterException- 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)
-
detachExternalTermLink
void detachExternalTermLink(String userId, String assetManagerGUID, String assetManagerName, String externalLinkGUID, String glossaryTermGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the link to an external glossary term resource.- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerexternalLinkGUID- unique identifier of the external referenceglossaryTermGUID- unique identifier for the the glossary category- Throws:
InvalidParameterException- 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)
-
-