public class SubjectAreaRelationshipImpl extends SubjectAreaBaseImpl implements SubjectAreaRelationship
omasServerURL, serverName| Constructor and Description |
|---|
SubjectAreaRelationshipImpl(String omasServerURL,
String serverName)
Default Constructor used once a connector is created.
|
| Modifier and Type | Method and Description |
|---|---|
Antonym |
createAntonymRelationship(String userId,
Antonym antonym)
Create a antonym relationship.
|
CategoryAnchor |
createCategoryAnchorRelationship(String userId,
CategoryAnchor termCategorizationRelationship)
Create a Category Anchor Relationship.
|
Isa |
createIsaRelationship(String userId,
Isa isa)
Create a Isa relationship, which is link between a more general glossary term and a more specific definition.
|
PreferredTerm |
createPreferredTermRelationship(String userId,
PreferredTerm preferredTerm)
Create a PreferredTerm relationship, which is link to an alternative term that the organization prefer is used.
|
ProjectScope |
createProjectScopeRelationship(String userId,
ProjectScope projectScope)
Create a ProjectScope relationship.
|
RelatedTerm |
createRelatedTerm(String userId,
RelatedTerm relatedTermRelationship)
Create a RelatedTerm.
|
ReplacementTerm |
createReplacementTermRelationship(String userId,
ReplacementTerm replacementTerm)
Create a ReplacementTerm relationship, which is link to a glossary term that is replacing an obsolete glossary term.
|
Synonym |
createSynonymRelationship(String userId,
Synonym synonym)
Create a synonym relationship.
|
TermAnchor |
createTermAnchorRelationship(String userId,
TermAnchor termCategorizationRelationship)
Create a Term Anchor Relationship.
|
Categorization |
createTermCategorizationRelationship(String userId,
Categorization termCategorizationRelationship)
Create a Term Categorization Relationship.
|
Hasa |
createTermHASARelationship(String userId,
Hasa termHASARelationship)
Create a Term HASA Relationship.
|
IsaTypeOf |
createTermISATypeOFRelationship(String userId,
IsaTypeOf TermISATypeOFRelationship)
Create a IsaTypeOf relationship, which is defines an inheritance relationship between two spine objects.
|
TypedBy |
createTermTYPEDBYRelationship(String userId,
TypedBy termTYPEDBYRelationship)
Create a TypedBy relationship, which is defines the relationship between a spine attribute and its type.
|
Translation |
createTranslationRelationship(String userId,
Translation translation)
Create a Translation relationship, which is link between glossary terms that provide different natural language translation of the same concept.
|
UsedInContext |
createUsedInContextRelationship(String userId,
UsedInContext usedInContext)
Create a UsedInContext relationship, which is link between glossary terms where on describes the context where the other one is valid to use.
|
ValidValue |
createValidValueRelationship(String userId,
ValidValue validValue)
Create a ValidValue relationship, which is link between glossary terms where one defines one of the data values for the another.
|
Antonym |
deleteAntonymRelationship(String userId,
String guid)
Delete a antonym relationship.
|
CategoryAnchor |
deleteCategoryAnchorRelationship(String userId,
String guid)
Delete a Category Anchor Relationship.
|
Isa |
deleteIsaRelationship(String userId,
String guid)
Delete a isa relationship, which is link between a more general glossary term and a more specific definition.
|
PreferredTerm |
deletePreferredTermRelationship(String userId,
String guid)
Delete a preferredTerm relationship, which is link to an alternative term that the organization prefer is used.
|
ProjectScope |
deleteProjectScopeRelationship(String userId,
String guid)
Delete a ProjectScope relationship.
|
RelatedTerm |
deleteRelatedTerm(String userId,
String guid)
Delete a RelatedTerm.
|
ReplacementTerm |
deleteReplacementTermRelationship(String userId,
String guid)
Delete a replacementTerm relationship, which is link to a glossary term that is replacing an obsolete glossary term.
|
Synonym |
deleteSynonymRelationship(String userId,
String guid)
Delete a synonym relationship.
|
TermAnchor |
deleteTermAnchorRelationship(String userId,
String guid)
Delete a Term Anchor Relationship.
|
Categorization |
deleteTermCategorizationRelationship(String userId,
String guid)
Delete a Term Categorization Relationship.
|
Hasa |
deleteTermHASARelationship(String userId,
String guid)
Delete a Term HASA Relationship.
|
IsaTypeOf |
deleteTermISATypeOFRelationship(String userId,
String guid)
Delete a IsaTypeOf relationship, which is defines an inheritance relationship between two spine objects.
|
TypedBy |
deleteTermTYPEDBYRelationship(String userId,
String guid)
Delete a termTYPEDBYRelationship relationship, which is defines the relationship between a spine attribute and its type.
|
Translation |
deleteTranslationRelationship(String userId,
String guid)
Delete a translation relationship, which is link between glossary terms that provide different natural language translation of the same concept.
|
UsedInContext |
deleteUsedInContextRelationship(String userId,
String guid)
Delete a usedInContext relationship, which is link between glossary terms where on describes the context where the other one is valid to use.
|
ValidValue |
deleteValidValueRelationship(String userId,
String guid)
Delete a validValue relationship, which is link between glossary terms where one defines one of the data values for the another.
|
Antonym |
getAntonymRelationship(String userId,
String guid)
Get a antonym relationship.
|
CategoryAnchor |
getCategoryAnchorRelationship(String userId,
String guid)
Get a Category Anchor Relationship.
|
Isa |
getIsaRelationship(String userId,
String guid)
Get a isa relationship, which is link between a more general glossary term and a more specific definition.
|
PreferredTerm |
getPreferredTermRelationship(String userId,
String guid)
Get a preferredTerm relationship, which is link to an alternative term that the organization prefer is used.
|
ProjectScope |
getProjectScopeRelationship(String userId,
String guid)
Get a ProjectScope relationship.
|
RelatedTerm |
getRelatedTerm(String userId,
String guid)
Get a RelatedTerm.
|
ReplacementTerm |
getReplacementTermRelationship(String userId,
String guid)
Get a replacementTerm relationship, which is link to a glossary term that is replacing an obsolete glossary term.
|
SemanticAssignment |
getSemanticAssignmentRelationship(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.
|
Synonym |
getSynonymRelationship(String userId,
String guid)
Get a synonym relationship.
|
TermAnchor |
getTermAnchorRelationship(String userId,
String guid)
Get a Term Anchor Relationship.
|
Categorization |
getTermCategorizationRelationship(String userId,
String guid)
Get a Term Categorization Relationship.
|
Hasa |
getTermHASARelationship(String userId,
String guid)
Get a Term HASA Relationship.
|
IsaTypeOf |
getTermISATypeOFRelationship(String userId,
String guid)
Get a IsaTypeOf relationship, which is defines an inheritance relationship between two spine objects.
|
TypedBy |
getTermTYPEDBYRelationship(String userId,
String guid)
Get a termTYPEDBYRelationship relationship, which is defines the relationship between a spine attribute and its type.
|
Translation |
getTranslationRelationship(String userId,
String guid)
Get a translation relationship, which is link between glossary terms that provide different natural language translation of the same concept.
|
UsedInContext |
getUsedInContextRelationship(String userId,
String guid)
Get a usedInContext relationship, which is link between glossary terms where on describes the context where the other one is valid to use.
|
ValidValue |
getValidValueRelationship(String userId,
String guid)
Get a validValue relationship, which is link between glossary terms where one defines one of the data values for the another.
|
void |
purgeAntonymRelationship(String userId,
String guid)
Purge a antonym relationship.
|
void |
purgeCategoryAnchorRelationship(String userId,
String guid)
Purge a Category Anchor Relationship.
|
void |
purgeIsaRelationship(String userId,
String guid)
Purge a isa relationship, which is link between a more general glossary term and a more specific definition.
|
void |
purgePreferredTermRelationship(String userId,
String guid)
Purge a preferredTerm relationship, which is link to an alternative term that the organization prefer is used.
|
void |
purgeProjectScopeRelationship(String userId,
String guid)
Purge a ProjectScope relationship.
|
void |
purgeRelatedTerm(String userId,
String guid)
Purge a RelatedTerm.
|
void |
purgeReplacementTermRelationship(String userId,
String guid)
Purge a replacementTerm relationship, which is link to a glossary term that is replacing an obsolete glossary term.
|
void |
purgeSynonymRelationship(String userId,
String guid)
Purge a synonym relationship.
|
void |
purgeTermAnchorRelationship(String userId,
String guid)
Purge a Term Anchor Relationship.
|
void |
purgeTermCategorizationRelationship(String userId,
String guid)
Purge a Term Categorization Relationship.
|
void |
purgeTermHASARelationship(String userId,
String guid)
Purge a Term HASA Relationship.
|
void |
purgeTermISATypeOFRelationship(String userId,
String guid)
Purge a IsaTypeOf relationship, which is defines an inheritance relationship between two spine objects.
|
void |
purgeTermTYPEDBYRelationship(String userId,
String guid)
Purge a termTYPEDBYRelationship relationship, which is defines the relationship between a spine attribute and its type.
|
void |
purgeTranslationRelationship(String userId,
String guid)
Purge a translation relationship, which is link between glossary terms that provide different natural language translation of the same concept.
|
void |
purgeUsedInContextRelationship(String userId,
String guid)
Purge a usedInContext relationship, which is link between glossary terms where on describes the context where the other one is valid to use.
|
void |
purgeValidValueRelationship(String userId,
String guid)
Purge a validValue relationship, which is link between glossary terms where one defines one of the data values for the another.
|
Antonym |
replaceAntonymRelationship(String userId,
Antonym antonymRelationship)
Replace an Antonym relationship which is a link between glossary terms that have the opposite meaning
|
CategoryAnchor |
replaceCategoryAnchorRelationship(String userId,
CategoryAnchor termCategorizationRelationship)
Replace a Category Anchor Relationship.
|
Isa |
replaceIsaRelationship(String userId,
Isa isaRelationship)
Replace an Isa relationship, which is link between a more general glossary term and a more specific definition.
|
PreferredTerm |
replacePreferredTermRelationship(String userId,
PreferredTerm preferredTermRelationship)
Replace an PreferredTerm relationship, which is link to an alternative term that the organization prefer is used.
|
ProjectScope |
replaceProjectScopeRelationship(String userId,
ProjectScope projectScopeRelationship)
Replace a ProjectScope relationship which is a link between the project content and the project.
|
RelatedTerm |
replaceRelatedTerm(String userId,
RelatedTerm termRelatedTerm)
Replace an ReplacementTerm relationship, which is link to a glossary term that is replacing an obsolete glossary term.
|
ReplacementTerm |
replaceReplacementTermRelationship(String userId,
ReplacementTerm replacementTermRelationship)
Replace an ReplacementTerm relationship, which is link to a glossary term that is replacing an obsolete glossary term.
|
Synonym |
replaceSynonymRelationship(String userId,
Synonym synonymRelationship)
Replace a Synonym relationship which is a link between glossary terms that have the same meaning
|
TermAnchor |
replaceTermAnchorRelationship(String userId,
TermAnchor termCategorizationRelationship)
Replace a Term Anchor Relationship.
|
Categorization |
replaceTermCategorizationRelationship(String userId,
Categorization termCategorizationRelationship)
Replace a Term Categorization Relationship.
|
Hasa |
replaceTermHASARelationship(String userId,
Hasa termHASARelationship)
Replace a Term HASA Relationship.
|
IsaTypeOf |
replaceTermISATypeOFRelationship(String userId,
IsaTypeOf isATypeOf)
Replace an isATypeOf relationship, which is defines an inheritance relationship between two spine objects.
|
TypedBy |
replaceTermTYPEDBYRelationship(String userId,
TypedBy termTYPEDBYRelationship)
Replace an TypedBy relationship, which is defines the relationship between a spine attribute and its type.
|
Translation |
replaceTranslationRelationship(String userId,
Translation translationRelationship)
Replace an Translation relationship, which is link between glossary terms that provide different natural language translation of the same concept.
|
UsedInContext |
replaceUsedInContextRelationship(String userId,
UsedInContext usedInContextRelationship)
Replace an UsedInContext relationship, which is link between glossary terms where on describes the context where the other one is valid to use.
|
ValidValue |
replaceValidValueRelationship(String userId,
ValidValue validValueRelationship)
Replace an ValidValue relationship, which is link between glossary terms where one defines one of the data values for the another.
|
Antonym |
restoreAntonymRelationship(String userId,
String guid)
Restore a Antonym relationship
|
CategoryAnchor |
restoreCategoryAnchorRelationship(String userId,
String guid)
Restore a Category Anchor Relationship.
|
Isa |
restoreIsaRelationship(String userId,
String guid)
Restore an is a relationship
|
IsaTypeOf |
restoreIsaTypeOfRelationship(String userId,
String guid)
Restore an is a type of relationship
|
PreferredTerm |
restorePreferredTermRelationship(String userId,
String guid)
Restore a preferred term relationship
|
ProjectScope |
restoreProjectScopeRelationship(String userId,
String guid)
Restore a ProjectScope relationship which is a link between the project content and the project.
|
RelatedTerm |
restoreRelatedTerm(String userId,
String guid)
Restore a Related Term relationship
|
RelatedTerm |
restoreRelatedTermRelationship(String userId,
String guid)
Restore a related term relationship
|
ReplacementTerm |
restoreReplacementTermRelationship(String userId,
String guid)
Restore a replacement term relationship
|
Synonym |
restoreSynonymRelationship(String userId,
String guid)
Restore a Synonym relationship
|
TermAnchor |
restoreTermAnchorRelationship(String userId,
String guid)
Restore a Term Anchor Relationship.
|
Categorization |
restoreTermCategorizationRelationship(String userId,
String guid)
Restore a Term Categorization Relationship.
|
Hasa |
restoreTermHASARelationship(String userId,
String guid)
Restore a has a relationship
|
Translation |
restoreTranslationRelationship(String userId,
String guid)
Restore a Translation relationship
|
TypedBy |
restoreTypedByRelationship(String userId,
String guid)
Restore a typed by relationship
|
UsedInContext |
restoreUsedInContextRelationship(String userId,
String guid)
Restore a Used in context relationship
|
ValidValue |
restoreValidValueRelationship(String userId,
String guid)
Restore a valid value relationship
|
Antonym |
updateAntonymRelationship(String userId,
Antonym antonymRelationship)
Update a Antonym relationship which is a link between glossary terms that have the opposite meaning
|
CategoryAnchor |
updateCategoryAnchorRelationship(String userId,
CategoryAnchor termCategorizationRelationship)
Update a Category Anchor Relationship.
|
Isa |
updateIsaRelationship(String userId,
Isa isaRelationship)
Update a Isa relationship, which is link between a more general glossary term and a more specific definition.
|
PreferredTerm |
updatePreferredTermRelationship(String userId,
PreferredTerm preferredTermRelationship)
Update a PreferredTerm relationship, which is link to an alternative term that the organization prefer is used.
|
ProjectScope |
updateProjectScopeRelationship(String userId,
ProjectScope projectScopeRelationship)
Update a ProjectScope relationship which is a link between the project content and the project.
|
RelatedTerm |
updateRelatedTerm(String userId,
RelatedTerm termRelatedTerm)
Update a RelatedTerm Relationship.
|
ReplacementTerm |
updateReplacementTermRelationship(String userId,
ReplacementTerm replacementTermRelationship)
Update a ReplacementTerm relationship, which is link to a glossary term that is replacing an obsolete glossary term.
|
Synonym |
updateSynonymRelationship(String userId,
Synonym synonymRelationship)
Update a Synonym relationship which is a link between glossary terms that have the same meaning
|
Categorization |
updateTermCategorizationRelationship(String userId,
Categorization termCategorizationRelationship)
Update a Term Categorization Relationship.
|
Hasa |
updateTermHASARelationship(String userId,
Hasa termHASARelationship)
Update a Term HASA Relationship.
|
IsaTypeOf |
updateTermISATypeOFRelationship(String userId,
IsaTypeOf isATypeOf)
Update a isATypeOf relationship, which is defines an inheritance relationship between two spine objects.
|
TypedBy |
updateTermTYPEDBYRelationship(String userId,
TypedBy termTYPEDBYRelationship)
Update a TypedBy relationship, which is defines the relationship between a spine attribute and its type.
|
Translation |
updateTranslationRelationship(String userId,
Translation translationRelationship)
Update a Translation relationship, which is link between glossary terms that provide different natural language translation of the same concept.
|
UsedInContext |
updateUsedInContextRelationship(String userId,
UsedInContext usedInContextRelationship)
Update a UsedInContext relationship, which is link between glossary terms where on describes the context where the other one is valid to use.
|
ValidValue |
updateValidValueRelationship(String userId,
ValidValue validValueRelationship)
Update a ValidValue relationship, which is link between glossary terms where one defines one of the data values for the another.
|
encodeQueryProperty, getRelationshipspublic SubjectAreaRelationshipImpl(String omasServerURL, String serverName)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantomasServerURL - unique id for the connector instancepublic Hasa createTermHASARelationship(String userId, Hasa termHASARelationship) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
createTermHASARelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedtermHASARelationship - the HASA relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Hasa getTermHASARelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
getTermHASARelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Hasa relationship to getUserNotAuthorizedException - 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
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Hasa updateTermHASARelationship(String userId, Hasa termHASARelationship) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
updateTermHASARelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedtermHASARelationship - the HASA relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Hasa replaceTermHASARelationship(String userId, Hasa termHASARelationship) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
replaceTermHASARelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedtermHASARelationship - the HASA relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Hasa deleteTermHASARelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnrecognizedGUIDException, FunctionNotSupportedException, RelationshipNotDeletedException, UnexpectedResponseException
deleteTermHASARelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Hasa relationship to deleteExceptions returned by the server
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.RelationshipNotDeletedException - a soft delete was issued but the relationship was not deleted.UnrecognizedGUIDException - the supplied guid was not recognised
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic void purgeTermHASARelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, UnrecognizedGUIDException, MetadataServerUncontactableException, UnexpectedResponseException, RelationshipNotPurgedException
purgeTermHASARelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Hasa relationship to delete
when not successful the following Exception responses can occur
Exceptions returned by the serverUserNotAuthorizedException - the requesting user is not authorized to issue this request.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.RelationshipNotPurgedException - a hard delete was issued but the relationship was not purgedUnrecognizedGUIDException - the supplied guid was not recognised
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Hasa restoreTermHASARelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
Restore allows the deleted has a relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
restoreTermHASARelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the has a relationship to deleteUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic RelatedTerm createRelatedTerm(String userId, RelatedTerm relatedTermRelationship) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
createRelatedTerm in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedrelatedTermRelationship - the RelatedTerm relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic RelatedTerm getRelatedTerm(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
getRelatedTerm in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the RelatedTerm relationship to getUserNotAuthorizedException - 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
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic RelatedTerm updateRelatedTerm(String userId, RelatedTerm termRelatedTerm) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
updateRelatedTerm in interface SubjectAreaRelationshipuserId - userId under which the request is performedtermRelatedTerm - the RelatedTerm relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic RelatedTerm replaceRelatedTerm(String userId, RelatedTerm termRelatedTerm) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
replaceRelatedTerm in interface SubjectAreaRelationshipuserId - userId under which the request is performedtermRelatedTerm - the replacement related term relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic RelatedTerm restoreRelatedTerm(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
Restore allows the deleted related term relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
restoreRelatedTerm in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the related term relationship to restoreUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic RelatedTerm deleteRelatedTerm(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnrecognizedGUIDException, FunctionNotSupportedException, RelationshipNotDeletedException, UnexpectedResponseException
deleteRelatedTerm in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the RelatedTerm relationship to deleteExceptions returned by the server
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.RelationshipNotDeletedException - a soft delete was issued but the relationship was not deleted.UnrecognizedGUIDException - the supplied guid was not recognised
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic void purgeRelatedTerm(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, UnrecognizedGUIDException, MetadataServerUncontactableException, UnexpectedResponseException, RelationshipNotPurgedException
purgeRelatedTerm in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the RelatedTerm relationship to delete
when not successful the following Exception responses can occur
Exceptions returned by the serverUserNotAuthorizedException - the requesting user is not authorized to issue this request.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.RelationshipNotPurgedException - a hard delete was issued but the relationship was not purgedUnrecognizedGUIDException - the supplied guid was not recognised
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic RelatedTerm restoreRelatedTermRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
Restore allows the deleted related term relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
restoreRelatedTermRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the related term relationship to deleteUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Synonym createSynonymRelationship(String userId, Synonym synonym) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
createSynonymRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedsynonym - the Synonym relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Synonym getSynonymRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
getSynonymRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the RelatedTerm relationship to getUserNotAuthorizedException - 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
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Synonym updateSynonymRelationship(String userId, Synonym synonymRelationship) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
updateSynonymRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedsynonymRelationship - the Synonym relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Synonym replaceSynonymRelationship(String userId, Synonym synonymRelationship) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
replaceSynonymRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedsynonymRelationship - the Synonym relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Synonym deleteSynonymRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UnrecognizedGUIDException, UserNotAuthorizedException, FunctionNotSupportedException, RelationshipNotDeletedException, UnexpectedResponseException
deleteSynonymRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the RelatedTerm relationship to deleteExceptions returned by the server
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.RelationshipNotDeletedException - a soft delete was issued but the relationship was not deleted.UnrecognizedGUIDException - the supplied guid was not recognised
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic void purgeSynonymRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, UnrecognizedGUIDException, MetadataServerUncontactableException, UnexpectedResponseException, RelationshipNotPurgedException
purgeSynonymRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Synonym relationship to delete
when not successful the following Exception responses can occur
Exceptions returned by the serverUserNotAuthorizedException - the requesting user is not authorized to issue this request.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.RelationshipNotPurgedException - a hard delete was issued but the relationship was not purgedUnrecognizedGUIDException - the supplied guid was not recognised
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Synonym restoreSynonymRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
Restore allows the deleted Synonym relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
restoreSynonymRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Synonym relationship to restoreUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Antonym createAntonymRelationship(String userId, Antonym antonym) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
createAntonymRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedantonym - the Antonym relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Antonym getAntonymRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
getAntonymRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the RelatedTerm relationship to getUserNotAuthorizedException - 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
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Antonym updateAntonymRelationship(String userId, Antonym antonymRelationship) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
updateAntonymRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedantonymRelationship - the Antonym relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Antonym replaceAntonymRelationship(String userId, Antonym antonymRelationship) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
replaceAntonymRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedantonymRelationship - the antonym relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Antonym deleteAntonymRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnrecognizedGUIDException, FunctionNotSupportedException, RelationshipNotDeletedException, UnexpectedResponseException
deleteAntonymRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the RelatedTerm relationship to deleteExceptions returned by the server
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.UnrecognizedGUIDException - the supplied guid was not recognisedMetadataServerUncontactableException - not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.RelationshipNotDeletedException - a soft delete was issued but the relationship was not deleted.
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic void purgeAntonymRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, UnrecognizedGUIDException, MetadataServerUncontactableException, UnexpectedResponseException, RelationshipNotPurgedException
purgeAntonymRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Antonym relationship to delete
when not successful the following Exception responses can occur
Exceptions returned by the serverUserNotAuthorizedException - the requesting user is not authorized to issue this request.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.RelationshipNotPurgedException - a hard delete was issued but the relationship was not purgedUnrecognizedGUIDException - the supplied guid was not recognised
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Antonym restoreAntonymRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
Restore allows the deleted Antonym relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
restoreAntonymRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Antonym relationship to deleteUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Translation createTranslationRelationship(String userId, Translation translation) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
createTranslationRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedtranslation - the Translation relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Translation getTranslationRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
getTranslationRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the RelatedTerm relationship to getUserNotAuthorizedException - 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
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Translation updateTranslationRelationship(String userId, Translation translationRelationship) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
updateTranslationRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedtranslationRelationship - the Translation relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Translation replaceTranslationRelationship(String userId, Translation translationRelationship) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
replaceTranslationRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedtranslationRelationship - the translation relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Translation deleteTranslationRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnrecognizedGUIDException, FunctionNotSupportedException, RelationshipNotDeletedException, UnexpectedResponseException
deleteTranslationRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the RelatedTerm relationship to deleteExceptions returned by the server
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.UnrecognizedGUIDException - the supplied guid was not recognisedMetadataServerUncontactableException - not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.RelationshipNotDeletedException - a soft delete was issued but the relationship was not deleted.
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic void purgeTranslationRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, RelationshipNotPurgedException, UnrecognizedGUIDException, MetadataServerUncontactableException, UnexpectedResponseException
purgeTranslationRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Translation relationship to delete
when not successful the following Exception responses can occur
Exceptions returned by the serverUserNotAuthorizedException - the requesting user is not authorized to issue this request.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.RelationshipNotPurgedException - a hard delete was issued but the relationship was not purgedUnrecognizedGUIDException - the supplied guid was not recognised
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Translation restoreTranslationRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
Restore allows the deleted Translation relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
restoreTranslationRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Translation relationship to deleteUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic UsedInContext createUsedInContextRelationship(String userId, UsedInContext usedInContext) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
createUsedInContextRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedusedInContext - the UsedInContext relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic UsedInContext getUsedInContextRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
getUsedInContextRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the RelatedTerm relationship to getUserNotAuthorizedException - 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
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic UsedInContext updateUsedInContextRelationship(String userId, UsedInContext usedInContextRelationship) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
updateUsedInContextRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedusedInContextRelationship - the UsedInContext relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic UsedInContext replaceUsedInContextRelationship(String userId, UsedInContext usedInContextRelationship) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
replaceUsedInContextRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedusedInContextRelationship - the usedInContext relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic UsedInContext deleteUsedInContextRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnrecognizedGUIDException, FunctionNotSupportedException, RelationshipNotDeletedException, UnexpectedResponseException
deleteUsedInContextRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the RelatedTerm relationship to deleteExceptions returned by the server
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.UnrecognizedGUIDException - the supplied guid was not recognisedMetadataServerUncontactableException - not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.RelationshipNotDeletedException - a soft delete was issued but the relationship was not deleted.
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic void purgeUsedInContextRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, RelationshipNotPurgedException, UnrecognizedGUIDException, MetadataServerUncontactableException, UnexpectedResponseException
purgeUsedInContextRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the UsedInContext relationship to delete
when not successful the following Exception responses can occur
Exceptions returned by the serverUserNotAuthorizedException - the requesting user is not authorized to issue this request.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.RelationshipNotPurgedException - a hard delete was issued but the relationship was not purgedUnrecognizedGUIDException - the supplied guid was not recognised
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic UsedInContext restoreUsedInContextRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
Restore allows the deletedUsed in context relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
restoreUsedInContextRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Used in context relationship to deleteUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic PreferredTerm createPreferredTermRelationship(String userId, PreferredTerm preferredTerm) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
createPreferredTermRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedpreferredTerm - the PreferredTerm relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic PreferredTerm getPreferredTermRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
getPreferredTermRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the RelatedTerm relationship to getUserNotAuthorizedException - 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
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic PreferredTerm updatePreferredTermRelationship(String userId, PreferredTerm preferredTermRelationship) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
updatePreferredTermRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedpreferredTermRelationship - the PreferredTerm relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic PreferredTerm replacePreferredTermRelationship(String userId, PreferredTerm preferredTermRelationship) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
replacePreferredTermRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedpreferredTermRelationship - the preferredTerm relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic PreferredTerm deletePreferredTermRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnrecognizedGUIDException, FunctionNotSupportedException, RelationshipNotDeletedException, UnexpectedResponseException
deletePreferredTermRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the RelatedTerm relationship to deleteExceptions returned by the server
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.UnrecognizedGUIDException - the supplied guid was not recognisedMetadataServerUncontactableException - not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.RelationshipNotDeletedException - a soft delete was issued but the relationship was not deleted.
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic void purgePreferredTermRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, RelationshipNotPurgedException, UnrecognizedGUIDException, MetadataServerUncontactableException, UnexpectedResponseException
purgePreferredTermRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the PreferredTerm relationship to delete
when not successful the following Exception responses can occur
Exceptions returned by the serverUserNotAuthorizedException - the requesting user is not authorized to issue this request.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.RelationshipNotPurgedException - a hard delete was issued but the relationship was not purgedUnrecognizedGUIDException - the supplied guid was not recognised
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic PreferredTerm restorePreferredTermRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
Restore allows the deletedpreferred term relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
restorePreferredTermRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the preferred term relationship to deleteUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic ValidValue createValidValueRelationship(String userId, ValidValue validValue) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
createValidValueRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedvalidValue - the ValidValue relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic ValidValue getValidValueRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
getValidValueRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the RelatedTerm relationship to getUserNotAuthorizedException - 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
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic ValidValue updateValidValueRelationship(String userId, ValidValue validValueRelationship) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
updateValidValueRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedvalidValueRelationship - the ValidValue relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic ValidValue replaceValidValueRelationship(String userId, ValidValue validValueRelationship) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
replaceValidValueRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedvalidValueRelationship - the validValue relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic ValidValue deleteValidValueRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnrecognizedGUIDException, FunctionNotSupportedException, RelationshipNotDeletedException, UnexpectedResponseException
deleteValidValueRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the RelatedTerm relationship to deleteExceptions returned by the server
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.UnrecognizedGUIDException - the supplied guid was not recognisedMetadataServerUncontactableException - not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.RelationshipNotDeletedException - a soft delete was issued but the relationship was not deleted.
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic void purgeValidValueRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, RelationshipNotPurgedException, UnrecognizedGUIDException, MetadataServerUncontactableException, UnexpectedResponseException
purgeValidValueRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the ValidValue relationship to delete
when not successful the following Exception responses can occur
Exceptions returned by the serverUserNotAuthorizedException - the requesting user is not authorized to issue this request.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.RelationshipNotPurgedException - a hard delete was issued but the relationship was not purgedUnrecognizedGUIDException - the supplied guid was not recognised
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic ValidValue restoreValidValueRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
Restore allows the deletedvalid value relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
restoreValidValueRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the valid value relationship to deleteUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic ReplacementTerm createReplacementTermRelationship(String userId, ReplacementTerm replacementTerm) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
createReplacementTermRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedreplacementTerm - the ReplacementTerm relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic ReplacementTerm getReplacementTermRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
getReplacementTermRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the RelatedTerm relationship to getUserNotAuthorizedException - 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
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic ReplacementTerm updateReplacementTermRelationship(String userId, ReplacementTerm replacementTermRelationship) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
updateReplacementTermRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedreplacementTermRelationship - the ReplacementTerm relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic ReplacementTerm replaceReplacementTermRelationship(String userId, ReplacementTerm replacementTermRelationship) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
replaceReplacementTermRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedreplacementTermRelationship - the replacementTerm relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic ReplacementTerm deleteReplacementTermRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnrecognizedGUIDException, FunctionNotSupportedException, RelationshipNotDeletedException, UnexpectedResponseException
deleteReplacementTermRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the RelatedTerm relationship to deleteExceptions returned by the server
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.UnrecognizedGUIDException - the supplied guid was not recognisedMetadataServerUncontactableException - not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.RelationshipNotDeletedException - a soft delete was issued but the relationship was not deleted.
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic void purgeReplacementTermRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, RelationshipNotPurgedException, UnrecognizedGUIDException, MetadataServerUncontactableException, UnexpectedResponseException
purgeReplacementTermRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the ReplacementTerm relationship to delete
when not successful the following Exception responses can occur
Exceptions returned by the serverUserNotAuthorizedException - the requesting user is not authorized to issue this request.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.RelationshipNotPurgedException - a hard delete was issued but the relationship was not purgedUnrecognizedGUIDException - the supplied guid was not recognised
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic ReplacementTerm restoreReplacementTermRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
Restore allows the deleted replacement term relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
restoreReplacementTermRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the replacement term relationship to deleteUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic TypedBy createTermTYPEDBYRelationship(String userId, TypedBy termTYPEDBYRelationship) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
createTermTYPEDBYRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedtermTYPEDBYRelationship - the TypedBy relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic TypedBy getTermTYPEDBYRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
getTermTYPEDBYRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the termTYPEDBY relationship to getUserNotAuthorizedException - 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
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic TypedBy updateTermTYPEDBYRelationship(String userId, TypedBy termTYPEDBYRelationship) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
updateTermTYPEDBYRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedtermTYPEDBYRelationship - the TypedBy relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic TypedBy replaceTermTYPEDBYRelationship(String userId, TypedBy termTYPEDBYRelationship) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
replaceTermTYPEDBYRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedtermTYPEDBYRelationship - the termTYPEDBYRelationship relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic TypedBy deleteTermTYPEDBYRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnrecognizedGUIDException, FunctionNotSupportedException, RelationshipNotDeletedException, UnexpectedResponseException
deleteTermTYPEDBYRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the is a type of relationship to deleteExceptions returned by the server
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.UnrecognizedGUIDException - the supplied guid was not recognisedMetadataServerUncontactableException - not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.RelationshipNotDeletedException - a soft delete was issued but the relationship was not deleted.
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic void purgeTermTYPEDBYRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, RelationshipNotPurgedException, UnrecognizedGUIDException, MetadataServerUncontactableException, UnexpectedResponseException
purgeTermTYPEDBYRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the TypedBy relationship to delete
when not successful the following Exception responses can occur
Exceptions returned by the serverUserNotAuthorizedException - the requesting user is not authorized to issue this request.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.RelationshipNotPurgedException - a hard delete was issued but the relationship was not purgedUnrecognizedGUIDException - the supplied guid was not recognised
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic TypedBy restoreTypedByRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
Restore allows the deleted typed by relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
restoreTypedByRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the typed by relationship to deleteUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Isa createIsaRelationship(String userId, Isa isa) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
createIsaRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedisa - the Isa relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Isa getIsaRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
getIsaRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the isa relationship to getUserNotAuthorizedException - 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
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Isa updateIsaRelationship(String userId, Isa isaRelationship) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
updateIsaRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedisaRelationship - the Isa relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Isa replaceIsaRelationship(String userId, Isa isaRelationship) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
replaceIsaRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedisaRelationship - the isa relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Isa deleteIsaRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnrecognizedGUIDException, FunctionNotSupportedException, RelationshipNotDeletedException, UnexpectedResponseException
deleteIsaRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the isa relationship to deleteExceptions returned by the server
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.UnrecognizedGUIDException - the supplied guid was not recognisedMetadataServerUncontactableException - not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.RelationshipNotDeletedException - a soft delete was issued but the relationship was not deleted.
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic void purgeIsaRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, RelationshipNotPurgedException, UnrecognizedGUIDException, MetadataServerUncontactableException, UnexpectedResponseException
purgeIsaRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Isa relationship to delete
when not successful the following Exception responses can occur
Exceptions returned by the serverUserNotAuthorizedException - the requesting user is not authorized to issue this request.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.RelationshipNotPurgedException - a hard delete was issued but the relationship was not purgedUnrecognizedGUIDException - the supplied guid was not recognised
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Isa restoreIsaRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
Restore allows the deleted is a relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
restoreIsaRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the is a relationship to deleteUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic IsaTypeOf createTermISATypeOFRelationship(String userId, IsaTypeOf TermISATypeOFRelationship) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
createTermISATypeOFRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedTermISATypeOFRelationship - the IsaTypeOf relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic IsaTypeOf getTermISATypeOFRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
getTermISATypeOFRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the IsaTypeOf relationship to getUserNotAuthorizedException - 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
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic IsaTypeOf updateTermISATypeOFRelationship(String userId, IsaTypeOf isATypeOf) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
updateTermISATypeOFRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedisATypeOf - the isATypeOf relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic IsaTypeOf replaceTermISATypeOFRelationship(String userId, IsaTypeOf isATypeOf) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
replaceTermISATypeOFRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedisATypeOf - the isATypeOf relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic IsaTypeOf deleteTermISATypeOFRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnrecognizedGUIDException, FunctionNotSupportedException, RelationshipNotDeletedException, UnexpectedResponseException
deleteTermISATypeOFRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the is a type of relationship to deleteExceptions returned by the server
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.UnrecognizedGUIDException - the supplied guid was not recognisedMetadataServerUncontactableException - not able to communicate with a Metadata respository service. There is a problem retrieving properties from the metadata repository.RelationshipNotDeletedException - a soft delete was issued but the relationship was not deleted.
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic void purgeTermISATypeOFRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, RelationshipNotPurgedException, UnrecognizedGUIDException, MetadataServerUncontactableException, UnexpectedResponseException
purgeTermISATypeOFRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the IsaTypeOf relationship to delete
when not successful the following Exception responses can occur
Exceptions returned by the serverUserNotAuthorizedException - the requesting user is not authorized to issue this request.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.RelationshipNotPurgedException - a hard delete was issued but the relationship was not purgedUnrecognizedGUIDException - the supplied guid was not recognised
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic IsaTypeOf restoreIsaTypeOfRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
Restore allows the deleted is a type of relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
restoreIsaTypeOfRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the is a type of relationship to deleteUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Categorization createTermCategorizationRelationship(String userId, Categorization termCategorizationRelationship) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
createTermCategorizationRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedtermCategorizationRelationship - the term categorization relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Categorization getTermCategorizationRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
getTermCategorizationRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the TermCategorizationRelationship relationship to getUserNotAuthorizedException - 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
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Categorization updateTermCategorizationRelationship(String userId, Categorization termCategorizationRelationship) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
updateTermCategorizationRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedtermCategorizationRelationship - the term categorization relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Categorization replaceTermCategorizationRelationship(String userId, Categorization termCategorizationRelationship) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
replaceTermCategorizationRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedtermCategorizationRelationship - the term categorization relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Categorization deleteTermCategorizationRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnrecognizedGUIDException, FunctionNotSupportedException, RelationshipNotDeletedException, UnexpectedResponseException
deleteTermCategorizationRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the TermCategorizationRelationship relationship to deleteExceptions returned by the server
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.RelationshipNotDeletedException - a soft delete was issued but the relationship was not deleted.UnrecognizedGUIDException - the supplied guid was not recognised
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic void purgeTermCategorizationRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, RelationshipNotPurgedException, UnrecognizedGUIDException, MetadataServerUncontactableException, UnexpectedResponseException
purgeTermCategorizationRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the TermCategorizationRelationship relationship to delete
when not successful the following Exception responses can occur
Exceptions returned by the serverUserNotAuthorizedException - the requesting user is not authorized to issue this request.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.RelationshipNotPurgedException - a hard delete was issued but the relationship was not purgedUnrecognizedGUIDException - the supplied guid was not recognised
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic Categorization restoreTermCategorizationRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
Restore allows the deleted has a relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
restoreTermCategorizationRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the has a relationship to deleteUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic TermAnchor createTermAnchorRelationship(String userId, TermAnchor termCategorizationRelationship) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
createTermAnchorRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedtermCategorizationRelationship - the term anchor relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic TermAnchor getTermAnchorRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
getTermAnchorRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the TermAnchorRelationship relationship to getUserNotAuthorizedException - 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
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic TermAnchor replaceTermAnchorRelationship(String userId, TermAnchor termCategorizationRelationship) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
replaceTermAnchorRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedtermCategorizationRelationship - the term anchor relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic TermAnchor deleteTermAnchorRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnrecognizedGUIDException, FunctionNotSupportedException, RelationshipNotDeletedException, UnexpectedResponseException
deleteTermAnchorRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the TermAnchorRelationship relationship to deleteExceptions returned by the server
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.RelationshipNotDeletedException - a soft delete was issued but the relationship was not deleted.UnrecognizedGUIDException - the supplied guid was not recognised
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic void purgeTermAnchorRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, RelationshipNotPurgedException, UnrecognizedGUIDException, MetadataServerUncontactableException, UnexpectedResponseException
purgeTermAnchorRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the TermAnchorRelationship relationship to delete
when not successful the following Exception responses can occur
Exceptions returned by the serverUserNotAuthorizedException - the requesting user is not authorized to issue this request.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.RelationshipNotPurgedException - a hard delete was issued but the relationship was not purgedUnrecognizedGUIDException - the supplied guid was not recognised
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic TermAnchor restoreTermAnchorRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
Restore allows the deleted has a relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
restoreTermAnchorRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Term Anchor relationship to deleteUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic CategoryAnchor createCategoryAnchorRelationship(String userId, CategoryAnchor termCategorizationRelationship) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
createCategoryAnchorRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedtermCategorizationRelationship - the category anchor relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic CategoryAnchor getCategoryAnchorRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
getCategoryAnchorRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the CategoryAnchorRelationship relationship to getUserNotAuthorizedException - 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
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic CategoryAnchor updateCategoryAnchorRelationship(String userId, CategoryAnchor termCategorizationRelationship) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
updateCategoryAnchorRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedtermCategorizationRelationship - the Category Anchor relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic CategoryAnchor replaceCategoryAnchorRelationship(String userId, CategoryAnchor termCategorizationRelationship) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
replaceCategoryAnchorRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedtermCategorizationRelationship - the Category Anchor relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic CategoryAnchor deleteCategoryAnchorRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnrecognizedGUIDException, FunctionNotSupportedException, RelationshipNotDeletedException, UnexpectedResponseException
deleteCategoryAnchorRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the CategoryAnchorRelationship relationship to deleteExceptions returned by the server
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.RelationshipNotDeletedException - a soft delete was issued but the relationship was not deleted.UnrecognizedGUIDException - the supplied guid was not recognised
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic void purgeCategoryAnchorRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, RelationshipNotPurgedException, UnrecognizedGUIDException, MetadataServerUncontactableException, UnexpectedResponseException
purgeCategoryAnchorRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the CategoryAnchorRelationship relationship to delete
when not successful the following Exception responses can occur
Exceptions returned by the serverUserNotAuthorizedException - the requesting user is not authorized to issue this request.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.RelationshipNotPurgedException - a hard delete was issued but the relationship was not purgedUnrecognizedGUIDException - the supplied guid was not recognised
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic CategoryAnchor restoreCategoryAnchorRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
Restore allows the deleted has a relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
restoreCategoryAnchorRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the has a relationship to deleteUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic ProjectScope createProjectScopeRelationship(String userId, ProjectScope projectScope) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
createProjectScopeRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedprojectScope - the ProjectScope relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic ProjectScope getProjectScopeRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
getProjectScopeRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the RelatedTerm relationship to getUserNotAuthorizedException - 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
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic ProjectScope updateProjectScopeRelationship(String userId, ProjectScope projectScopeRelationship) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
updateProjectScopeRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedprojectScopeRelationship - the ProjectScope relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic ProjectScope replaceProjectScopeRelationship(String userId, ProjectScope projectScopeRelationship) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
replaceProjectScopeRelationship in interface SubjectAreaRelationshipuserId - userId under which the request is performedprojectScopeRelationship - the ProjectScope relationshipUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic ProjectScope deleteProjectScopeRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UnrecognizedGUIDException, UserNotAuthorizedException, FunctionNotSupportedException, RelationshipNotDeletedException, UnexpectedResponseException
deleteProjectScopeRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the RelatedTerm relationship to deleteExceptions returned by the server
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.RelationshipNotDeletedException - a soft delete was issued but the relationship was not deleted.UnrecognizedGUIDException - the supplied guid was not recognised
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic void purgeProjectScopeRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, RelationshipNotPurgedException, UnrecognizedGUIDException, MetadataServerUncontactableException, UnexpectedResponseException
purgeProjectScopeRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the ProjectScope relationship to delete
when not successful the following Exception responses can occur
Exceptions returned by the serverUserNotAuthorizedException - the requesting user is not authorized to issue this request.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.RelationshipNotPurgedException - a hard delete was issued but the relationship was not purgedUnrecognizedGUIDException - the supplied guid was not recognised
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic ProjectScope restoreProjectScopeRelationship(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnexpectedResponseException, UnrecognizedGUIDException
Restore allows the deleted ProjectScope relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
restoreProjectScopeRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the ProjectScope relationship to restoreUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverpublic SemanticAssignment getSemanticAssignmentRelationship(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnexpectedResponseException, UnrecognizedGUIDException
getSemanticAssignmentRelationship in interface SubjectAreaRelationshipuserId - unique identifier for requesting user, under which the request is performedguid - guid of the SemanticAssignment relationship to getUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalidUnrecognizedGUIDException - the supplied guid was not recognised
Client library Exceptions
MetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverCopyright © 2018–2020 ODPi. All rights reserved.