public interface SubjectAreaGlossary
| Modifier and Type | Method and Description |
|---|---|
Glossary |
createGlossary(String userId,
Glossary suppliedGlossary)
Create a Glossary
|
Glossary |
deleteGlossary(String userId,
String guid)
Delete a Glossary instance
The deletion of a glossary is only allowed if there is no glossary content (i.e.
|
Glossary |
getGlossaryByGuid(String userId,
String guid)
Get a glossary by guid.
|
void |
purgeGlossary(String userId,
String guid)
Purge a Glossary instance
The purge of a glossary is only allowed if there is no glossary content (i.e.
|
Glossary |
replaceGlossary(String userId,
String guid,
Glossary suppliedGlossary)
Replace a Glossary.
|
Glossary |
updateGlossary(String userId,
String guid,
Glossary suppliedGlossary)
Update a Glossary.
|
Glossary createGlossary(String userId, Glossary suppliedGlossary) throws MetadataServerUncontactableException, InvalidParameterException, UserNotAuthorizedException, UnrecognizedGUIDException, ClassificationException, FunctionNotSupportedException, UnexpectedResponseException
userId - userId under which the request is performedsuppliedGlossary - details of glossary to createUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalid.UnrecognizedGUIDException - the supplied guid was not recognisedClassificationException - Error processing a classificationFunctionNotSupportedException - Function not supported
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverGlossary getGlossaryByGuid(String userId, String guid) throws MetadataServerUncontactableException, UnrecognizedGUIDException, UserNotAuthorizedException, InvalidParameterException, FunctionNotSupportedException, UnexpectedResponseException
userId - userId under which the request is performedguid - guid of the glossary to getUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalid.UnrecognizedGUIDException - the supplied guid was not recognisedFunctionNotSupportedException - Function not supported
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverGlossary replaceGlossary(String userId, String guid, Glossary suppliedGlossary) throws UnexpectedResponseException, UserNotAuthorizedException, UnrecognizedNameException, FunctionNotSupportedException, InvalidParameterException, MetadataServerUncontactableException
If the caller has chosen to incorporate the glossary name in their Glossary Terms or Categories qualified name, renaming the glossary will cause those qualified names to mismatch the Glossary name. If the caller has chosen to incorporate the glossary qualifiedName in their Glossary Terms or Categories qualified name, changing the qualified name of the glossary will cause those qualified names to mismatch the Glossary name. Status is not updated using this call.
userId - userId under which the request is performedguid - guid of the glossary to updatesuppliedGlossary - glossary to be updatedUserNotAuthorizedException - the requesting user is not authorized to issue this request.FunctionNotSupportedException - Function not supportedInvalidParameterException - one of the parameters is null or invalid.UnrecognizedNameException - Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverGlossary updateGlossary(String userId, String guid, Glossary suppliedGlossary) throws UnexpectedResponseException, UserNotAuthorizedException, UnrecognizedNameException, FunctionNotSupportedException, InvalidParameterException, MetadataServerUncontactableException
If the caller has chosen to incorporate the glossary name in their Glossary Terms or Categories qualified name, renaming the glossary will cause those qualified names to mismatch the Glossary name. If the caller has chosen to incorporate the glossary qualifiedName in their Glossary Terms or Categories qualified name, changing the qualified name of the glossary will cause those qualified names to mismatch the Glossary name. Status is not updated using this call.
userId - userId under which the request is performedguid - guid of the glossary to updatesuppliedGlossary - glossary to be updatedUserNotAuthorizedException - the requesting user is not authorized to issue this request.FunctionNotSupportedException - function not supportedInvalidParameterException - one of the parameters is null or invalid.UnrecognizedNameException - unrecognised name
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverGlossary deleteGlossary(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, UnrecognizedGUIDException, FunctionNotSupportedException, UnexpectedResponseException, EntityNotDeletedException
userId - userId under which the request is performedguid - guid of the glossary to be deleted.UnrecognizedGUIDException - the supplied guid was not recognisedUserNotAuthorizedException - 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.EntityNotDeletedException - a delete was issued but the glossary was not deleted.MetadataServerUncontactableException - unable to contact serverUnexpectedResponseExceptionvoid purgeGlossary(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnrecognizedGUIDException, GUIDNotPurgedException, UnexpectedResponseException
userId - userId under which the request is performedguid - guid of the glossary to be deleted.UnrecognizedGUIDException - the supplied guid was not recognisedUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalid.GUIDNotPurgedException - a hard delete was issued but the glossary was not purgedMetadataServerUncontactableException - unable to contact serverUnexpectedResponseExceptionCopyright © 2017–2018 ODPi. All rights reserved.