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>
public class SubjectAreaTermClient<T extends Term> extends AbstractSubjectAreaNode<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 Constructor Description SubjectAreaTermClient(SubjectAreaRestClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Category>getCategories(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, delete, find, find, find, findAll, findAll, getByGUID, purge, replace, restore, update, update
-
Methods inherited from interface org.odpi.openmetadata.accessservices.subjectarea.client.SubjectAreaNodeClient
getAllRelationships
-
-
-
-
Constructor Detail
-
SubjectAreaTermClient
public SubjectAreaTermClient(SubjectAreaRestClient client)
-
-
Method Detail
-
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 Term- 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.
-
-