public class SubjectAreaTermClient<T extends Term> extends AbstractSubjectAreaNode<T>
BASE_RELATIONSHIPS_URL, BASE_URL, client, SUBJECT_AREA_BASE_URLEMPTY_FIND_REQUEST| Constructor and Description |
|---|
SubjectAreaTermClient(SubjectAreaRestClient client) |
| Modifier and Type | Method and Description |
|---|---|
List<Category> |
getCategories(String userId,
String guid,
FindRequest findRequest)
Get the Categories that categorise this term.
|
getRelationships, getRelationshipscreate, delete, find, find, getByGUID, getMethodInfo, responseType, restore, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllRelationshipscreate, delete, delete, find, find, findAll, findAll, getByGUID, purge, replace, restore, update, updategetParameterizedType, resultTypepublic SubjectAreaTermClient(SubjectAreaRestClient client)
public List<Category> getCategories(String userId, String guid, FindRequest findRequest) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - unique identifier for requesting user, under which the request is performed.guid - unique identifier of the TermPropertyServerException - 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.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.