Class SubjectAreaRelationshipRESTServices
-
Field Summary
Fields inherited from class org.odpi.openmetadata.accessservices.subjectarea.server.services.SubjectAreaRESTServicesInstance
instanceHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAntonym
(String serverName, String userId, Antonym antonym) Create an antonym relationship, which is a link between glossary terms that have the opposite meaning.createCategoryHierarchyLink
(String serverName, String userId, CategoryHierarchyLink categoryHierarchyLink) Create a CategoryHierarchyLink Relationship.createIsARelationship
(String serverName, String userId, IsA iSARelationship) Create a iSARelationship relationship, which is a link between a more general glossary term and a more specific definition.createIsATypeOf
(String serverName, String userId, IsATypeOf IsATypeOf) Create a is a type of relationship, which is an inheritance relationship between two spine objects.createIsATypeOfDeprecated
(String serverName, String userId, IsATypeOfDeprecated IsATypeOfDeprecated) Deprecated.IsATypeOfDeprecated is deprecated; move your instances to use IsATypeOf instead.createPreferredTerm
(String serverName, String userId, PreferredTerm preferredTermRelationship) Create a preferredTermRelationship relationship, which is a link between glossary terms, it is a Link to an alternative term that the organization prefers is used.createProjectScopeRelationship
(String serverName, String userId, ProjectScope projectScope) Create a projectScope relationship, which is a link between the project content and the project.createRelatedTerm
(String serverName, String userId, RelatedTerm relatedTermRelationship) Create a RelatedTerm.createReplacementTerm
(String serverName, String userId, ReplacementTerm replacementTermRelationship) Create a replacementTermRelationship relationship, which is a link to a glossary term that is replacing an obsolete glossary term.createSynonym
(String serverName, String userId, Synonym synonym) Create a synonym relationship, which is a link between glossary terms that have the same meaning.createTermCategorizationRelationship
(String serverName, String userId, Categorization termCategorizationRelationship) Create a termCategorization Relationship.createTermHasARelationship
(String serverName, String userId, HasA termHasARelationship) Create a Hasa is the relationship between a spine object and a spine attribute.createTermTypedByRelationship
(String serverName, String userId, TypedBy termTypedByRelationship) Create a termTypedByRelationship relationship, which is a link between a spine attribute and its type.createTranslation
(String serverName, String userId, Translation translationRelationship) Create a translationRelationship relationship, which is a link between glossary terms to provide different natural language translationRelationship of the same concept.createUsedInContext
(String serverName, String userId, UsedInContext usedInContextRelationship) Create a usedInContextRelationship relationship, which is a link between glossary terms, where one describes the context where the other one is valid to use.createValidValue
(String serverName, String userId, ValidValue validValueRelationship) Create a validValueRelationship relationship, which is a link between glossary terms that have the same meaning.deleteAntonymRelationship
(String serverName, String userId, String guid) Delete a Antonym relationshipdeleteCategoryHierarchyLink
(String serverName, String userId, String guid) Delete a CategoryHierarchyLink Relationship.deleteIIsATypeOf
(String serverName, String userId, String guid) Delete a IsATypeOf relationship, which is an inheritance relationship between two spine objects.deleteIsARelationship
(String serverName, String userId, String guid) Delete a Isa relationship, which is a link between a more general glossary term and a more specific definition.deleteIsATypeOfDeprecatedRelationship
(String serverName, String userId, String guid) Deprecated.IsATypeOfRelationship it is deprecated; move your instances to use IsATypeOf instead.deletePreferredTermRelationship
(String serverName, String userId, String guid) Delete a PreferredTerm relationship, which is a link between glossary terms, it is a Link to an alternative term that the organization prefers is used.deleteProjectScopeRelationship
(String serverName, String userId, String guid) Delete a ProjectScope relationship, which is a link between the project content and the project.deleteRelatedTerm
(String serverName, String userId, String guid) Delete a Related Term relationshipdeleteReplacementTerm
(String serverName, String userId, String guid) Delete a ReplacementTerm relationship, which is a link to a glossary term that is replacing an obsolete glossary term.deleteSynonymRelationship
(String serverName, String userId, String guid) Delete a Synonym relationshipdeleteTermCategorizationRelationship
(String serverName, String userId, String guid) Delete a TermCategorization Relationship.deleteTermHasARelationship
(String serverName, String userId, String guid) Delete a Term HAS A relationshipdeleteTermTypedByRelationship
(String serverName, String userId, String guid) Delete a TypedBy relationship, which is a link between a spine attribute and its type.deleteTranslationRelationship
(String serverName, String userId, String guid) Delete a Translation relationship, which is a link between glossary terms to provide different natural language translation of the same concept.deleteUsedInContextRelationship
(String serverName, String userId, String guid) Delete a UsedInContext relationship which is a link between glossary terms, where one describes the context where the other one is valid to use.deleteValidValueRelationship
(String serverName, String userId, String guid) Delete a ValidValue relationshipgetAntonymRelationship
(String serverName, String userId, String guid) Get a antonym relationshipgetCategoryAnchorRelationship
(String serverName, String userId, String guid) Get a categoryAnchor Relationship.getCategoryHierarchyLink
(String serverName, String userId, String guid) Get a CategoryHierarchyLink Relationship.getIsARelationship
(String serverName, String userId, String guid) Get a iSARelationship relationship, which is a link between a more general glossary term and a more specific definition.getIsATypeOf
(String serverName, String userId, String guid) Get a is a type of relationship, which is an inheritance relationship between two spine objects.getIsATypeOfDeprecated
(String serverName, String userId, String guid) Deprecated.IsATypeOfRelationship it is deprecated; move your instances to use IsATypeOf instead.getPreferredTermRelationship
(String serverName, String userId, String guid) Get a preferredTerm relationship, which is a link between glossary terms, it is a Link to an alternative term that the organization prefers is used.getProjectScopeRelationship
(String serverName, String userId, String guid) Get a projectScope relationship, which is a link between the project content and the project.getRelatedTerm
(String serverName, String userId, String guid) Get a related Term relationship.getReplacementTerm
(String serverName, String userId, String guid) Get a replacementTerm relationship, which is a link to a glossary term that is replacing an obsolete glossary term.getSemanticAssignmentRelationship
(String serverName, String userId, String guid) Get a SemanticAssignment relationship, Links a glossary term to another element such as an asset or schema element to define its meaning.getSynonymRelationship
(String serverName, String userId, String guid) Get a synonym relationship, which is a link between glossary terms that have the same meaning.getTermAnchorRelationship
(String serverName, String userId, String guid) Get a termAnchor Relationship.getTermCategorizationRelationship
(String serverName, String userId, String guid) Get a termCategorization Relationship.getTermHasARelationship
(String serverName, String userId, String guid) Get a Term HAS A relationshipgetTermTypedByRelationship
(String serverName, String userId, String guid) Get a termTypedByRelationship relationship, which is a link between a spine attribute and its type.getTranslationRelationship
(String serverName, String userId, String guid) Get a translation relationshiptranslation relationship, which is a link between glossary terms to provide different natural language translation of the same concept.getUsedInContextRelationship
(String serverName, String userId, String guid) Get a usedInContext relationship, which is a link between glossary terms, where one describes the context where the other one is valid to use.getValidValueRelationship
(String serverName, String userId, String guid) Get a validValue relationship, which is a link between glossary terms that have the same meaning.restoreAntonym
(String serverName, String userId, String guid) Restore an antonym relationship.restoreCategoryHierarchyLink
(String serverName, String userId, String guid) Restore a CategoryHierarchyLink Relationship.restoreIsARelationship
(String serverName, String userId, String guid) Restore a is a relationship.restoreIsATypeOf
(String serverName, String userId, String guid) Restore a is IsATypeOf relationship.restoreIsATypeOfDeprecated
(String serverName, String userId, String guid) Deprecated.IsATypeOfRelationship it is deprecated; move your instances to use IsATypeOf instead.restorePreferredTerm
(String serverName, String userId, String guid) Restore a preferred term relationship.restoreProjectScopeRelationship
(String serverName, String userId, String guid) Restore a projectScope relationship, which is a link between the project content and the project.restoreRelatedTerm
(String serverName, String userId, String guid) Restore a related Term relationship.restoreReplacementTerm
(String serverName, String userId, String guid) Restore a replacement term relationship.restoreSynonym
(String serverName, String userId, String guid) Restore a synonym relationship.restoreTermCategorizationRelationship
(String serverName, String userId, String guid) Restore a TermCategorization Relationship.restoreTermHasARelationship
(String serverName, String userId, String guid) Restore a Term HAS A relationship.restoreTermTypedByRelationship
(String serverName, String userId, String guid) Restore a replacement term relationship.restoreTranslation
(String serverName, String userId, String guid) Restore a translation relationship.restoreUsedInContext
(String serverName, String userId, String guid) Restore a used in context relationship.restoreValidValue
(String serverName, String userId, String guid) Restore a valid value relationship.updateAntonymRelationship
(String serverName, String userId, String guid, Antonym antonym, boolean isReplace) Update a Antonym relationship which is a link between glossary terms that have the opposite meaningupdateCategoryHierarchyLink
(String serverName, String userId, String guid, CategoryHierarchyLink categoryHierarchyLink, Boolean isReplace) Update a CategoryHierarchyLink Relationship.updateIsARelationship
(String serverName, String userId, String guid, IsA iSARelationship, boolean isReplace) Update a Isa relationship, which is a link between a more general glossary term and a more specific definition.updateIsATypeOf
(String serverName, String userId, String guid, IsATypeOf IsATypeOf, boolean isReplace) Update a IsATypeOf relationship, which is an inheritance relationship between two spine objects.updateIsATypeOfDeprecated
(String serverName, String userId, String guid, IsATypeOfDeprecated IsATypeOfDeprecated, boolean isReplace) Deprecated.IsATypeOfRelationship it is deprecated; move your instances to use IsATypeOf instead.updatePreferredTermRelationship
(String serverName, String userId, String guid, PreferredTerm preferredTermRelationship, boolean isReplace) Update a PreferredTerm relationship, which is a link between glossary terms, it is a Link to an alternative term that the organization prefers is used.updateProjectScopeRelationship
(String serverName, String userId, String guid, ProjectScope projectScope, boolean isReplace) Update a ProjectScope relationship which is a link between the project content and the project.updateRelatedTerm
(String serverName, String userId, String guid, RelatedTerm relatedTermRelationship, boolean isReplace) Update a Related Term relationship.updateReplacementTerm
(String serverName, String userId, String guid, ReplacementTerm replacementTermRelationship, boolean isReplace) Update a ReplacementTerm relationship, which is a link to a glossary term that is replacing an obsolete glossary term.updateSynonymRelationship
(String serverName, String userId, String guid, Synonym synonym, boolean isReplace) Update a Synonym relationship which is a link between glossary terms that have the same meaningupdateTermCategorizationRelationship
(String serverName, String userId, String guid, Categorization termCategorizationRelationship, Boolean isReplace) Update a termCategorization Relationship.updateTermHasARelationship
(String serverName, String userId, String guid, HasA termHasARelationship, boolean isReplace) Update a Hasa is the relationship between a spine object and a spine attribute.updateTermTypedByRelationship
(String serverName, String userId, String guid, TypedBy termTypedByRelationship, boolean isReplace) Update a TypedBy relationship, which is a link between a spine attribute and its type.updateTranslationRelationship
(String serverName, String userId, String guid, Translation translationRelationship, boolean isReplace) Update a Translation relationship translation relationship, which is a link between glossary terms to provide different natural language translation of the same concept.updateUsedInContextRelationship
(String serverName, String userId, String guid, UsedInContext usedInContextRelationship, boolean isReplace) Update a UsedInContext relationship which is a link between glossary terms, where one describes the context where the other one is valid to use.updateValidValueRelationship
(String serverName, String userId, String guid, ValidValue validValueRelationship, boolean isReplace) Update a ValidValue relationship which is a link between glossary terms that have the same meaningMethods inherited from class org.odpi.openmetadata.accessservices.subjectarea.server.services.SubjectAreaRESTServicesInstance
createRelationship, deleteRelationship, getFindRequest, getRelationship, getResponseForException, restoreRelationship, updateRelationship
-
Constructor Details
-
SubjectAreaRelationshipRESTServices
public SubjectAreaRelationshipRESTServices()Default constructor
-
-
Method Details
-
createTermHasARelationship
public SubjectAreaOMASAPIResponse<HasA> createTermHasARelationship(String serverName, String userId, HasA termHasARelationship) Create a Hasa is the relationship between a spine object and a spine attribute. Note that this method does not error if the relationship ends are not spine objects or spine attributes. This allows the user to create terms then make them spine objects and spine attributes at a later stage.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedtermHasARelationship
- the HASA relationship- Returns:
- response, when successful contains the created Hasa
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised.
- FunctionNotSupportedException Function not supported.
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
-
getTermHasARelationship
public SubjectAreaOMASAPIResponse<HasA> getTermHasARelationship(String serverName, String userId, String guid) Get a Term HAS A relationship- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the HAS A relationship to get- Returns:
- response which when successful contains the term has a relationship with the requested guid
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
-
updateTermHasARelationship
public SubjectAreaOMASAPIResponse<HasA> updateTermHasARelationship(String serverName, String userId, String guid, HasA termHasARelationship, boolean isReplace) Update a Hasa is the relationship between a spine object and a spine attribute.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedguid
- unique identifier of the relationshiptermHasARelationship
- the HASA relationshipisReplace
- flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.- Returns:
- response, when successful contains the updated Hasa
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function not supported.
-
deleteTermHasARelationship
public SubjectAreaOMASAPIResponse<HasA> deleteTermHasARelationship(String serverName, String userId, String guid) Delete a Term HAS A relationship- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the HAS A relationship to delete- Returns:
- response for a soft delete, the response contains the deleted relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
restoreTermHasARelationship
public SubjectAreaOMASAPIResponse<HasA> restoreTermHasARelationship(String serverName, String userId, String guid) Restore a Term HAS A relationship.Restore allows the deleted relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the relationship to restore- Returns:
- response which when successful contains the restored relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
createRelatedTerm
public SubjectAreaOMASAPIResponse<RelatedTerm> createRelatedTerm(String serverName, String userId, RelatedTerm relatedTermRelationship) Create a RelatedTerm. A Related Term is a link between two similar Terms.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedrelatedTermRelationship
- the RelatedTerm relationship- Returns:
- response, when successful contains the restored Related Term relationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function not supported.
-
getRelatedTerm
public SubjectAreaOMASAPIResponse<RelatedTerm> getRelatedTerm(String serverName, String userId, String guid) Get a related Term relationship.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the related term relationship to get- Returns:
- response which when successful contains the related term relationship with the requested guid
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
-
updateRelatedTerm
public SubjectAreaOMASAPIResponse<RelatedTerm> updateRelatedTerm(String serverName, String userId, String guid, RelatedTerm relatedTermRelationship, boolean isReplace) Update a Related Term relationship. A Related Term is a link between two similar Terms.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedguid
- unique identifier of the relationshiprelatedTermRelationship
- the related term relationshipisReplace
- flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.- Returns:
- response, when successful contains the updated RelatedTerm
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function not supported.
-
deleteRelatedTerm
public SubjectAreaOMASAPIResponse<RelatedTerm> deleteRelatedTerm(String serverName, String userId, String guid) Delete a Related Term relationship- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the Related term relationship to delete- Returns:
- response for a soft delete the response contains the deleted relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
restoreRelatedTerm
public SubjectAreaOMASAPIResponse<RelatedTerm> restoreRelatedTerm(String serverName, String userId, String guid) Restore a related Term relationship.Restore allows the deleted relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the relationship to restore- Returns:
- response which when successful contains the restored relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
createSynonym
public SubjectAreaOMASAPIResponse<Synonym> createSynonym(String serverName, String userId, Synonym synonym) Create a synonym relationship, which is a link between glossary terms that have the same meaning.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedsynonym
- the Synonym relationship- Returns:
- response, when successful contains the created synonym relationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function is not supported.
-
getSynonymRelationship
public SubjectAreaOMASAPIResponse<Synonym> getSynonymRelationship(String serverName, String userId, String guid) Get a synonym relationship, which is a link between glossary terms that have the same meaning.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the termCategorization relationship to get- Returns:
- response which when successful contains the termCategorization relationship with the requested guid
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
-
updateSynonymRelationship
public SubjectAreaOMASAPIResponse<Synonym> updateSynonymRelationship(String serverName, String userId, String guid, Synonym synonym, boolean isReplace) Update a Synonym relationship which is a link between glossary terms that have the same meaning- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedguid
- unique identifier of the relationshipsynonym
- the Synonym relationshipisReplace
- flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.- Returns:
- response, when successful contains the updated SynonymRelationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- FunctionNotSupportedException Function is not supported.
- StatusNotSupportedException A status value is not supported.
-
deleteSynonymRelationship
public SubjectAreaOMASAPIResponse<Synonym> deleteSynonymRelationship(String serverName, String userId, String guid) Delete a Synonym relationship- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the Synonym relationship to delete- Returns:
- response for a soft delete the response contains the deleted relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function is not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
restoreSynonym
public SubjectAreaOMASAPIResponse<Synonym> restoreSynonym(String serverName, String userId, String guid) Restore a synonym relationship.Restore allows the deleted relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the relationship to restore- Returns:
- response which when successful contains the restored relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function is not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
createAntonym
public SubjectAreaOMASAPIResponse<Antonym> createAntonym(String serverName, String userId, Antonym antonym) Create an antonym relationship, which is a link between glossary terms that have the opposite meaning.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedantonym
- the Antonym relationship- Returns:
- response, when successful contains the created antonym relationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function is not supported.
-
getAntonymRelationship
public SubjectAreaOMASAPIResponse<Antonym> getAntonymRelationship(String serverName, String userId, String guid) Get a antonym relationship- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the related term relationship to get- Returns:
- response which when successful contains the antonym relationship with the requested guid
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
-
updateAntonymRelationship
public SubjectAreaOMASAPIResponse<Antonym> updateAntonymRelationship(String serverName, String userId, String guid, Antonym antonym, boolean isReplace) Update a Antonym relationship which is a link between glossary terms that have the opposite meaning- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedguid
- unique identifier of the relationshipantonym
- the Antonym relationshipisReplace
- flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.- Returns:
- response, when successful contains the updated AntonymRelationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function is not supported.
-
deleteAntonymRelationship
public SubjectAreaOMASAPIResponse<Antonym> deleteAntonymRelationship(String serverName, String userId, String guid) Delete a Antonym relationship- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the Antonym relationship to delete- Returns:
- response for a soft delete the response contains the deleted relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function is not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
restoreAntonym
public SubjectAreaOMASAPIResponse<Antonym> restoreAntonym(String serverName, String userId, String guid) Restore an antonym relationship.Restore allows the deleted relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the relationship to restore- Returns:
- response which when successful contains the restored relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function not supported this indicates that a soft delete was issued but the repository does not support it.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
- FunctionNotSupportedException Function is not supported.
-
createTranslation
public SubjectAreaOMASAPIResponse<Translation> createTranslation(String serverName, String userId, Translation translationRelationship) Create a translationRelationship relationship, which is a link between glossary terms to provide different natural language translationRelationship of the same concept.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedtranslationRelationship
- the Translation relationship- Returns:
- response, when successful contains the created translationRelationship relationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function is not supported.
-
getTranslationRelationship
public SubjectAreaOMASAPIResponse<Translation> getTranslationRelationship(String serverName, String userId, String guid) Get a translation relationshiptranslation relationship, which is a link between glossary terms to provide different natural language translation of the same concept.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the translation relationship to get- Returns:
- response which when successful contains the translation relationship with the requested guid
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
-
updateTranslationRelationship
public SubjectAreaOMASAPIResponse<Translation> updateTranslationRelationship(String serverName, String userId, String guid, Translation translationRelationship, boolean isReplace) Update a Translation relationship translation relationship, which is a link between glossary terms to provide different natural language translation of the same concept.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedguid
- unique identifier of the relationshiptranslationRelationship
- the Translation relationshipisReplace
- flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.- Returns:
- response, when successful contains the updated TranslationRelationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function is not supported.
-
deleteTranslationRelationship
public SubjectAreaOMASAPIResponse<Translation> deleteTranslationRelationship(String serverName, String userId, String guid) Delete a Translation relationship, which is a link between glossary terms to provide different natural language translation of the same concept.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the Translation relationship to delete- Returns:
- response for a soft delete the response contains the deleted relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function is not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
restoreTranslation
public SubjectAreaOMASAPIResponse<Translation> restoreTranslation(String serverName, String userId, String guid) Restore a translation relationship.Restore allows the deleted relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the relationship to restore- Returns:
- response which when successful contains the restored relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
createUsedInContext
public SubjectAreaOMASAPIResponse<UsedInContext> createUsedInContext(String serverName, String userId, UsedInContext usedInContextRelationship) Create a usedInContextRelationship relationship, which is a link between glossary terms, where one describes the context where the other one is valid to use.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedusedInContextRelationship
- the UsedInContext relationship- Returns:
- response, when successful contains the created usedInContextRelationship relationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function is not supported.
-
getUsedInContextRelationship
public SubjectAreaOMASAPIResponse<UsedInContext> getUsedInContextRelationship(String serverName, String userId, String guid) Get a usedInContext relationship, which is a link between glossary terms, where one describes the context where the other one is valid to use.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the usedInContext relationship to get- Returns:
- response which when successful contains the usedInContext relationship with the requested guid
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
-
updateUsedInContextRelationship
public SubjectAreaOMASAPIResponse<UsedInContext> updateUsedInContextRelationship(String serverName, String userId, String guid, UsedInContext usedInContextRelationship, boolean isReplace) Update a UsedInContext relationship which is a link between glossary terms, where one describes the context where the other one is valid to use.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedguid
- unique identifier of the relationshipusedInContextRelationship
- the UsedInContext relationshipisReplace
- flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.- Returns:
- response, when successful contains the updated UsedInContextRelationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
-
deleteUsedInContextRelationship
public SubjectAreaOMASAPIResponse<UsedInContext> deleteUsedInContextRelationship(String serverName, String userId, String guid) Delete a UsedInContext relationship which is a link between glossary terms, where one describes the context where the other one is valid to use.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the UsedInContext relationship to delete- Returns:
- response for a soft delete the response contains the deleted relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
restoreUsedInContext
public SubjectAreaOMASAPIResponse<UsedInContext> restoreUsedInContext(String serverName, String userId, String guid) Restore a used in context relationship.Restore allows the deleted relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the relationship to restore- Returns:
- response which when successful contains the restored relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
createPreferredTerm
public SubjectAreaOMASAPIResponse<PreferredTerm> createPreferredTerm(String serverName, String userId, PreferredTerm preferredTermRelationship) Create a preferredTermRelationship relationship, which is a link between glossary terms, it is a Link to an alternative term that the organization prefers is used.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedpreferredTermRelationship
- the preferred Term relationship- Returns:
- response, when successful contains the created preferredTermRelationship relationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function not supported.
-
getPreferredTermRelationship
public SubjectAreaOMASAPIResponse<PreferredTerm> getPreferredTermRelationship(String serverName, String userId, String guid) Get a preferredTerm relationship, which is a link between glossary terms, it is a Link to an alternative term that the organization prefers is used.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the preferredTerm relationship to get- Returns:
- response which when successful contains the preferredTerm relationship with the requested guid
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
-
updatePreferredTermRelationship
public SubjectAreaOMASAPIResponse<PreferredTerm> updatePreferredTermRelationship(String serverName, String userId, String guid, PreferredTerm preferredTermRelationship, boolean isReplace) Update a PreferredTerm relationship, which is a link between glossary terms, it is a Link to an alternative term that the organization prefers is used.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedguid
- unique identifier of the relationshippreferredTermRelationship
- the PreferredTerm relationshipisReplace
- flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.- Returns:
- response, when successful contains the updated PreferredTermRelationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- FunctionNotSupportedException Function not supported
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function not supported.
-
deletePreferredTermRelationship
public SubjectAreaOMASAPIResponse<PreferredTerm> deletePreferredTermRelationship(String serverName, String userId, String guid) Delete a PreferredTerm relationship, which is a link between glossary terms, it is a Link to an alternative term that the organization prefers is used.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the PreferredTerm relationship to delete- Returns:
- response for a soft delete the response contains the deleted relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
restorePreferredTerm
public SubjectAreaOMASAPIResponse<PreferredTerm> restorePreferredTerm(String serverName, String userId, String guid) Restore a preferred term relationship.Restore allows the deleted relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the relationship to restore- Returns:
- response which when successful contains the restored relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
createValidValue
public SubjectAreaOMASAPIResponse<ValidValue> createValidValue(String serverName, String userId, ValidValue validValueRelationship) Create a validValueRelationship relationship, which is a link between glossary terms that have the same meaning.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedvalidValueRelationship
- the ValidValue relationship- Returns:
- response, when successful contains the created validValueRelationship relationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function not supported.
-
getValidValueRelationship
public SubjectAreaOMASAPIResponse<ValidValue> getValidValueRelationship(String serverName, String userId, String guid) Get a validValue relationship, which is a link between glossary terms that have the same meaning.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the validValue relationship to get- Returns:
- response which when successful contains the validValue relationship with the requested guid
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
-
updateValidValueRelationship
public SubjectAreaOMASAPIResponse<ValidValue> updateValidValueRelationship(String serverName, String userId, String guid, ValidValue validValueRelationship, boolean isReplace) Update a ValidValue relationship which is a link between glossary terms that have the same meaning- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedguid
- unique identifier of the relationshipvalidValueRelationship
- the ValidValue relationshipisReplace
- flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.- Returns:
- response, when successful contains the updated ValidValueRelationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function not supported.
-
deleteValidValueRelationship
public SubjectAreaOMASAPIResponse<ValidValue> deleteValidValueRelationship(String serverName, String userId, String guid) Delete a ValidValue relationship- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the ValidValue relationship to delete- Returns:
- response for a soft delete the response contains the deleted relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
restoreValidValue
public SubjectAreaOMASAPIResponse<ValidValue> restoreValidValue(String serverName, String userId, String guid) Restore a valid value relationship.Restore allows the deleted relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the relationship to restore- Returns:
- response which when successful contains the restored relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
createReplacementTerm
public SubjectAreaOMASAPIResponse<ReplacementTerm> createReplacementTerm(String serverName, String userId, ReplacementTerm replacementTermRelationship) Create a replacementTermRelationship relationship, which is a link to a glossary term that is replacing an obsolete glossary term.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedreplacementTermRelationship
- the ReplacementTerm relationship- Returns:
- response, when successful contains the created replacementTermRelationship relationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function not supported.
-
getReplacementTerm
public SubjectAreaOMASAPIResponse<ReplacementTerm> getReplacementTerm(String serverName, String userId, String guid) Get a replacementTerm relationship, which is a link to a glossary term that is replacing an obsolete glossary term.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the replacementTerm relationship to get- Returns:
- response which when successful contains the replacementTerm relationship with the requested guid
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
-
updateReplacementTerm
public SubjectAreaOMASAPIResponse<ReplacementTerm> updateReplacementTerm(String serverName, String userId, String guid, ReplacementTerm replacementTermRelationship, boolean isReplace) Update a ReplacementTerm relationship, which is a link to a glossary term that is replacing an obsolete glossary term.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedguid
- unique identifier of the relationshipreplacementTermRelationship
- the ReplacementTerm relationshipisReplace
- flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.- Returns:
- response, when successful contains the updated ReplacementRelationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function not supported.
-
deleteReplacementTerm
public SubjectAreaOMASAPIResponse<ReplacementTerm> deleteReplacementTerm(String serverName, String userId, String guid) Delete a ReplacementTerm relationship, which is a link to a glossary term that is replacing an obsolete glossary term.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the ReplacementTerm relationship to delete- Returns:
- response for a soft delete the response contains the deleted relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
restoreReplacementTerm
public SubjectAreaOMASAPIResponse<ReplacementTerm> restoreReplacementTerm(String serverName, String userId, String guid) Restore a replacement term relationship.Restore allows the deleted relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the relationship to restore- Returns:
- response which when successful contains the restored relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function not supported this indicates that a soft delete was issued but the repository does not support it.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
- FunctionNotSupportedException Function not supported.
-
createTermTypedByRelationship
public SubjectAreaOMASAPIResponse<TypedBy> createTermTypedByRelationship(String serverName, String userId, TypedBy termTypedByRelationship) Create a termTypedByRelationship relationship, which is a link between a spine attribute and its type.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedtermTypedByRelationship
- the TypedBy relationship- Returns:
- response, when successful contains the created termTypedByRelationship relationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
-
getTermTypedByRelationship
public SubjectAreaOMASAPIResponse<TypedBy> getTermTypedByRelationship(String serverName, String userId, String guid) Get a termTypedByRelationship relationship, which is a link between a spine attribute and its type.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the termTypedByRelationship relationship to get- Returns:
- response which when successful contains the termTypedByRelationship relationship with the requested guid
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
-
updateTermTypedByRelationship
public SubjectAreaOMASAPIResponse<TypedBy> updateTermTypedByRelationship(String serverName, String userId, String guid, TypedBy termTypedByRelationship, boolean isReplace) Update a TypedBy relationship, which is a link between a spine attribute and its type.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedguid
- unique identifier of the relationshiptermTypedByRelationship
- the TypedBy relationshipisReplace
- flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.- Returns:
- response, when successful contains the updated TypedBy
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function not supported.
-
deleteTermTypedByRelationship
public SubjectAreaOMASAPIResponse<TypedBy> deleteTermTypedByRelationship(String serverName, String userId, String guid) Delete a TypedBy relationship, which is a link between a spine attribute and its type.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the TypedBy relationship to delete- Returns:
- response for a soft delete the response contains the deleted relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
restoreTermTypedByRelationship
public SubjectAreaOMASAPIResponse<TypedBy> restoreTermTypedByRelationship(String serverName, String userId, String guid) Restore a replacement term relationship.Restore allows the deleted relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the relationship to restore- Returns:
- response which when successful contains the restored relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
createIsARelationship
public SubjectAreaOMASAPIResponse<IsA> createIsARelationship(String serverName, String userId, IsA iSARelationship) Create a iSARelationship relationship, which is a link between a more general glossary term and a more specific definition.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performediSARelationship
- the Isa relationship- Returns:
- response, when successful contains the created iSARelationship relationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function not supported.
-
getIsARelationship
public SubjectAreaOMASAPIResponse<IsA> getIsARelationship(String serverName, String userId, String guid) Get a iSARelationship relationship, which is a link between a more general glossary term and a more specific definition.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the iSARelationship relationship to get- Returns:
- response which when successful contains the iSARelationship relationship with the requested guid
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
-
updateIsARelationship
public SubjectAreaOMASAPIResponse<IsA> updateIsARelationship(String serverName, String userId, String guid, IsA iSARelationship, boolean isReplace) Update a Isa relationship, which is a link between a more general glossary term and a more specific definition.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedguid
- unique identifier of the relationshipiSARelationship
- the Isa relationshipisReplace
- flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.- Returns:
- response, when successful contains the updated Isa
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function not supported.
-
deleteIsARelationship
public SubjectAreaOMASAPIResponse<IsA> deleteIsARelationship(String serverName, String userId, String guid) Delete a Isa relationship, which is a link between a more general glossary term and a more specific definition.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the Isa relationship to delete- Returns:
- response for a soft delete the response contains the deleted relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
restoreIsARelationship
public SubjectAreaOMASAPIResponse<IsA> restoreIsARelationship(String serverName, String userId, String guid) Restore a is a relationship.Restore allows the deleted relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the relationship to restore- Returns:
- response which when successful contains the restored relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
createIsATypeOfDeprecated
@Deprecated public SubjectAreaOMASAPIResponse<IsATypeOfDeprecated> createIsATypeOfDeprecated(String serverName, String userId, IsATypeOfDeprecated IsATypeOfDeprecated) Deprecated.IsATypeOfDeprecated is deprecated; move your instances to use IsATypeOf instead.Create a IsATypeOfDeprecated relationship, which is an inheritance relationship between two spine objects.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedIsATypeOfDeprecated
- the IsaTypeOf relationship- Returns:
- response, when successful contains the created IsATypeOfDeprecated relationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function not supported.
-
getIsATypeOfDeprecated
@Deprecated public SubjectAreaOMASAPIResponse<IsATypeOfDeprecated> getIsATypeOfDeprecated(String serverName, String userId, String guid) Deprecated.IsATypeOfRelationship it is deprecated; move your instances to use IsATypeOf instead.Get a IsATypeOfDeprecated relationship, which is an inheritance relationship between two spine objects.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the IsATypeOfDeprecated relationship to get- Returns:
- response which when successful contains the IsATypeOfDeprecated relationship with the requested guid
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
-
updateIsATypeOfDeprecated
@Deprecated public SubjectAreaOMASAPIResponse<IsATypeOfDeprecated> updateIsATypeOfDeprecated(String serverName, String userId, String guid, IsATypeOfDeprecated IsATypeOfDeprecated, boolean isReplace) Deprecated.IsATypeOfRelationship it is deprecated; move your instances to use IsATypeOf instead.Update a IsaTypeOf relationship, which is an inheritance relationship between two spine objects.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedguid
- unique identifier of the relationshipIsATypeOfDeprecated
- the IsaTypeOf relationshipisReplace
- flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.- Returns:
- response, when successful contains the updated IsaTypeOf
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function not supported.
-
deleteIsATypeOfDeprecatedRelationship
@Deprecated public SubjectAreaOMASAPIResponse<IsATypeOfDeprecated> deleteIsATypeOfDeprecatedRelationship(String serverName, String userId, String guid) Deprecated.IsATypeOfRelationship it is deprecated; move your instances to use IsATypeOf instead.Delete a IsaTypeOf relationship, which is an inheritance relationship between two spine objects.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the IsaTypeOf relationship to delete- Returns:
- response for a soft delete the response contains the deleted relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- this indicates that a soft delete was issued but the repository does not support it.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
restoreIsATypeOfDeprecated
@Deprecated public SubjectAreaOMASAPIResponse<IsATypeOfDeprecated> restoreIsATypeOfDeprecated(String serverName, String userId, String guid) Deprecated.IsATypeOfRelationship it is deprecated; move your instances to use IsATypeOf instead.Restore a is IsaTypeOf relationship.Restore allows the deleted relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the relationship to restore- Returns:
- response which when successful contains the restored relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
createIsATypeOf
public SubjectAreaOMASAPIResponse<IsATypeOf> createIsATypeOf(String serverName, String userId, IsATypeOf IsATypeOf) Create a is a type of relationship, which is an inheritance relationship between two spine objects.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedIsATypeOf
- the is a type of relationship- Returns:
- response, when successful contains the created IsATypeOf Relationship relationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function not supported.
-
getIsATypeOf
public SubjectAreaOMASAPIResponse<IsATypeOf> getIsATypeOf(String serverName, String userId, String guid) Get a is a type of relationship, which is an inheritance relationship between two spine objects.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the IsATypeOf relationship to get- Returns:
- response which when successful contains the IsATypeOf relationship with the requested guid
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
-
updateIsATypeOf
public SubjectAreaOMASAPIResponse<IsATypeOf> updateIsATypeOf(String serverName, String userId, String guid, IsATypeOf IsATypeOf, boolean isReplace) Update a IsATypeOf relationship, which is an inheritance relationship between two spine objects.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedguid
- unique identifier of the relationshipIsATypeOf
- the IsATypeOf relationshipisReplace
- flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.- Returns:
- response, when successful contains the updated IsaTypeOf
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function not supported.
-
deleteIIsATypeOf
public SubjectAreaOMASAPIResponse<IsATypeOf> deleteIIsATypeOf(String serverName, String userId, String guid) Delete a IsATypeOf relationship, which is an inheritance relationship between two spine objects.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the IsATypeOf relationship to delete- Returns:
- response for a soft delete the response contains the deleted relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- this indicates that a soft delete was issued but the repository does not support it.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
restoreIsATypeOf
public SubjectAreaOMASAPIResponse<IsATypeOf> restoreIsATypeOf(String serverName, String userId, String guid) Restore a is IsATypeOf relationship.Restore allows the deleted relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the relationship to restore- Returns:
- response which when successful contains the restored relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
createTermCategorizationRelationship
public SubjectAreaOMASAPIResponse<Categorization> createTermCategorizationRelationship(String serverName, String userId, Categorization termCategorizationRelationship) Create a termCategorization Relationship. A relationship between a Category and a Term. This relationship allows terms to be categorized.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedtermCategorizationRelationship
- the TermCategorizationRelationship relationship- Returns:
- response, when successful contains the created termCategorizationRelationship relationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function not supported.
-
getTermCategorizationRelationship
public SubjectAreaOMASAPIResponse<Categorization> getTermCategorizationRelationship(String serverName, String userId, String guid) Get a termCategorization Relationship. A relationship between a Category and a Term. This relationship allows terms to be categorized.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the termCategorizationRelationship relationship to get- Returns:
- response which when successful contains the termCategorizationRelationship relationship with the requested guid
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
-
updateTermCategorizationRelationship
public SubjectAreaOMASAPIResponse<Categorization> updateTermCategorizationRelationship(String serverName, String userId, String guid, Categorization termCategorizationRelationship, Boolean isReplace) Update a termCategorization Relationship. A relationship between a Category and a Term. This relationship allows terms to be categorized.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedguid
- unique identifier of the relationshiptermCategorizationRelationship
- the termCategorization relationshipisReplace
- flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.- Returns:
- response, when successful contains the updated Isa
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function not supported.
-
deleteTermCategorizationRelationship
public SubjectAreaOMASAPIResponse<Categorization> deleteTermCategorizationRelationship(String serverName, String userId, String guid) Delete a TermCategorization Relationship. A relationship between a Category and a Term. This relationship allows terms to be categorized.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the TermCategorizationRelationship relationship to delete- Returns:
- response for a soft delete the response contains the deleted relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
restoreTermCategorizationRelationship
public SubjectAreaOMASAPIResponse<Categorization> restoreTermCategorizationRelationship(String serverName, String userId, String guid) Restore a TermCategorization Relationship. A relationship between a Category and a Term. This relationship allows terms to be categorized.Restore allows the deleted TermCategorization Relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the TermCategorization Relationship to delete- Returns:
- response which when successful contains the restored TermCategorization
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function not supported this indicates that a soft delete was issued but the repository does not support it.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
-
getTermAnchorRelationship
public SubjectAreaOMASAPIResponse<TermAnchor> getTermAnchorRelationship(String serverName, String userId, String guid) Get a termAnchor Relationship. A relationship between a Glossary and a Term. This relationship allows terms to be owned by a Glossary.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the termAnchor Relationship to get- Returns:
- response which when successful contains the termAnchorRelationship relationship with the requested guid
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
-
getCategoryAnchorRelationship
public SubjectAreaOMASAPIResponse<CategoryAnchor> getCategoryAnchorRelationship(String serverName, String userId, String guid) Get a categoryAnchor Relationship. A relationship between a Glossary and a Category. This relationship allows terms to be owned by a Glossary.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the categoryAnchor Relationship to get- Returns:
- response which when successful contains the categoryAnchorRelationship relationship with the requested guid
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
-
createProjectScopeRelationship
public SubjectAreaOMASAPIResponse<ProjectScope> createProjectScopeRelationship(String serverName, String userId, ProjectScope projectScope) Create a projectScope relationship, which is a link between the project content and the project.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedprojectScope
- the Synonym relationship- Returns:
- response, restored projectScope relationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- StatusNotSupportedException A status value is not supported.
- FunctionNotSupportedException Function is not supported.
-
getProjectScopeRelationship
public SubjectAreaOMASAPIResponse<ProjectScope> getProjectScopeRelationship(String serverName, String userId, String guid) Get a projectScope relationship, which is a link between the project content and the project.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the termCategorization relationship to get- Returns:
- response which when successful contains the termCategorization relationship with the requested guid
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
-
updateProjectScopeRelationship
public SubjectAreaOMASAPIResponse<ProjectScope> updateProjectScopeRelationship(String serverName, String userId, String guid, ProjectScope projectScope, boolean isReplace) Update a ProjectScope relationship which is a link between the project content and the project.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedguid
- unique identifier of the relationshipprojectScope
- the ProjectScope relationshipisReplace
- flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.- Returns:
- response, when successful contains the updated ProjectScopeRelationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
- ClassificationException Error processing a classification.
- FunctionNotSupportedException Function is not supported.
- StatusNotSupportedException A status value is not supported.
-
deleteProjectScopeRelationship
public SubjectAreaOMASAPIResponse<ProjectScope> deleteProjectScopeRelationship(String serverName, String userId, String guid) Delete a ProjectScope relationship, which is a link between the project content and the project.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the ProjectScope relationship to delete- Returns:
- response for a soft delete the response contains the deleted relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function is not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
restoreProjectScopeRelationship
public SubjectAreaOMASAPIResponse<ProjectScope> restoreProjectScopeRelationship(String serverName, String userId, String guid) Restore a projectScope relationship, which is a link between the project content and the project.Restore allows the deleted relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the relationship to restore- Returns:
- response which when successful contains the restored relationship
when not successful the following Exception responses can occur
- UnrecognizedGUIDException the supplied guid was not recognised
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- FunctionNotSupportedException Function is not supported.
- InvalidParameterException one of the parameters is null or invalid.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.
- EntityNotDeletedException a soft delete was issued but the relationship was not deleted.
-
createCategoryHierarchyLink
public SubjectAreaOMASAPIResponse<CategoryHierarchyLink> createCategoryHierarchyLink(String serverName, String userId, CategoryHierarchyLink categoryHierarchyLink) Create a CategoryHierarchyLink Relationship. A relationship between two categories used to create nested categories.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedcategoryHierarchyLink
- the CategoryHierarchyLink relationship- Returns:
- response, when successful contains the created categoryHierarchyLink relationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- InvalidParameterException one of the parameters is null or invalid.
- PropertyServerException Property server exception.
-
getCategoryHierarchyLink
public SubjectAreaOMASAPIResponse<CategoryHierarchyLink> getCategoryHierarchyLink(String serverName, String userId, String guid) Get a CategoryHierarchyLink Relationship. A relationship between two categories used to create nested categories.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the CategoryHierarchyLink Relationship to get- Returns:
- response which when successful contains the CategoryHierarchyLink relationship with the requested guid
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- InvalidParameterException one of the parameters is null or invalid.
- PropertyServerException Property server exception.
-
updateCategoryHierarchyLink
public SubjectAreaOMASAPIResponse<CategoryHierarchyLink> updateCategoryHierarchyLink(String serverName, String userId, String guid, CategoryHierarchyLink categoryHierarchyLink, Boolean isReplace) Update a CategoryHierarchyLink Relationship. A relationship between two categories used to create nested categories.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- userId under which the request is performedguid
- guid of the CategoryHierarchyLink relationshipcategoryHierarchyLink
- the CategoryHierarchyLink relationshipisReplace
- flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.- Returns:
- response, when successful contains the updated categoryHierarchyLink
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- InvalidParameterException one of the parameters is null or invalid.
- PropertyServerException Property server exception.
-
deleteCategoryHierarchyLink
public SubjectAreaOMASAPIResponse<CategoryHierarchyLink> deleteCategoryHierarchyLink(String serverName, String userId, String guid) Delete a CategoryHierarchyLink Relationship. A relationship between two categories used to create nested categories.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the CategoryHierarchyLink relationship to delete- Returns:
- response for a soft delete the response contains the deleted relationship
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- InvalidParameterException one of the parameters is null or invalid.
- PropertyServerException Property server exception.
-
restoreCategoryHierarchyLink
public SubjectAreaOMASAPIResponse<CategoryHierarchyLink> restoreCategoryHierarchyLink(String serverName, String userId, String guid) Restore a CategoryHierarchyLink Relationship. A relationship between two categories used to create nested categories.Restore allows the deleted CategoryHierarchyLink Relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the CategoryHierarchyLink Relationship to delete- Returns:
- response which when successful contains the restored CategoryHierarchyLink
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- InvalidParameterException one of the parameters is null or invalid.
- PropertyServerException Property server exception.
-
getSemanticAssignmentRelationship
public SubjectAreaOMASAPIResponse<SemanticAssignment> getSemanticAssignmentRelationship(String serverName, String userId, String guid) Get a SemanticAssignment relationship, Links a glossary term to another element such as an asset or schema element to define its meaning.- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performedguid
- guid of the SemanticAssignment relationship to get- Returns:
- response which when successful contains the SemanticAssignment relationship with the requested guid
when not successful the following Exception responses can occur
- UserNotAuthorizedException the requesting user is not authorized to issue this request.
- MetadataServerUncontactableException not able to communicate with a Metadata respository service.
- InvalidParameterException one of the parameters is null or invalid.
- UnrecognizedGUIDException the supplied guid was not recognised
-