Class SubjectAreaCategoryClient<C extends Category>
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.subjectarea.client.AbstractSubjectArea<E>
-
- org.odpi.openmetadata.accessservices.subjectarea.client.nodes.AbstractSubjectAreaNode<C>
-
- org.odpi.openmetadata.accessservices.subjectarea.client.nodes.categories.SubjectAreaCategoryClient<C>
-
- All Implemented Interfaces:
SubjectAreaClient<C>,SubjectAreaNodeClient<C>,ResponseParameterization<C>
public class SubjectAreaCategoryClient<C extends Category> extends AbstractSubjectAreaNode<C>
-
-
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 SubjectAreaCategoryClient(SubjectAreaRestClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Category>getCategoryChildren(String userId, String guid, FindRequest findRequest)Get the Category's children categoriesList<Category>getCategoryChildren(String userId, String guid, FindRequest findRequest, boolean exactValue, boolean ignoreCase)Get the Category's children categoriesList<Term>getTerms(String userId, String guid, FindRequest findRequest)Get the terms owned by this CategoryList<Term>getTerms(String userId, String guid, FindRequest findRequest, boolean exactValue, boolean ignoreCase)Get the terms owned by this Category-
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 Detail
-
SubjectAreaCategoryClient
public SubjectAreaCategoryClient(SubjectAreaRestClient client)
-
-
Method Detail
-
getCategoryChildren
public List<Category> getCategoryChildren(String userId, String guid, FindRequest findRequest) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
Get the Category's children categories- Parameters:
userId- unique identifier for requesting user, under which the request is performed.guid- unique identifier of the Category- Returns:
- list of Category children
- 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.
-
getCategoryChildren
public List<Category> getCategoryChildren(String userId, String guid, FindRequest findRequest, boolean exactValue, boolean ignoreCase) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
Get the Category's children categories- Parameters:
userId- unique identifier for requesting user, under which the request is performed.guid- unique identifier of the Category- Returns:
- list of Category children
- 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.
-
getTerms
public List<Term> getTerms(String userId, String guid, FindRequest findRequest) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
Get the terms owned by this Category- Parameters:
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.- Returns:
- list of Terms
- 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.
-
getTerms
public List<Term> getTerms(String userId, String guid, FindRequest findRequest, boolean exactValue, boolean ignoreCase) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
Get the terms owned by this Category- Parameters:
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.- Returns:
- list of Terms
- 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.
-
-