Class GlossaryManagementClient
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.client.management.GlossaryManagementClient
- All Implemented Interfaces:
GlossaryManagementInterface
GlossaryManagementClient is the client for managing resources from a glossary.
-
Constructor Summary
ConstructorDescriptionGlossaryManagementClient
(String serverName, String serverPlatformURLRoot, int maxPageSize) Create a new client with no authentication embedded in the HTTP request.GlossaryManagementClient
(String serverName, String serverPlatformURLRoot, String userId, String password, int maxPageSize) Create a new client that passes userId and password in each HTTP request.GlossaryManagementClient
(String serverName, String serverPlatformURLRoot, String userId, String password, AuditLog auditLog, int maxPageSize) Create a new client that passes userId and password in each HTTP request.GlossaryManagementClient
(String serverName, String serverPlatformURLRoot, AssetManagerRESTClient restClient, int maxPageSize, AuditLog auditLog) Create a new client that is going to be used in an OMAG Server.GlossaryManagementClient
(String serverName, String serverPlatformURLRoot, AuditLog auditLog, int maxPageSize) Create a new client with no authentication embedded in the HTTP request. -
Method Summary
Modifier and TypeMethodDescriptionvoid
archiveGlossaryTerm
(String userId, String glossaryTermGUID, ArchiveProperties archiveProperties, Date effectiveTime, boolean forDuplicateProcessing) Archive the metadata element representing a glossary term.void
attachExternalCategoryLink
(String userId, String externalLinkGUID, String glossaryCategoryGUID, ExternalGlossaryElementLinkProperties linkProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Create a link to an external glossary category resource.void
attachExternalLinkToGlossary
(String userId, String externalLinkGUID, String glossaryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Connect a glossary to a reference to an external glossary resource.void
attachExternalTermLink
(String userId, String externalLinkGUID, String glossaryTermGUID, ExternalGlossaryElementLinkProperties linkProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Create a link to an external glossary term resource.void
clearCategoryParent
(String userId, String glossaryParentCategoryGUID, String glossaryChildCategoryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove a parent-child relationship between two categories.void
clearGlossaryAsCanonical
(String userId, String glossaryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove the canonical designation from the glossary.void
clearGlossaryAsEditingGlossary
(String userId, String glossaryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove the editing glossary classification from the glossary.void
clearGlossaryAsStagingGlossary
(String userId, String glossaryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove the staging glossary classification from the glossary.void
clearGlossaryAsTaxonomy
(String userId, String glossaryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove the taxonomy designation from the glossary.void
clearTermAsAbstractConcept
(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove the abstract concept designation from the glossary term.void
clearTermAsActivity
(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove the activity designation from the glossary term.void
clearTermAsContext
(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove the context definition designation from the glossary term.void
clearTermAsDataField
(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove the data field designation from the glossary term.void
clearTermAsDataValue
(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove the data value designation from the glossary term.void
clearTermAsObjectIdentifier
(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove the object identifier designation from the glossary term.void
clearTermAsSpineAttribute
(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove the spine attribute designation from the glossary term.void
clearTermAsSpineObject
(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove the spine object designation from the glossary term.void
clearTermCategory
(String userId, String glossaryCategoryGUID, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Unlink a term from a category.void
clearTermRelationship
(String userId, String relationshipTypeName, String glossaryTermOneGUID, String glossaryTermTwoGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove the relationship between two terms.createControlledGlossaryTerm
(String userId, String glossaryGUID, GlossaryTermProperties glossaryTermProperties, GlossaryTermStatus initialStatus, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Create a new metadata element to represent a glossary term whose lifecycle is managed through a controlled workflow.createExternalGlossaryLink
(String userId, ExternalGlossaryLinkProperties linkProperties) Create a link to an external glossary resource.createGlossary
(String userId, GlossaryProperties glossaryProperties) Create a new metadata element to represent the root of a glossary.createGlossaryCategory
(String userId, String glossaryGUID, GlossaryCategoryProperties glossaryCategoryProperties, boolean isRootCategory, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Create a new metadata element to represent a glossary category.createGlossaryCategoryFromTemplate
(String userId, String glossaryGUID, String templateGUID, TemplateProperties templateProperties, boolean deepCopy) Create a new metadata element to represent a glossary category using an existing metadata element as a template.createGlossaryFromTemplate
(String userId, String templateGUID, TemplateProperties templateProperties, boolean deepCopy) Create a new metadata element to represent a glossary using an existing metadata element as a template.createGlossaryTerm
(String userId, String glossaryGUID, GlossaryTermProperties glossaryTermProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Create a new metadata element to represent a glossary term.createGlossaryTermFromTemplate
(String userId, String glossaryGUID, String templateGUID, TemplateProperties templateProperties, boolean deepCopy, boolean templateSubstitute, GlossaryTermStatus initialStatus) Create a new metadata element to represent a glossary term using an existing metadata element as a template.void
detachExternalCategoryLink
(String userId, String externalLinkGUID, String glossaryCategoryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove the link to an external glossary category resource.void
detachExternalLinkFromGlossary
(String userId, String externalLinkGUID, String glossaryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Disconnect a glossary from a reference to an external glossary resource.void
detachExternalTermLink
(String userId, String externalLinkGUID, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove the link to an external glossary term resource.findGlossaries
(String userId, String searchString, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the list of glossary metadata elements that contain the search string.findGlossaryCategories
(String userId, String glossaryGUID, String searchString, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the list of glossary category metadata elements that contain the search string.findGlossaryTerms
(String userId, String glossaryGUID, String searchString, List<GlossaryTermStatus> limitResultsByStatus, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the list of glossary term metadata elements that contain the search string.getCategoriesForGlossary
(String userId, String glossaryGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Return the list of categories associated with a glossary.getCategoriesForTerm
(String userId, String glossaryTermGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Return the list of categories associated with a glossary term.getExternalLinksForGlossary
(String userId, String glossaryGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the list of links to external glossary resources attached to a glossary.getGlossariesByName
(String userId, String name, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the list of glossary metadata elements with a matching qualified or display name.getGlossariesForExternalLink
(String userId, String externalLinkGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Return the glossaries connected to an external glossary source.getGlossaryByGUID
(String userId, String glossaryCategoryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the glossary metadata element with the supplied unique identifier.getGlossaryCategoriesByName
(String userId, String glossaryGUID, String name, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the list of glossary category metadata elements with a matching qualified or display name.getGlossaryCategoryByGUID
(String userId, String glossaryCategoryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the glossary category metadata element with the supplied unique identifier.getGlossaryCategoryParent
(String userId, String glossaryCategoryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the glossary category metadata element with the supplied unique identifier.getGlossaryForCategory
(String userId, String glossaryCategoryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the glossary metadata element for the requested category.getGlossaryForTerm
(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the glossary metadata element for the requested term.getGlossarySubCategories
(String userId, String glossaryCategoryGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the glossary category metadata element with the supplied unique identifier.getGlossaryTermByGUID
(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the glossary term metadata element with the supplied unique identifier.getGlossaryTermHistory
(String userId, String glossaryTermGUID, Date fromTime, Date toTime, int startFrom, int pageSize, boolean oldestFirst, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime) Retrieve all the versions of a glossary term.getGlossaryTermsByName
(String userId, String glossaryGUID, String name, List<GlossaryTermStatus> limitResultsByStatus, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the list of glossary term metadata elements with a matching qualified or display name.getRelatedTerms
(String userId, String glossaryTermGUID, String relationshipTypeName, List<GlossaryTermRelationshipStatus> limitResultsByStatus, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the list of glossary terms associated with the requested glossary term.getTermRelationshipTypeNames
(String userId) Return the list of term-to-term relationship names.getTermsForGlossary
(String userId, String glossaryGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the list of glossary terms associated with a glossary.getTermsForGlossaryCategory
(String userId, String glossaryCategoryGUID, List<GlossaryTermRelationshipStatus> limitResultsByStatus, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the list of glossary terms associated with a glossary category.void
moveGlossaryTerm
(String userId, String glossaryTermGUID, String newGlossaryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Move a glossary term from one glossary to another.void
removeExternalGlossaryLink
(String userId, String externalLinkGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove information about a link to an external glossary resource (and the relationships that attached it to the glossaries).void
removeGlossary
(String userId, String glossaryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove the metadata element representing a glossary.void
removeGlossaryCategory
(String userId, String glossaryCategoryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove the metadata element representing a glossary category.void
removeGlossaryTerm
(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove the metadata element representing a glossary term.void
setGlossaryAsCanonical
(String userId, String glossaryGUID, CanonicalVocabularyProperties properties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Classify a glossary to declare that it has no two GlossaryTerm definitions with the same name.void
setGlossaryAsEditingGlossary
(String userId, String glossaryGUID, EditingGlossaryProperties properties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Classify the glossary to indicate that it is an editing glossary - this means it is a collection of glossary updates that will be merged into its source glossary.void
setGlossaryAsStagingGlossary
(String userId, String glossaryGUID, StagingGlossaryProperties properties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Classify the glossary to indicate that it is an editing glossary - this means it is a collection of glossary updates that will be merged into another glossary.void
setGlossaryAsTaxonomy
(String userId, String glossaryGUID, TaxonomyProperties properties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Classify the glossary to indicate that it can be used as a taxonomy.void
setTermAsAbstractConcept
(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Classify the glossary term to indicate that it describes an abstract concept.void
setTermAsActivity
(String userId, String glossaryTermGUID, ActivityDescriptionProperties properties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Classify the glossary term to indicate that it describes a data value.void
setTermAsContext
(String userId, String glossaryTermGUID, GlossaryTermContextDefinition contextDefinition, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Classify the glossary term to indicate that it describes a context.void
setTermAsDataField
(String userId, String glossaryTermGUID, DataFieldValuesProperties properties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Classify the glossary term to indicate that it describes a data field and supply properties that describe the characteristics of the data values found within.void
setTermAsDataValue
(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Classify the glossary term to indicate that it describes a data value.void
setTermAsObjectIdentifier
(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Classify the glossary term to indicate that it describes an object identifier.void
setTermAsSpineAttribute
(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Classify the glossary term to indicate that it describes a spine attribute.void
setTermAsSpineObject
(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Classify the glossary term to indicate that it describes a spine object.void
setupCategoryParent
(String userId, String glossaryParentCategoryGUID, String glossaryChildCategoryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Create a parent-child relationship between two categories.void
setupTermCategory
(String userId, String glossaryCategoryGUID, String glossaryTermGUID, GlossaryTermCategorization categorizationProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Link a term to a category.void
setupTermRelationship
(String userId, String relationshipTypeName, String glossaryTermOneGUID, String glossaryTermTwoGUID, GlossaryTermRelationship relationshipsProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Link two terms together using a specialist relationship.undoGlossaryTermUpdate
(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Undo the last update to the glossary term.void
updateExternalGlossaryLink
(String userId, String externalLinkGUID, boolean isMergeUpdate, ExternalGlossaryLinkProperties linkProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Update the properties of a reference to an external glossary resource.void
updateGlossary
(String userId, String glossaryGUID, boolean isMergeUpdate, GlossaryProperties glossaryProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Update the metadata element representing a glossary.void
updateGlossaryCategory
(String userId, String glossaryCategoryGUID, boolean isMergeUpdate, GlossaryCategoryProperties glossaryCategoryProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Update the metadata element representing a glossary category.void
updateGlossaryTerm
(String userId, String glossaryTermGUID, boolean isMergeUpdate, GlossaryTermProperties glossaryTermProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Update the metadata element representing a glossary term.void
updateGlossaryTermFromTemplate
(String userId, String glossaryTermGUID, String templateGUID, boolean isMergeClassifications, boolean isMergeProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Update the glossary term using the properties and classifications from the parentGUID stored in the request body.void
updateGlossaryTermStatus
(String userId, String glossaryTermGUID, GlossaryTermStatus glossaryTermStatus, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Update the status of the metadata element representing a glossary term.void
updateTermRelationship
(String userId, String relationshipTypeName, String glossaryTermOneGUID, String glossaryTermTwoGUID, GlossaryTermRelationship relationshipsProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Update the relationship properties for the two terms.
-
Constructor Details
-
GlossaryManagementClient
public GlossaryManagementClient(String serverName, String serverPlatformURLRoot, AuditLog auditLog, int maxPageSize) throws InvalidParameterException Create a new client with no authentication embedded in the HTTP request.- Parameters:
serverName
- name of the server to connect toserverPlatformURLRoot
- the network address of the server running the OMAS REST servicesauditLog
- logging destinationmaxPageSize
- maximum value allowed for page size- Throws:
InvalidParameterException
- there is a problem creating the client-side components to issue any REST API calls.
-
GlossaryManagementClient
public GlossaryManagementClient(String serverName, String serverPlatformURLRoot, int maxPageSize) throws InvalidParameterException Create a new client with no authentication embedded in the HTTP request.- Parameters:
serverName
- name of the server to connect toserverPlatformURLRoot
- the network address of the server running the OMAS REST servicesmaxPageSize
- maximum value allowed for page size- Throws:
InvalidParameterException
- there is a problem creating the client-side components to issue any REST API calls.
-
GlossaryManagementClient
public GlossaryManagementClient(String serverName, String serverPlatformURLRoot, String userId, String password, AuditLog auditLog, int maxPageSize) throws InvalidParameterException Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.- Parameters:
serverName
- name of the server to connect toserverPlatformURLRoot
- the network address of the server running the OMAS REST servicesuserId
- caller's userId embedded in all HTTP requestspassword
- caller's userId embedded in all HTTP requestsauditLog
- logging destinationmaxPageSize
- maximum value allowed for page size- Throws:
InvalidParameterException
- there is a problem creating the client-side components to issue any REST API calls.
-
GlossaryManagementClient
public GlossaryManagementClient(String serverName, String serverPlatformURLRoot, AssetManagerRESTClient restClient, int maxPageSize, AuditLog auditLog) throws InvalidParameterException Create a new client that is going to be used in an OMAG Server.- Parameters:
serverName
- name of the server to connect toserverPlatformURLRoot
- the network address of the server running the OMAS REST servicesrestClient
- client that issues the REST API callsmaxPageSize
- maximum number of results supported by this serverauditLog
- logging destination- Throws:
InvalidParameterException
- there is a problem creating the client-side components to issue any REST API calls.
-
GlossaryManagementClient
public GlossaryManagementClient(String serverName, String serverPlatformURLRoot, String userId, String password, int maxPageSize) throws InvalidParameterException Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.- Parameters:
serverName
- name of the server to connect toserverPlatformURLRoot
- the network address of the server running the OMAS REST servicesuserId
- caller's userId embedded in all HTTP requestspassword
- caller's userId embedded in all HTTP requestsmaxPageSize
- maximum value allowed for page size- Throws:
InvalidParameterException
- there is a problem creating the client-side components to issue any REST API calls.
-
-
Method Details
-
createGlossary
public String createGlossary(String userId, 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.- Specified by:
createGlossary
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryProperties
- 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
public String createGlossaryFromTemplate(String userId, String templateGUID, TemplateProperties templateProperties, boolean deepCopy) 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.- Specified by:
createGlossaryFromTemplate
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling usertemplateGUID
- unique identifier of the metadata element to copytemplateProperties
- properties that override the templatedeepCopy
- should the template creation extend to the anchored elements or just the direct entity?- 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
public void updateGlossary(String userId, String glossaryGUID, boolean isMergeUpdate, GlossaryProperties glossaryProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Update the metadata element representing a glossary.- Specified by:
updateGlossary
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryGUID
- unique identifier of the metadata element to updateisMergeUpdate
- should the new properties be merged with existing properties (true) or completely replace them (false)?glossaryProperties
- new properties for this elementeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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)
-
setGlossaryAsEditingGlossary
public void setGlossaryAsEditingGlossary(String userId, String glossaryGUID, EditingGlossaryProperties properties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Classify the glossary to indicate that it is an editing glossary - this means it is a collection of glossary updates that will be merged into its source glossary.- Specified by:
setGlossaryAsEditingGlossary
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryGUID
- unique identifier of the metadata element to removeproperties
- description of the purpose of the editing glossaryeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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)
-
clearGlossaryAsEditingGlossary
public void clearGlossaryAsEditingGlossary(String userId, String glossaryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the editing glossary classification from the glossary.- Specified by:
clearGlossaryAsEditingGlossary
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryGUID
- unique identifier of the metadata element to removeeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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)
-
setGlossaryAsStagingGlossary
public void setGlossaryAsStagingGlossary(String userId, String glossaryGUID, StagingGlossaryProperties properties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Classify the glossary to indicate that it is an editing glossary - this means it is a collection of glossary updates that will be merged into another glossary.- Specified by:
setGlossaryAsStagingGlossary
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryGUID
- unique identifier of the metadata element to removeproperties
- description of the purpose of the editing glossaryeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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)
-
clearGlossaryAsStagingGlossary
public void clearGlossaryAsStagingGlossary(String userId, String glossaryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the staging glossary classification from the glossary.- Specified by:
clearGlossaryAsStagingGlossary
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryGUID
- unique identifier of the metadata element to removeeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void setGlossaryAsTaxonomy(String userId, String glossaryGUID, TaxonomyProperties properties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) 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.- Specified by:
setGlossaryAsTaxonomy
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryGUID
- unique identifier of the metadata element to removeproperties
- description of how the glossary is organizedeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void clearGlossaryAsTaxonomy(String userId, String glossaryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the taxonomy designation from the glossary.- Specified by:
clearGlossaryAsTaxonomy
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryGUID
- unique identifier of the metadata element to removeeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void setGlossaryAsCanonical(String userId, String glossaryGUID, CanonicalVocabularyProperties properties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) 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.- Specified by:
setGlossaryAsCanonical
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryGUID
- unique identifier of the metadata element to removeproperties
- description of the situations where this glossary is relevant.effectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void clearGlossaryAsCanonical(String userId, String glossaryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the canonical designation from the glossary.- Specified by:
clearGlossaryAsCanonical
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryGUID
- unique identifier of the metadata element to removeeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void removeGlossary(String userId, String glossaryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the metadata element representing a glossary. This will delete the glossary and all categories and terms.- Specified by:
removeGlossary
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryGUID
- unique identifier of the metadata element to removeeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public List<GlossaryElement> findGlossaries(String userId, String searchString, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) 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.- Specified by:
findGlossaries
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling usersearchString
- string to find in the propertiesstartFrom
- paging start pointpageSize
- maximum results that can be returned*effectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public List<GlossaryElement> getGlossariesByName(String userId, String name, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) 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.- Specified by:
getGlossariesByName
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling username
- name to search forstartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public GlossaryElement getGlossaryByGUID(String userId, String glossaryCategoryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the glossary metadata element with the supplied unique identifier.- Specified by:
getGlossaryByGUID
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryCategoryGUID
- unique identifier of the requested metadata elementeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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)
-
getGlossaryForCategory
public GlossaryElement getGlossaryForCategory(String userId, String glossaryCategoryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the glossary metadata element for the requested category.- Specified by:
getGlossaryForCategory
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryCategoryGUID
- unique identifier of the requested metadata elementeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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)
-
getGlossaryForTerm
public GlossaryElement getGlossaryForTerm(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the glossary metadata element for the requested term.- Specified by:
getGlossaryForTerm
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the requested metadata elementeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public String createGlossaryCategory(String userId, String glossaryGUID, GlossaryCategoryProperties glossaryCategoryProperties, boolean isRootCategory, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Create a new metadata element to represent a glossary category.- Specified by:
createGlossaryCategory
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryGUID
- unique identifier of the glossary where the category is locatedglossaryCategoryProperties
- properties about the glossary category to storeisRootCategory
- is this category a root category?effectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public String createGlossaryCategoryFromTemplate(String userId, String glossaryGUID, String templateGUID, TemplateProperties templateProperties, boolean deepCopy) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Create a new metadata element to represent a glossary category using an existing metadata element as a template.- Specified by:
createGlossaryCategoryFromTemplate
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryGUID
- unique identifier of the glossary where the category is locatedtemplateGUID
- unique identifier of the metadata element to copytemplateProperties
- properties that override the templatedeepCopy
- should the template creation extend to the anchored elements or just the direct entity?- 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
public void updateGlossaryCategory(String userId, String glossaryCategoryGUID, boolean isMergeUpdate, GlossaryCategoryProperties glossaryCategoryProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Update the metadata element representing a glossary category.- Specified by:
updateGlossaryCategory
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryCategoryGUID
- unique identifier of the metadata element to updateisMergeUpdate
- should the new properties be merged with existing properties (true) or completely replace them (false)?glossaryCategoryProperties
- new properties for the metadata elementeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void setupCategoryParent(String userId, String glossaryParentCategoryGUID, String glossaryChildCategoryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Create a parent-child relationship between two categories.- Specified by:
setupCategoryParent
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryParentCategoryGUID
- 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 subcategoryeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void clearCategoryParent(String userId, String glossaryParentCategoryGUID, String glossaryChildCategoryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove a parent-child relationship between two categories.- Specified by:
clearCategoryParent
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryParentCategoryGUID
- 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 subcategoryeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void removeGlossaryCategory(String userId, String glossaryCategoryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the metadata element representing a glossary category.- Specified by:
removeGlossaryCategory
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryCategoryGUID
- unique identifier of the metadata element to removeeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public List<GlossaryCategoryElement> findGlossaryCategories(String userId, String glossaryGUID, String searchString, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) 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.- Specified by:
findGlossaryCategories
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryGUID
- optional glossary unique identifier to scope the search to a glossary.searchString
- string to find in the propertiesstartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public List<GlossaryCategoryElement> getCategoriesForGlossary(String userId, String glossaryGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Return the list of categories associated with a glossary.- Specified by:
getCategoriesForGlossary
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryGUID
- unique identifier of the glossary to querystartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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)
-
getCategoriesForTerm
public List<GlossaryCategoryElement> getCategoriesForTerm(String userId, String glossaryTermGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Return the list of categories associated with a glossary term.- Specified by:
getCategoriesForTerm
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the glossary term to querystartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- Returns:
- list of metadata elements describing the categories associated with the requested 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)
-
getGlossaryCategoriesByName
public List<GlossaryCategoryElement> getGlossaryCategoriesByName(String userId, String glossaryGUID, String name, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) 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.- Specified by:
getGlossaryCategoriesByName
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryGUID
- optional glossary unique identifier to scope the search to a glossary.name
- name to search forstartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public GlossaryCategoryElement getGlossaryCategoryByGUID(String userId, String glossaryCategoryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the glossary category metadata element with the supplied unique identifier.- Specified by:
getGlossaryCategoryByGUID
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryCategoryGUID
- unique identifier of the requested metadata elementeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public GlossaryCategoryElement getGlossaryCategoryParent(String userId, String glossaryCategoryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the glossary category metadata element with the supplied unique identifier.- Specified by:
getGlossaryCategoryParent
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryCategoryGUID
- unique identifier of the requested metadata elementeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public List<GlossaryCategoryElement> getGlossarySubCategories(String userId, String glossaryCategoryGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the glossary category metadata element with the supplied unique identifier.- Specified by:
getGlossarySubCategories
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryCategoryGUID
- unique identifier of the requested metadata elementstartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public String createGlossaryTerm(String userId, String glossaryGUID, GlossaryTermProperties glossaryTermProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Create a new metadata element to represent a glossary term.- Specified by:
createGlossaryTerm
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryGUID
- unique identifier of the glossary where the term is locatedglossaryTermProperties
- properties for the glossary termeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public String createControlledGlossaryTerm(String userId, String glossaryGUID, GlossaryTermProperties glossaryTermProperties, GlossaryTermStatus initialStatus, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Create a new metadata element to represent a glossary term whose lifecycle is managed through a controlled workflow.- Specified by:
createControlledGlossaryTerm
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryGUID
- unique identifier of the glossary where the term is locatedglossaryTermProperties
- properties for the glossary terminitialStatus
- glossary term status to use when the object is createdeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public String createGlossaryTermFromTemplate(String userId, String glossaryGUID, String templateGUID, TemplateProperties templateProperties, boolean deepCopy, boolean templateSubstitute, GlossaryTermStatus initialStatus) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Create a new metadata element to represent a glossary term using an existing metadata element as a template.- Specified by:
createGlossaryTermFromTemplate
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryGUID
- unique identifier of the glossary where the term is locatedtemplateGUID
- unique identifier of the metadata element to copytemplateProperties
- properties that override the templatedeepCopy
- should the template creation extend to the anchored elements or just the direct entity?templateSubstitute
- is this element a template substitute (used as the "other end" of a new/updated relationship)initialStatus
- what status should the copy be set to- 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
public void updateGlossaryTerm(String userId, String glossaryTermGUID, boolean isMergeUpdate, GlossaryTermProperties glossaryTermProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Update the metadata element representing a glossary term.- Specified by:
updateGlossaryTerm
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the glossary term to updateisMergeUpdate
- should the new properties be merged with existing properties (true) or completely replace them (false)?glossaryTermProperties
- new properties for the glossary termeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void updateGlossaryTermStatus(String userId, String glossaryTermGUID, GlossaryTermStatus glossaryTermStatus, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Update the status of the metadata element representing a glossary term. This is only valid on a controlled glossary term.- Specified by:
updateGlossaryTermStatus
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the glossary term to updateglossaryTermStatus
- new properties for the glossary termeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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)
-
updateGlossaryTermFromTemplate
public void updateGlossaryTermFromTemplate(String userId, String glossaryTermGUID, String templateGUID, boolean isMergeClassifications, boolean isMergeProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Update the glossary term using the properties and classifications from the parentGUID stored in the request body.- Specified by:
updateGlossaryTermFromTemplate
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the glossary term to updatetemplateGUID
- identifier for the template glossary termisMergeClassifications
- should the classification be merged or replace the target entity?isMergeProperties
- should the properties be merged with the existing ones or replace themeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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)
-
moveGlossaryTerm
public void moveGlossaryTerm(String userId, String glossaryTermGUID, String newGlossaryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Move a glossary term from one glossary to another.- Specified by:
moveGlossaryTerm
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the glossary term to updatenewGlossaryGUID
- identifier for the new glossaryeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void setupTermCategory(String userId, String glossaryCategoryGUID, String glossaryTermGUID, GlossaryTermCategorization categorizationProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Link a term to a category.- Specified by:
setupTermCategory
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryCategoryGUID
- unique identifier of the glossary categoryglossaryTermGUID
- unique identifier of the glossary termcategorizationProperties
- properties for the categorization relationshipeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void clearTermCategory(String userId, String glossaryCategoryGUID, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Unlink a term from a category.- Specified by:
clearTermCategory
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryCategoryGUID
- unique identifier of the glossary categoryglossaryTermGUID
- unique identifier of the glossary termeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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)
-
getTermRelationshipTypeNames
public List<String> getTermRelationshipTypeNames(String userId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Return the list of term-to-term relationship names.- Specified by:
getTermRelationshipTypeNames
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling user- Returns:
- list of type names that are subtypes of asset
- 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
public void setupTermRelationship(String userId, String relationshipTypeName, String glossaryTermOneGUID, String glossaryTermTwoGUID, GlossaryTermRelationship relationshipsProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Link two terms together using a specialist relationship.- Specified by:
setupTermRelationship
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userrelationshipTypeName
- 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 relationshipeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void updateTermRelationship(String userId, String relationshipTypeName, String glossaryTermOneGUID, String glossaryTermTwoGUID, GlossaryTermRelationship relationshipsProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Update the relationship properties for the two terms.- Specified by:
updateTermRelationship
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userrelationshipTypeName
- 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 relationshipeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void clearTermRelationship(String userId, String relationshipTypeName, String glossaryTermOneGUID, String glossaryTermTwoGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the relationship between two terms.- Specified by:
clearTermRelationship
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userrelationshipTypeName
- 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 2effectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void setTermAsAbstractConcept(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Classify the glossary term to indicate that it describes an abstract concept.- Specified by:
setTermAsAbstractConcept
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the metadata element to updateeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void clearTermAsAbstractConcept(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the abstract concept designation from the glossary term.- Specified by:
clearTermAsAbstractConcept
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the metadata element to updateeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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)
-
setTermAsDataField
public void setTermAsDataField(String userId, String glossaryTermGUID, DataFieldValuesProperties properties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Classify the glossary term to indicate that it describes a data field and supply properties that describe the characteristics of the data values found within.- Specified by:
setTermAsDataField
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the metadata element to updateproperties
- characterizations of the data values stored in the data fieldeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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)
-
clearTermAsDataField
public void clearTermAsDataField(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the data field designation from the glossary term.- Specified by:
clearTermAsDataField
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the metadata element to updateeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void setTermAsDataValue(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Classify the glossary term to indicate that it describes a data value.- Specified by:
setTermAsDataValue
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the metadata element to updateeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void clearTermAsDataValue(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the data value designation from the glossary term.- Specified by:
clearTermAsDataValue
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the metadata element to updateeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void setTermAsActivity(String userId, String glossaryTermGUID, ActivityDescriptionProperties properties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Classify the glossary term to indicate that it describes a data value.- Specified by:
setTermAsActivity
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the metadata element to updateproperties
- type of activityeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void clearTermAsActivity(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the activity designation from the glossary term.- Specified by:
clearTermAsActivity
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the metadata element to updateeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void setTermAsContext(String userId, String glossaryTermGUID, GlossaryTermContextDefinition contextDefinition, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Classify the glossary term to indicate that it describes a context.- Specified by:
setTermAsContext
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the metadata element to updatecontextDefinition
- more details of the contexteffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void clearTermAsContext(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the context definition designation from the glossary term.- Specified by:
clearTermAsContext
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the metadata element to updateeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void setTermAsSpineObject(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Classify the glossary term to indicate that it describes a spine object.- Specified by:
setTermAsSpineObject
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the metadata element to updateeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void clearTermAsSpineObject(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the spine object designation from the glossary term.- Specified by:
clearTermAsSpineObject
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the metadata element to updateeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void setTermAsSpineAttribute(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Classify the glossary term to indicate that it describes a spine attribute.- Specified by:
setTermAsSpineAttribute
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the metadata element to updateeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void clearTermAsSpineAttribute(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the spine attribute designation from the glossary term.- Specified by:
clearTermAsSpineAttribute
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the metadata element to updateeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void setTermAsObjectIdentifier(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Classify the glossary term to indicate that it describes an object identifier.- Specified by:
setTermAsObjectIdentifier
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the metadata element to updateeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void clearTermAsObjectIdentifier(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the object identifier designation from the glossary term.- Specified by:
clearTermAsObjectIdentifier
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the metadata element to updateeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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)
-
undoGlossaryTermUpdate
public GlossaryTermElement undoGlossaryTermUpdate(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Undo the last update to the glossary term.- Specified by:
undoGlossaryTermUpdate
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the metadata element to updateeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- Returns:
- recovered 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)
-
archiveGlossaryTerm
public void archiveGlossaryTerm(String userId, String glossaryTermGUID, ArchiveProperties archiveProperties, Date effectiveTime, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Archive the metadata element representing a glossary term. This removes it from normal access. However, it is still available for lineage requests.- Specified by:
archiveGlossaryTerm
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the metadata element to archivearchiveProperties
- option parameters about the archive processeffectiveTime
- the time that the retrieved elements must be effective forforDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void removeGlossaryTerm(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the metadata element representing a glossary term.- Specified by:
removeGlossaryTerm
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the metadata element to removeeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public List<GlossaryTermElement> findGlossaryTerms(String userId, String glossaryGUID, String searchString, List<GlossaryTermStatus> limitResultsByStatus, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) 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.- Specified by:
findGlossaryTerms
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryGUID
- unique identifier of the glossary to querysearchString
- string to find in the propertieslimitResultsByStatus
- By default, terms in all statuses are returned. However, it is possible to specify a list of statuses (eg ACTIVE) to restrict the results to. Null means all status values.startFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public List<GlossaryTermElement> getTermsForGlossary(String userId, String glossaryGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the list of glossary terms associated with a glossary.- Specified by:
getTermsForGlossary
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryGUID
- unique identifier of the glossary of intereststartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public List<GlossaryTermElement> getTermsForGlossaryCategory(String userId, String glossaryCategoryGUID, List<GlossaryTermRelationshipStatus> limitResultsByStatus, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the list of glossary terms associated with a glossary category.- Specified by:
getTermsForGlossaryCategory
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryCategoryGUID
- unique identifier of the glossary category of interestlimitResultsByStatus
- By default, term relationships in all statuses are returned. However, it is possible to specify a list of statuses (eg ACTIVE) to restrict the results to. Null means all status values.startFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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)
-
getRelatedTerms
public List<GlossaryTermElement> getRelatedTerms(String userId, String glossaryTermGUID, String relationshipTypeName, List<GlossaryTermRelationshipStatus> limitResultsByStatus, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the list of glossary terms associated with the requested glossary term.- Specified by:
getRelatedTerms
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the glossary term of interestrelationshipTypeName
- optional name of relationshiplimitResultsByStatus
- By default, term relationships in all statuses are returned. However, it is possible to specify a list of statuses (eg ACTIVE) to restrict the results to. Null means all status values.startFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public List<GlossaryTermElement> getGlossaryTermsByName(String userId, String glossaryGUID, String name, List<GlossaryTermStatus> limitResultsByStatus, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) 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.- Specified by:
getGlossaryTermsByName
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryGUID
- unique identifier of the glossary to queryname
- name to search forlimitResultsByStatus
- By default, terms in all statuses are returned. However, it is possible to specify a list of statuses (eg ACTIVE) to restrict the results to. Null means all status values.startFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public GlossaryTermElement getGlossaryTermByGUID(String userId, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the glossary term metadata element with the supplied unique identifier.- Specified by:
getGlossaryTermByGUID
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of the requested metadata elementeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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)
-
getGlossaryTermHistory
public List<GlossaryTermElement> getGlossaryTermHistory(String userId, String glossaryTermGUID, Date fromTime, Date toTime, int startFrom, int pageSize, boolean oldestFirst, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException Retrieve all the versions of a glossary term.- Specified by:
getGlossaryTermHistory
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryTermGUID
- unique identifier of object to retrievefromTime
- the earliest point in time from which to retrieve historical versions of the entity (inclusive)toTime
- the latest point in time from which to retrieve historical versions of the entity (exclusive)startFrom
- the starting element number of the historical versions to return. This is used when retrieving versions beyond the first page of results. Zero means start from the first element.pageSize
- the maximum number of result versions that can be returned on this request. Zero means unrestricted return results size.oldestFirst
- defining how the results should be ordered.forLineage
- the request is to support lineage retrieval this means entities with the Memento classification can be returnedforDuplicateProcessing
- the request is for duplicate processing and so must not deduplicateeffectiveTime
- the time that the retrieved elements must be effective for (null for any time, new Date() for now)- Returns:
- list of beans
- Throws:
InvalidParameterException
- one of the parameters is null or invalid.PropertyServerException
- there is a problem removing the properties from the repositories.UserNotAuthorizedException
- the requesting user is not authorized to issue this request.
-
createExternalGlossaryLink
public String createExternalGlossaryLink(String userId, 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.- Specified by:
createExternalGlossaryLink
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userlinkProperties
- 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
public void updateExternalGlossaryLink(String userId, String externalLinkGUID, boolean isMergeUpdate, ExternalGlossaryLinkProperties linkProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Update the properties of a reference to an external glossary resource.- Specified by:
updateExternalGlossaryLink
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userexternalLinkGUID
- unique identifier of the external referenceisMergeUpdate
- should the new properties be merged with existing properties (true) or completely replace them (false)?linkProperties
- properties of the linkeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void removeExternalGlossaryLink(String userId, String externalLinkGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove information about a link to an external glossary resource (and the relationships that attached it to the glossaries).- Specified by:
removeExternalGlossaryLink
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userexternalLinkGUID
- unique identifier of the external referenceeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void attachExternalLinkToGlossary(String userId, String externalLinkGUID, String glossaryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Connect a glossary to a reference to an external glossary resource.- Specified by:
attachExternalLinkToGlossary
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userexternalLinkGUID
- unique identifier of the external referenceglossaryGUID
- unique identifier of the metadata element to attacheffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void detachExternalLinkFromGlossary(String userId, String externalLinkGUID, String glossaryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Disconnect a glossary from a reference to an external glossary resource.- Specified by:
detachExternalLinkFromGlossary
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userexternalLinkGUID
- unique identifier of the external referenceglossaryGUID
- unique identifier of the metadata element to removeeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public List<ExternalGlossaryLinkElement> getExternalLinksForGlossary(String userId, String glossaryGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the list of links to external glossary resources attached to a glossary.- Specified by:
getExternalLinksForGlossary
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userglossaryGUID
- unique identifier of the metadata element for the glossary of intereststartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public List<GlossaryElement> getGlossariesForExternalLink(String userId, String externalLinkGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Return the glossaries connected to an external glossary source.- Specified by:
getGlossariesForExternalLink
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userexternalLinkGUID
- unique identifier of the metadata element for the external glossary link of intereststartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void attachExternalCategoryLink(String userId, String externalLinkGUID, String glossaryCategoryGUID, ExternalGlossaryElementLinkProperties linkProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) 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.- Specified by:
attachExternalCategoryLink
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userexternalLinkGUID
- unique identifier of the external referenceglossaryCategoryGUID
- unique identifier for the glossary categorylinkProperties
- properties of the linkeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void detachExternalCategoryLink(String userId, String externalLinkGUID, String glossaryCategoryGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the link to an external glossary category resource.- Specified by:
detachExternalCategoryLink
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userexternalLinkGUID
- unique identifier of the external referenceglossaryCategoryGUID
- unique identifier for the glossary categoryeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void attachExternalTermLink(String userId, String externalLinkGUID, String glossaryTermGUID, ExternalGlossaryElementLinkProperties linkProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) 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.- Specified by:
attachExternalTermLink
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userexternalLinkGUID
- unique identifier of the external referenceglossaryTermGUID
- unique identifier for the glossary categorylinkProperties
- properties of the linkeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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
public void detachExternalTermLink(String userId, String externalLinkGUID, String glossaryTermGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the link to an external glossary term resource.- Specified by:
detachExternalTermLink
in interfaceGlossaryManagementInterface
- Parameters:
userId
- calling userexternalLinkGUID
- unique identifier of the external referenceglossaryTermGUID
- unique identifier for the glossary categoryeffectiveTime
- the time that the retrieved elements must be effective forforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- 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)
-