public interface SubjectAreaCategory
| Modifier and Type | Method and Description |
|---|---|
Category |
createCategory(String userId,
Category suppliedCategory)
Create a Category
|
SubjectAreaDefinition |
createSubjectAreaDefinition(String userId,
SubjectAreaDefinition suppliedSubjectAreaDefinition)
Create a SubjectAreaDefinition
|
Category |
deleteCategory(String userId,
String guid)
Delete a Category instance
A delete (also known as a soft delete) means that the category instance will exist in a deleted state in the repository after the delete operation.
|
SubjectAreaDefinition |
deleteSubjectAreaDefinition(String userId,
String guid)
Delete a SubjectAreaDefinition instance
A delete (also known as a soft delete) means that the subjectAreaDefinition instance will exist in a deleted state in the repository after the delete operation.
|
List<Category> |
findCategory(String userId,
String searchCriteria,
Date asOfTime,
int offset,
int pageSize,
SequencingOrder sequencingOrder,
String sequencingProperty)
Find Category
|
Category |
getCategoryByGuid(String userId,
String guid)
Get a category by guid.
|
List<Line> |
getCategoryRelationships(String userId,
String guid,
Date asOfTime,
int offset,
int pageSize,
SequencingOrder sequencingOrder,
String sequencingProperty)
Get Category relationships
|
SubjectAreaDefinition |
getSubjectAreaDefinitionByGuid(String userId,
String guid)
Get a subjectAreaDefinition by guid.
|
void |
purgeCategory(String userId,
String guid)
Purge a Category instance
A purge means that the category will not exist after the operation.
|
void |
purgeSubjectAreaDefinition(String userId,
String guid)
Purge a SubjectAreaDefinition instance
A purge means that the subjectAreaDefinition will not exist after the operation.
|
Category |
replaceCategory(String userId,
String guid,
Category suppliedCategory)
Replace a Category.
|
SubjectAreaDefinition |
replaceSubjectAreaDefinition(String userId,
String guid,
SubjectAreaDefinition suppliedSubjectAreaDefinition)
Replace a SubjectAreaDefinition.
|
Category |
restoreCategory(String userId,
String guid)
Restore a Category
Restore allows the deleted Category to be made active again.
|
SubjectAreaDefinition |
restoreSubjectAreaDefinition(String userId,
String guid)
Restore a SubjectAreaDefinition
Restore allows the deleted Subject Area to be made active again.
|
Category |
updateCategory(String userId,
String guid,
Category suppliedCategory)
Update a Category.
|
SubjectAreaDefinition |
updateSubjectAreaDefinition(String userId,
String guid,
SubjectAreaDefinition suppliedSubjectAreaDefinition)
Update a SubjectAreaDefinition.
|
Category createCategory(String userId, Category suppliedCategory) throws MetadataServerUncontactableException, InvalidParameterException, UserNotAuthorizedException, UnrecognizedGUIDException, ClassificationException, FunctionNotSupportedException, UnexpectedResponseException
userId - userId under which the request is performedsuppliedCategory - CategoryUserNotAuthorizedException - 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 serverCategory getCategoryByGuid(String userId, String guid) throws MetadataServerUncontactableException, UnrecognizedGUIDException, UserNotAuthorizedException, InvalidParameterException, FunctionNotSupportedException, UnexpectedResponseException
userId - userId under which the request is performedguid - guid of the category 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 serverCategory replaceCategory(String userId, String guid, Category suppliedCategory) throws UnexpectedResponseException, UserNotAuthorizedException, FunctionNotSupportedException, InvalidParameterException, MetadataServerUncontactableException
Status is not updated using this call.
userId - userId under which the request is performedguid - guid of the category to updatesuppliedCategory - category 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.
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverCategory updateCategory(String userId, String guid, Category suppliedCategory) throws UnexpectedResponseException, UserNotAuthorizedException, FunctionNotSupportedException, InvalidParameterException, MetadataServerUncontactableException
If the caller has chosen to incorporate the category name in their Category Categorys or Categories qualified name, renaming the category will cause those qualified names to mismatch the Category name. If the caller has chosen to incorporate the category qualifiedName in their Category Categorys or Categories qualified name, changing the qualified name of the category will cause those qualified names to mismatch the Category name. Status is not updated using this call.
userId - userId under which the request is performedguid - guid of the category to updatesuppliedCategory - category 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.FunctionNotSupportedException - Function not supported
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverCategory deleteCategory(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, FunctionNotSupportedException, UnexpectedResponseException, EntityNotDeletedException
userId - userId under which the request is performedguid - guid of the category to be deleted.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.EntityNotDeletedException - a delete was issued but the category was not deleted.FunctionNotSupportedException - Function not supported
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the servervoid purgeCategory(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, FunctionNotSupportedException, GUIDNotPurgedException, UnrecognizedGUIDException, UnexpectedResponseException
userId - userId under which the request is performedguid - guid of the category to be deleted.
Exceptions returned by the serverUserNotAuthorizedException - 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 category was not purgedUnrecognizedGUIDException - the supplied guid was not recognisedFunctionNotSupportedException - Function not supported.
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverCategory restoreCategory(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnrecognizedGUIDException, FunctionNotSupportedException, UnexpectedResponseException
userId - unique identifier for requesting user, under which the request is performedguid - guid of the category to restoreUnrecognizedGUIDException - 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.FunctionNotSupportedException - Function not supported this indicates that a soft delete was issued but the repository does not support it.
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverSubjectAreaDefinition createSubjectAreaDefinition(String userId, SubjectAreaDefinition suppliedSubjectAreaDefinition) throws MetadataServerUncontactableException, InvalidParameterException, UserNotAuthorizedException, UnrecognizedGUIDException, ClassificationException, FunctionNotSupportedException, UnexpectedResponseException
userId - userId under which the request is performedsuppliedSubjectAreaDefinition - SubjectAreaDefinitionUserNotAuthorizedException - 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 serverSubjectAreaDefinition getSubjectAreaDefinitionByGuid(String userId, String guid) throws MetadataServerUncontactableException, UnrecognizedGUIDException, UserNotAuthorizedException, InvalidParameterException, FunctionNotSupportedException, UnexpectedResponseException
userId - userId under which the request is performedguid - guid of the subjectAreaDefinition 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 serverList<Line> getCategoryRelationships(String userId, String guid, Date asOfTime, int offset, int pageSize, SequencingOrder sequencingOrder, String sequencingProperty) throws UserNotAuthorizedException, InvalidParameterException, FunctionNotSupportedException, UnexpectedResponseException, MetadataServerUncontactableException
userId - unique identifier for requesting user, under which the request is performedguid - guid of the category to getguid - guid of the category to getasOfTime - the relationships returned as they were at this time. null indicates at the current time.offset - the starting element number for this set of results. This is used when retrieving elements
beyond the first page of results. Zero means the results start from the first element.pageSize - the maximum number of elements that can be returned on this request.
0 means there is not limit to the page sizesequencingOrder - the sequencing order for the results.sequencingProperty - the name of the property that should be used to sequence the results.UserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalid.FunctionNotSupportedException - Function not supported
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverList<Category> findCategory(String userId, String searchCriteria, Date asOfTime, int offset, int pageSize, SequencingOrder sequencingOrder, String sequencingProperty) throws MetadataServerUncontactableException, UserNotAuthorizedException, InvalidParameterException, FunctionNotSupportedException, UnexpectedResponseException
userId - unique identifier for requesting user, under which the request is performedsearchCriteria - String expression matching Category property values (this does not include the GlossarySummary content).asOfTime - the relationships returned as they were at this time. null indicates at the current time.offset - the starting element number for this set of results. This is used when retrieving elements
beyond the first page of results. Zero means the results start from the first element.pageSize - the maximum number of elements that can be returned on this request.
0 means there is no limit to the page sizesequencingOrder - the sequencing order for the results.sequencingProperty - the name of the property that should be used to sequence the results.UserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalid.FunctionNotSupportedException - Function not supported
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverSubjectAreaDefinition replaceSubjectAreaDefinition(String userId, String guid, SubjectAreaDefinition suppliedSubjectAreaDefinition) throws UnexpectedResponseException, UserNotAuthorizedException, FunctionNotSupportedException, InvalidParameterException, MetadataServerUncontactableException
Status is not updated using this call.
userId - userId under which the request is performedguid - guid of the subjectAreaDefinition to updatesuppliedSubjectAreaDefinition - subjectAreaDefinition 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.
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverSubjectAreaDefinition updateSubjectAreaDefinition(String userId, String guid, SubjectAreaDefinition suppliedSubjectAreaDefinition) throws UnexpectedResponseException, UserNotAuthorizedException, FunctionNotSupportedException, InvalidParameterException, MetadataServerUncontactableException
If the caller has chosen to incorporate the subjectAreaDefinition name in their SubjectAreaDefinition SubjectAreaDefinitions or Categories qualified name, renaming the subjectAreaDefinition will cause those qualified names to mismatch the SubjectAreaDefinition name. If the caller has chosen to incorporate the subjectAreaDefinition qualifiedName in their SubjectAreaDefinition SubjectAreaDefinitions or Categories qualified name, changing the qualified name of the subjectAreaDefinition will cause those qualified names to mismatch the SubjectAreaDefinition name. Status is not updated using this call.
userId - userId under which the request is performedguid - guid of the subjectAreaDefinition to updatesuppliedSubjectAreaDefinition - subjectAreaDefinition 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.
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverSubjectAreaDefinition deleteSubjectAreaDefinition(String userId, String guid) throws InvalidParameterException, MetadataServerUncontactableException, UserNotAuthorizedException, FunctionNotSupportedException, UnexpectedResponseException, EntityNotDeletedException
userId - userId under which the request is performedguid - guid of the subjectAreaDefinition to be deleted.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.EntityNotDeletedException - a delete was issued but the subjectAreaDefinition was not deleted.
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the servervoid purgeSubjectAreaDefinition(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, GUIDNotPurgedException, UnrecognizedGUIDException, FunctionNotSupportedException, UnexpectedResponseException
userId - userId under which the request is performedguid - guid of the subjectAreaDefinition to be deleted.UserNotAuthorizedException - 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 subjectAreaDefinition was not purgedUnrecognizedGUIDException - the supplied guid was not recognisedFunctionNotSupportedException - Function not supported
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverSubjectAreaDefinition restoreSubjectAreaDefinition(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, MetadataServerUncontactableException, UnrecognizedGUIDException, FunctionNotSupportedException, UnexpectedResponseException
userId - unique identifier for requesting user, under which the request is performedguid - guid of the subject area to restoreUnrecognizedGUIDException - 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.FunctionNotSupportedException - Function not supported this indicates that a soft delete was issued but the repository does not support it.
Client library ExceptionsMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverCopyright © 2018–2020 ODPi. All rights reserved.