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>
-
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 -
Method Summary
Modifier and TypeMethodDescriptiongetCategoryChildren
(String userId, String guid, FindRequest findRequest) Get the Category's children categoriesgetCategoryChildren
(String userId, String guid, FindRequest findRequest, boolean exactValue, boolean ignoreCase) Get the Category's children categoriesgetTerms
(String userId, String guid, FindRequest findRequest) Get the terms owned by this CategorygetTerms
(String userId, String guid, FindRequest findRequest, boolean exactValue, boolean ignoreCase) Get the terms owned by this CategoryMethods 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 Details
-
SubjectAreaCategoryClient
-
-
Method Details
-
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 CategoryfindRequest
- specification of the search- 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 CategoryfindRequest
- specification of the searchexactValue
- should the result match exactly?ignoreCase
- should the match be case insensitive?- 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.exactValue
- should the result match exactly?ignoreCase
- should the match be case insensitive?- 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.
-