public class GlossaryExchangeService extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
attachExternalCategoryLink(String externalLinkGUID,
String glossaryCategoryGUID,
ExternalGlossaryElementLinkProperties linkProperties)
Create a link to an external glossary category resource.
|
void |
attachExternalLinkToGlossary(String externalLinkGUID,
String glossaryGUID)
Connect a glossary to a reference to an external glossary resource.
|
void |
attachExternalTermLink(String externalLinkGUID,
String glossaryTermGUID,
ExternalGlossaryElementLinkProperties linkProperties)
Create a link to an external glossary term resource.
|
void |
clearCategoryParent(String glossaryParentCategoryGUID,
String glossaryChildCategoryGUID)
Remove a parent-child relationship between two categories.
|
void |
clearGlossaryAsCanonical(String glossaryGUID,
String glossaryExternalIdentifier)
Remove the canonical designation from the glossary.
|
void |
clearGlossaryAsTaxonomy(String glossaryGUID,
String glossaryExternalIdentifier)
Remove the taxonomy designation from the glossary.
|
void |
clearTermAsAbstractConcept(String glossaryTermGUID,
String glossaryTermExternalIdentifier)
Remove the abstract concept designation from the glossary term.
|
void |
clearTermAsActivity(String glossaryTermGUID,
String glossaryTermExternalIdentifier)
Remove the activity designation from the glossary term.
|
void |
clearTermAsContext(String glossaryTermGUID,
String glossaryTermExternalIdentifier)
Remove the context definition designation from the glossary term.
|
void |
clearTermAsDataValue(String glossaryTermGUID,
String glossaryTermExternalIdentifier)
Remove the data value designation from the glossary term.
|
void |
clearTermAsObjectIdentifier(String glossaryTermGUID,
String glossaryTermExternalIdentifier)
Remove the object identifier designation from the glossary term.
|
void |
clearTermAsSpineAttribute(String glossaryTermGUID,
String glossaryTermExternalIdentifier)
Remove the spine attribute designation from the glossary term.
|
void |
clearTermAsSpineObject(String glossaryTermGUID,
String glossaryTermExternalIdentifier)
Remove the spine object designation from the glossary term.
|
void |
clearTermCategory(String glossaryCategoryGUID,
String glossaryTermGUID)
Unlink a term from a category.
|
void |
clearTermRelationship(String relationshipTypeName,
String glossaryTermOneGUID,
String glossaryTermTwoGUID)
Remove the relationship between two terms.
|
String |
createControlledGlossaryTerm(String userId,
String assetManagerGUID,
String assetManagerName,
String glossaryGUID,
String glossaryTermExternalIdentifier,
String glossaryTermExternalIdentifierName,
String glossaryTermExternalIdentifierUsage,
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.
|
String |
createExternalGlossaryLink(ExternalGlossaryLinkProperties linkProperties)
Create a link to an external glossary resource.
|
String |
createGlossary(String glossaryExternalIdentifier,
String glossaryExternalIdentifierName,
String glossaryExternalIdentifierUsage,
KeyPattern glossaryExternalIdentifierKeyPattern,
Map<String,String> mappingProperties,
GlossaryProperties glossaryProperties)
Create a new metadata element to represent the root of a glossary.
|
String |
createGlossaryCategory(String glossaryGUID,
String glossaryCategoryExternalIdentifier,
String glossaryCategoryExternalIdentifierName,
String glossaryCategoryExternalIdentifierUsage,
KeyPattern glossaryCategoryExternalIdentifierKeyPattern,
Map<String,String> mappingProperties,
GlossaryCategoryProperties glossaryCategoryProperties)
Create a new metadata element to represent a glossary category.
|
String |
createGlossaryCategoryFromTemplate(String templateGUID,
String glossaryCategoryExternalIdentifier,
String glossaryCategoryExternalIdentifierName,
String glossaryCategoryExternalIdentifierUsage,
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.
|
String |
createGlossaryFromTemplate(String templateGUID,
String glossaryExternalIdentifier,
String glossaryExternalIdentifierName,
String glossaryExternalIdentifierUsage,
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.
|
String |
createGlossaryTerm(String glossaryGUID,
String glossaryTermExternalIdentifier,
String glossaryTermExternalIdentifierName,
String glossaryTermExternalIdentifierUsage,
KeyPattern glossaryTermExternalIdentifierKeyPattern,
Map<String,String> mappingProperties,
GlossaryTermProperties glossaryTermProperties)
Create a new metadata element to represent a glossary term.
|
String |
createGlossaryTermFromTemplate(String templateGUID,
String glossaryGUID,
String glossaryTermExternalIdentifier,
String glossaryTermExternalIdentifierName,
String glossaryTermExternalIdentifierUsage,
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.
|
void |
detachExternalCategoryLink(String externalLinkGUID,
String glossaryCategoryGUID)
Remove the link to an external glossary category resource.
|
void |
detachExternalLinkFromGlossary(String externalLinkGUID,
String glossaryGUID)
Disconnect a glossary from a reference to an external glossary resource.
|
void |
detachExternalTermLink(String externalLinkGUID,
String glossaryTermGUID)
Remove the link to an external glossary term resource.
|
List<GlossaryElement> |
findGlossaries(String searchString,
int startFrom,
int pageSize)
Retrieve the list of glossary metadata elements that contain the search string.
|
List<GlossaryCategoryElement> |
findGlossaryCategories(String searchString,
int startFrom,
int pageSize)
Retrieve the list of glossary category metadata elements that contain the search string.
|
List<GlossaryTermElement> |
findGlossaryTerms(String searchString,
int startFrom,
int pageSize)
Retrieve the list of glossary term metadata elements that contain the search string.
|
List<GlossaryCategoryElement> |
getCategoriesForGlossary(String glossaryGUID,
int startFrom,
int pageSize)
Return the list of categories associated with a glossary.
|
List<ExternalGlossaryLinkElement> |
getExternalLinksForGlossary(String glossaryGUID,
int startFrom,
int pageSize)
Retrieve the list of links to external glossary resources attached to a glossary.
|
List<GlossaryElement> |
getGlossariesByName(String name,
int startFrom,
int pageSize)
Retrieve the list of glossary metadata elements with a matching qualified or display name.
|
List<GlossaryElement> |
getGlossariesForAssetManager(int startFrom,
int pageSize)
Retrieve the list of glossaries created on behalf of this asset manager.
|
List<GlossaryElement> |
getGlossariesForExternalLink(String externalLinkGUID,
int startFrom,
int pageSize)
Return the glossaries connected to an external glossary source.
|
GlossaryElement |
getGlossaryByGUID(String openMetadataGUID)
Retrieve the glossary metadata element with the supplied unique identifier.
|
List<GlossaryCategoryElement> |
getGlossaryCategoriesByName(String name,
int startFrom,
int pageSize)
Retrieve the list of glossary category metadata elements with a matching qualified or display name.
|
GlossaryCategoryElement |
getGlossaryCategoryByGUID(String guid)
Retrieve the glossary category metadata element with the supplied unique identifier.
|
GlossaryCategoryElement |
getGlossaryCategoryParent(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.
|
GlossaryTermElement |
getGlossaryTermByGUID(String guid)
Retrieve the glossary term metadata element with the supplied unique identifier.
|
List<GlossaryTermElement> |
getGlossaryTermsByName(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 glossaryGUID,
int startFrom,
int pageSize)
Retrieve the list of glossary terms associated with a glossary.
|
List<GlossaryTermElement> |
getTermsForGlossaryCategory(String glossaryCategoryGUID,
int startFrom,
int pageSize)
Retrieve the list of glossary terms associated with a glossary category.
|
void |
removeExternalGlossaryLink(String externalLinkGUID)
Remove information about a link to an external glossary resource (and the relationships that attached it to the glossaries).
|
void |
removeGlossary(String glossaryGUID,
String glossaryExternalIdentifier)
Remove the metadata element representing a glossary.
|
void |
removeGlossaryCategory(String glossaryCategoryGUID,
String glossaryCategoryExternalIdentifier)
Remove the metadata element representing a glossary category.
|
void |
removeGlossaryTerm(String glossaryTermGUID,
String glossaryTermExternalIdentifier)
Remove the metadata element representing a glossary term.
|
void |
setGlossaryAsCanonical(String glossaryGUID,
String glossaryExternalIdentifier,
String scope)
Classify a glossary to declare that it has no two GlossaryTerm definitions with
the same name.
|
void |
setGlossaryAsTaxonomy(String glossaryGUID,
String glossaryExternalIdentifier,
String organizingPrinciple)
Classify the glossary to indicate that it can be used as a taxonomy.
|
void |
setTermAsAbstractConcept(String glossaryTermGUID,
String glossaryTermExternalIdentifier)
Classify the glossary term to indicate that it describes an abstract concept.
|
void |
setTermAsActivity(String glossaryTermGUID,
String glossaryTermExternalIdentifier,
GlossaryTermActivityType activityType)
Classify the glossary term to indicate that it describes a data value.
|
void |
setTermAsContext(String glossaryTermGUID,
String glossaryTermExternalIdentifier,
GlossaryTermContextDefinition contextDefinition)
Classify the glossary term to indicate that it describes a context.
|
void |
setTermAsDataValue(String glossaryTermGUID,
String glossaryTermExternalIdentifier)
Classify the glossary term to indicate that it describes a data value.
|
void |
setTermAsObjectIdentifier(String glossaryTermGUID,
String glossaryTermExternalIdentifier)
Classify the glossary term to indicate that it describes an object identifier.
|
void |
setTermAsSpineAttribute(String glossaryTermGUID,
String glossaryTermExternalIdentifier)
Classify the glossary term to indicate that it describes a spine attribute.
|
void |
setTermAsSpineObject(String glossaryTermGUID,
String glossaryTermExternalIdentifier)
Classify the glossary term to indicate that it describes a spine object.
|
void |
setupCategoryParent(String glossaryParentCategoryGUID,
String glossaryChildCategoryGUID)
Create a parent-child relationship between two categories.
|
void |
setupTermCategory(String glossaryCategoryGUID,
String glossaryTermGUID,
GlossaryTermCategorization categorizationProperties)
Link a term to a category.
|
void |
setupTermRelationship(String relationshipTypeName,
String glossaryTermOneGUID,
String glossaryTermTwoGUID,
GlossaryTermRelationship relationshipsProperties)
Link two terms together using a specialist relationship.
|
void |
updateExternalGlossaryLink(String externalLinkGUID,
ExternalGlossaryLinkProperties linkProperties)
Update the properties of a reference to an external glossary resource.
|
void |
updateGlossary(String glossaryGUID,
String glossaryExternalIdentifier,
GlossaryProperties glossaryProperties)
Update the metadata element representing a glossary.
|
void |
updateGlossaryCategory(String glossaryCategoryGUID,
String glossaryCategoryExternalIdentifier,
GlossaryCategoryProperties glossaryCategoryProperties)
Update the metadata element representing a glossary category.
|
void |
updateGlossaryTerm(String glossaryTermGUID,
String glossaryTermExternalIdentifier,
GlossaryTermProperties glossaryTermProperties)
Update the properties of the metadata element representing a glossary term.
|
void |
updateGlossaryTermStatus(String userId,
String assetManagerGUID,
String assetManagerName,
String glossaryTermGUID,
String glossaryTermExternalIdentifier,
GlossaryTermStatus glossaryTermStatus)
Update the status of the metadata element representing a glossary term.
|
void |
updateTermRelationship(String relationshipTypeName,
String glossaryTermOneGUID,
String glossaryTermTwoGUID,
GlossaryTermRelationship relationshipsProperties)
Update the relationship properties for the two terms.
|
public String createGlossary(String glossaryExternalIdentifier, String glossaryExternalIdentifierName, String glossaryExternalIdentifierUsage, KeyPattern glossaryExternalIdentifierKeyPattern, Map<String,String> mappingProperties, GlossaryProperties glossaryProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryExternalIdentifier - unique identifier of the glossary in the external asset managerglossaryExternalIdentifierName - name of property for the external identifier in the external asset managerglossaryExternalIdentifierUsage - usage for the open metadata element when mapping to external element in the external asset managerglossaryExternalIdentifierKeyPattern - 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 storeInvalidParameterException - 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 String createGlossaryFromTemplate(String templateGUID, String glossaryExternalIdentifier, String glossaryExternalIdentifierName, String glossaryExternalIdentifierUsage, KeyPattern glossaryExternalIdentifierKeyPattern, Map<String,String> mappingProperties, TemplateProperties templateProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryExternalIdentifier - unique identifier of the glossary in the external asset managerglossaryExternalIdentifierName - name of property for the external identifier in the external asset managerglossaryExternalIdentifierUsage - usage for the open metadata element when mapping to external element in the external asset managerglossaryExternalIdentifierKeyPattern - 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 templateInvalidParameterException - 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 glossaryGUID, String glossaryExternalIdentifier, GlossaryProperties glossaryProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryGUID - unique identifier of the metadata element to updateglossaryExternalIdentifier - unique identifier of the glossary in the external asset managerglossaryProperties - new properties for this elementInvalidParameterException - 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 removeGlossary(String glossaryGUID, String glossaryExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryGUID - unique identifier of the metadata element to removeglossaryExternalIdentifier - unique identifier of the glossary in the external asset managerInvalidParameterException - 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 setGlossaryAsTaxonomy(String glossaryGUID, String glossaryExternalIdentifier, String organizingPrinciple) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryGUID - unique identifier of the metadata element to removeglossaryExternalIdentifier - unique identifier of the glossary in the external asset managerorganizingPrinciple - description of how the glossary is organizedInvalidParameterException - 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 clearGlossaryAsTaxonomy(String glossaryGUID, String glossaryExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryGUID - unique identifier of the metadata element to removeglossaryExternalIdentifier - unique identifier of the glossary in the external asset managerInvalidParameterException - 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 setGlossaryAsCanonical(String glossaryGUID, String glossaryExternalIdentifier, String scope) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryGUID - unique identifier of the metadata element to removeglossaryExternalIdentifier - unique identifier of the glossary in the external asset managerscope - description of the situations where this glossary is relevant.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)public void clearGlossaryAsCanonical(String glossaryGUID, String glossaryExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryGUID - unique identifier of the metadata element to removeglossaryExternalIdentifier - unique identifier of the glossary in the external asset managerInvalidParameterException - 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<GlossaryElement> findGlossaries(String searchString, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
searchString - string to find in the propertiesstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - 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<GlossaryElement> getGlossariesByName(String name, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
name - name to search forstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - 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<GlossaryElement> getGlossariesForAssetManager(int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
startFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - 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 GlossaryElement getGlossaryByGUID(String openMetadataGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
openMetadataGUID - unique identifier of the requested metadata elementInvalidParameterException - 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 String createGlossaryCategory(String glossaryGUID, String glossaryCategoryExternalIdentifier, String glossaryCategoryExternalIdentifierName, String glossaryCategoryExternalIdentifierUsage, KeyPattern glossaryCategoryExternalIdentifierKeyPattern, Map<String,String> mappingProperties, GlossaryCategoryProperties glossaryCategoryProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryGUID - 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 - usage for the open metadata element when mapping to external element in the external asset managerglossaryCategoryExternalIdentifierKeyPattern - 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 storeInvalidParameterException - 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 String createGlossaryCategoryFromTemplate(String templateGUID, String glossaryCategoryExternalIdentifier, String glossaryCategoryExternalIdentifierName, String glossaryCategoryExternalIdentifierUsage, KeyPattern glossaryCategoryExternalIdentifierKeyPattern, Map<String,String> mappingProperties, TemplateProperties templateProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
templateGUID - 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 - usage for the open metadata element when mapping to external element in the external asset managerglossaryCategoryExternalIdentifierKeyPattern - 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 templateInvalidParameterException - 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 updateGlossaryCategory(String glossaryCategoryGUID, String glossaryCategoryExternalIdentifier, GlossaryCategoryProperties glossaryCategoryProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryCategoryGUID - unique identifier of the metadata element to updateglossaryCategoryExternalIdentifier - unique identifier of the glossary category in the external asset managerglossaryCategoryProperties - new properties for the metadata elementInvalidParameterException - 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 setupCategoryParent(String glossaryParentCategoryGUID, String glossaryChildCategoryGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryParentCategoryGUID - 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 subcategoryInvalidParameterException - 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 clearCategoryParent(String glossaryParentCategoryGUID, String glossaryChildCategoryGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryParentCategoryGUID - 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 subcategoryInvalidParameterException - 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 removeGlossaryCategory(String glossaryCategoryGUID, String glossaryCategoryExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryCategoryGUID - unique identifier of the metadata element to removeglossaryCategoryExternalIdentifier - unique identifier of the glossary category in the external asset managerInvalidParameterException - 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<GlossaryCategoryElement> findGlossaryCategories(String searchString, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
searchString - string to find in the propertiesstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - 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<GlossaryCategoryElement> getCategoriesForGlossary(String glossaryGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryGUID - unique identifier of the glossary to querystartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - 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<GlossaryCategoryElement> getGlossaryCategoriesByName(String name, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
name - name to search forstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - 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 GlossaryCategoryElement getGlossaryCategoryByGUID(String guid) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
guid - unique identifier of the requested metadata elementInvalidParameterException - 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 GlossaryCategoryElement getGlossaryCategoryParent(String userId, String assetManagerGUID, String assetManagerName, String glossaryCategoryGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
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 elementInvalidParameterException - 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<GlossaryCategoryElement> getGlossarySubCategories(String userId, String assetManagerGUID, String assetManagerName, String glossaryCategoryGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
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 returnedInvalidParameterException - 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 String createGlossaryTerm(String glossaryGUID, String glossaryTermExternalIdentifier, String glossaryTermExternalIdentifierName, String glossaryTermExternalIdentifierUsage, KeyPattern glossaryTermExternalIdentifierKeyPattern, Map<String,String> mappingProperties, GlossaryTermProperties glossaryTermProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryGUID - 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 - usage for the open metadata element when mapping to external element in the external asset managerglossaryTermExternalIdentifierKeyPattern - 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 termInvalidParameterException - 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 String createControlledGlossaryTerm(String userId, String assetManagerGUID, String assetManagerName, String glossaryGUID, String glossaryTermExternalIdentifier, String glossaryTermExternalIdentifierName, String glossaryTermExternalIdentifierUsage, KeyPattern glossaryTermExternalIdentifierKeyPattern, Map<String,String> mappingProperties, GlossaryTermProperties glossaryTermProperties, GlossaryTermStatus initialStatus) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
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 - usage for the open metadata element when mapping to external element in the external asset managerglossaryTermExternalIdentifierKeyPattern - 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 createdInvalidParameterException - 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 String createGlossaryTermFromTemplate(String templateGUID, String glossaryGUID, String glossaryTermExternalIdentifier, String glossaryTermExternalIdentifierName, String glossaryTermExternalIdentifierUsage, KeyPattern glossaryTermExternalIdentifierKeyPattern, Map<String,String> mappingProperties, TemplateProperties templateProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
templateGUID - unique identifier of the metadata element to copyglossaryGUID - unique identifier of the glossary where the glossary term is located.glossaryTermExternalIdentifier - unique identifier of the glossary term in the external asset managerglossaryTermExternalIdentifierName - name of property for the external identifier in the external asset managerglossaryTermExternalIdentifierUsage - usage for the open metadata element when mapping to external element in the external asset managerglossaryTermExternalIdentifierKeyPattern - 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 templateInvalidParameterException - 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 updateGlossaryTerm(String glossaryTermGUID, String glossaryTermExternalIdentifier, GlossaryTermProperties glossaryTermProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryTermGUID - unique identifier of the glossary term to updateglossaryTermExternalIdentifier - unique identifier of the glossary term in the external asset managerglossaryTermProperties - new properties for the glossary termInvalidParameterException - 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 updateGlossaryTermStatus(String userId, String assetManagerGUID, String assetManagerName, String glossaryTermGUID, String glossaryTermExternalIdentifier, GlossaryTermStatus glossaryTermStatus) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
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 termInvalidParameterException - 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 setupTermCategory(String glossaryCategoryGUID, String glossaryTermGUID, GlossaryTermCategorization categorizationProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryCategoryGUID - unique identifier of the glossary categoryglossaryTermGUID - unique identifier of the glossary termcategorizationProperties - properties for the categorization relationshipInvalidParameterException - 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 clearTermCategory(String glossaryCategoryGUID, String glossaryTermGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryCategoryGUID - unique identifier of the glossary categoryglossaryTermGUID - unique identifier of the glossary termInvalidParameterException - 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 setupTermRelationship(String relationshipTypeName, String glossaryTermOneGUID, String glossaryTermTwoGUID, GlossaryTermRelationship relationshipsProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
relationshipTypeName - 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 categorization relationshipInvalidParameterException - 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 updateTermRelationship(String relationshipTypeName, String glossaryTermOneGUID, String glossaryTermTwoGUID, GlossaryTermRelationship relationshipsProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
relationshipTypeName - 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 categorization relationshipInvalidParameterException - 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 clearTermRelationship(String relationshipTypeName, String glossaryTermOneGUID, String glossaryTermTwoGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
relationshipTypeName - 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 2InvalidParameterException - 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 setTermAsAbstractConcept(String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryTermGUID - unique identifier of the metadata element to updateglossaryTermExternalIdentifier - unique identifier of the glossary term in the external asset managerInvalidParameterException - 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 clearTermAsAbstractConcept(String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryTermGUID - unique identifier of the metadata element to updateglossaryTermExternalIdentifier - unique identifier of the glossary term in the external asset managerInvalidParameterException - 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 setTermAsDataValue(String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryTermGUID - unique identifier of the metadata element to updateglossaryTermExternalIdentifier - unique identifier of the glossary term in the external asset managerInvalidParameterException - 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 clearTermAsDataValue(String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryTermGUID - unique identifier of the metadata element to updateglossaryTermExternalIdentifier - unique identifier of the glossary term in the external asset managerInvalidParameterException - 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 setTermAsActivity(String glossaryTermGUID, String glossaryTermExternalIdentifier, GlossaryTermActivityType activityType) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryTermGUID - unique identifier of the metadata element to updateglossaryTermExternalIdentifier - unique identifier of the glossary term in the external asset manageractivityType - type of activityInvalidParameterException - 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 clearTermAsActivity(String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryTermGUID - unique identifier of the metadata element to updateglossaryTermExternalIdentifier - unique identifier of the glossary term in the external asset managerInvalidParameterException - 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 setTermAsContext(String glossaryTermGUID, String glossaryTermExternalIdentifier, GlossaryTermContextDefinition contextDefinition) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryTermGUID - unique identifier of the metadata element to updateglossaryTermExternalIdentifier - unique identifier of the glossary term in the external asset managercontextDefinition - more details of the contextInvalidParameterException - 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 clearTermAsContext(String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryTermGUID - unique identifier of the metadata element to updateglossaryTermExternalIdentifier - unique identifier of the glossary term in the external asset managerInvalidParameterException - 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 setTermAsSpineObject(String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryTermGUID - unique identifier of the metadata element to updateglossaryTermExternalIdentifier - unique identifier of the glossary term in the external asset managerInvalidParameterException - 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 clearTermAsSpineObject(String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryTermGUID - unique identifier of the metadata element to updateglossaryTermExternalIdentifier - unique identifier of the glossary term in the external asset managerInvalidParameterException - 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 setTermAsSpineAttribute(String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryTermGUID - unique identifier of the metadata element to updateglossaryTermExternalIdentifier - unique identifier of the glossary term in the external asset managerInvalidParameterException - 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 clearTermAsSpineAttribute(String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryTermGUID - unique identifier of the metadata element to updateglossaryTermExternalIdentifier - unique identifier of the glossary term in the external asset managerInvalidParameterException - 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 setTermAsObjectIdentifier(String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryTermGUID - unique identifier of the metadata element to updateglossaryTermExternalIdentifier - unique identifier of the glossary term in the external asset managerInvalidParameterException - 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 clearTermAsObjectIdentifier(String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryTermGUID - unique identifier of the metadata element to updateglossaryTermExternalIdentifier - unique identifier of the glossary term in the external asset managerInvalidParameterException - 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 removeGlossaryTerm(String glossaryTermGUID, String glossaryTermExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryTermGUID - unique identifier of the metadata element to removeglossaryTermExternalIdentifier - unique identifier of the glossary term in the external asset managerInvalidParameterException - 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<GlossaryTermElement> findGlossaryTerms(String searchString, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
searchString - string to find in the propertiesstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - 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<GlossaryTermElement> getTermsForGlossary(String glossaryGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryGUID - unique identifier of the glossary of intereststartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - 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<GlossaryTermElement> getTermsForGlossaryCategory(String glossaryCategoryGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryCategoryGUID - unique identifier of the glossary category of intereststartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - 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<GlossaryTermElement> getGlossaryTermsByName(String name, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
name - name to search forstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - 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 GlossaryTermElement getGlossaryTermByGUID(String guid) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
guid - unique identifier of the requested metadata elementInvalidParameterException - 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 String createExternalGlossaryLink(ExternalGlossaryLinkProperties linkProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
linkProperties - properties of the linkInvalidParameterException - 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 updateExternalGlossaryLink(String externalLinkGUID, ExternalGlossaryLinkProperties linkProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
externalLinkGUID - unique identifier of the external referencelinkProperties - properties of the linkInvalidParameterException - 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 removeExternalGlossaryLink(String externalLinkGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
externalLinkGUID - unique identifier of the external referenceInvalidParameterException - 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 attachExternalLinkToGlossary(String externalLinkGUID, String glossaryGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
externalLinkGUID - unique identifier of the external referenceglossaryGUID - unique identifier of the metadata element to attachInvalidParameterException - 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 detachExternalLinkFromGlossary(String externalLinkGUID, String glossaryGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
externalLinkGUID - unique identifier of the external referenceglossaryGUID - unique identifier of the metadata element to removeInvalidParameterException - 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<ExternalGlossaryLinkElement> getExternalLinksForGlossary(String glossaryGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
glossaryGUID - unique identifier of the metadata element for the glossary of intereststartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - 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<GlossaryElement> getGlossariesForExternalLink(String externalLinkGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
externalLinkGUID - unique identifier of the metadata element for the external glossary link of intereststartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - 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 attachExternalCategoryLink(String externalLinkGUID, String glossaryCategoryGUID, ExternalGlossaryElementLinkProperties linkProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
externalLinkGUID - unique identifier of the external referenceglossaryCategoryGUID - unique identifier for the the glossary categorylinkProperties - properties of the linkInvalidParameterException - 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 detachExternalCategoryLink(String externalLinkGUID, String glossaryCategoryGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
externalLinkGUID - unique identifier of the external referenceglossaryCategoryGUID - unique identifier for the the glossary categoryInvalidParameterException - 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 attachExternalTermLink(String externalLinkGUID, String glossaryTermGUID, ExternalGlossaryElementLinkProperties linkProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
externalLinkGUID - unique identifier of the external referenceglossaryTermGUID - unique identifier for the the glossary categorylinkProperties - properties of the linkInvalidParameterException - 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 detachExternalTermLink(String externalLinkGUID, String glossaryTermGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
externalLinkGUID - unique identifier of the external referenceglossaryTermGUID - unique identifier for the the glossary categoryInvalidParameterException - 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.