Class SubjectAreaTermClient<T extends Term>
java.lang.Object
org.odpi.openmetadata.accessservices.subjectarea.client.AbstractSubjectArea<E>
org.odpi.openmetadata.accessservices.subjectarea.client.nodes.AbstractSubjectAreaNode<T>
org.odpi.openmetadata.accessservices.subjectarea.client.nodes.terms.SubjectAreaTermClient<T>
- All Implemented Interfaces:
SubjectAreaClient<T>
,SubjectAreaNodeClient<T>
,ResponseParameterization<T>
-
Field Summary
Fields inherited from class org.odpi.openmetadata.accessservices.subjectarea.client.AbstractSubjectArea
BASE_RELATIONSHIPS_URL, BASE_URL, client, SUBJECT_AREA_BASE_URL
Fields inherited from interface org.odpi.openmetadata.accessservices.subjectarea.client.SubjectAreaClient
EMPTY_FIND_REQUEST
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCategories
(String userId, String guid, FindRequest findRequest) Get the Categories that categorise this term.Methods inherited from class org.odpi.openmetadata.accessservices.subjectarea.client.nodes.AbstractSubjectAreaNode
getRelationships, getRelationships
Methods inherited from class org.odpi.openmetadata.accessservices.subjectarea.client.AbstractSubjectArea
create, delete, find, find, find, getByGUID, getMethodInfo, responseType, restore, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.odpi.openmetadata.commonservices.ffdc.rest.ResponseParameterization
getParameterizedType, resultType
Methods inherited from interface org.odpi.openmetadata.accessservices.subjectarea.client.SubjectAreaClient
create, delete, find, find, find, findAll, findAll, getByGUID, replace, restore, update, update
Methods inherited from interface org.odpi.openmetadata.accessservices.subjectarea.client.SubjectAreaNodeClient
getAllRelationships
-
Constructor Details
-
SubjectAreaTermClient
-
-
Method Details
-
getCategories
public List<Category> getCategories(String userId, String guid, FindRequest findRequest) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException Get the Categories that categorise this term.- Parameters:
userId
- unique identifier for requesting user, under which the request is performed.guid
- unique identifier of the TermfindRequest
- request specification- Returns:
- list of categories
- Throws:
PropertyServerException
- something went wrong with the REST call stack.UserNotAuthorizedException
- the requesting user is not authorized to issue this request.InvalidParameterException
- one of the parameters is null or invalid.
-