public class SubjectAreaCategoryClient<C extends Category> extends AbstractSubjectAreaNode<C>
BASE_RELATIONSHIPS_URL, BASE_URL, client, SUBJECT_AREA_BASE_URLEMPTY_FIND_REQUEST| Constructor and Description |
|---|
SubjectAreaCategoryClient(SubjectAreaRestClient client) |
| Modifier and Type | Method and Description |
|---|---|
List<Category> |
getCategoryChildren(String userId,
String guid,
FindRequest findRequest)
Get the Category's children categories
|
List<Term> |
getTerms(String userId,
String guid,
FindRequest findRequest)
Get the terms owned by this Category
|
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 SubjectAreaCategoryClient(SubjectAreaRestClient client)
public List<Category> getCategoryChildren(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 CategoryPropertyServerException - 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.public List<Term> getTerms(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 object to which the found objects should relate.findRequest - information object for find calls. This include pageSize to limit the number of elements returned.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.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.