Class SubjectAreaTermClient<T extends org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.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>,org.odpi.openmetadata.commonservices.ffdc.rest.ResponseParameterization<T>
public class SubjectAreaTermClient<T extends org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term>
extends AbstractSubjectAreaNode<T>
-
Field Summary
Fields inherited from class org.odpi.openmetadata.accessservices.subjectarea.client.AbstractSubjectArea
BASE_RELATIONSHIPS_URL, SUBJECT_AREA_BASE_URLFields inherited from interface org.odpi.openmetadata.accessservices.subjectarea.client.SubjectAreaClient
EMPTY_FIND_REQUEST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category>getCategories(String userId, String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest) Get the Categories that categorise this term.Methods inherited from class org.odpi.openmetadata.accessservices.subjectarea.client.nodes.AbstractSubjectAreaNode
getRelationships, getRelationshipsMethods inherited from class org.odpi.openmetadata.accessservices.subjectarea.client.AbstractSubjectArea
create, delete, find, find, find, getByGUID, responseType, restore, updateMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.odpi.openmetadata.commonservices.ffdc.rest.ResponseParameterization
getParameterizedType, resultTypeMethods inherited from interface org.odpi.openmetadata.accessservices.subjectarea.client.SubjectAreaClient
create, delete, find, find, find, findAll, findAll, getByGUID, replace, restore, update, updateMethods inherited from interface org.odpi.openmetadata.accessservices.subjectarea.client.SubjectAreaNodeClient
getAllRelationships
-
Constructor Details
-
SubjectAreaTermClient
-
-
Method Details
-
getCategories
public List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category> getCategories(String userId, String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.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:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid.
-