Class AbstractSubjectAreaNode<E extends Node>
java.lang.Object
org.odpi.openmetadata.accessservices.subjectarea.client.AbstractSubjectArea<E>
org.odpi.openmetadata.accessservices.subjectarea.client.nodes.AbstractSubjectAreaNode<E>
- Type Parameters:
E
- inherited fromNode
type Abstract class for Subject Area client node operations
- All Implemented Interfaces:
SubjectAreaClient<E>
,SubjectAreaNodeClient<E>
,ResponseParameterization<E>
- Direct Known Subclasses:
SubjectAreaCategoryClient
,SubjectAreaGlossaryClient
,SubjectAreaProjectClient
,SubjectAreaTermClient
public abstract class AbstractSubjectAreaNode<E extends Node>
extends AbstractSubjectArea<E>
implements SubjectAreaNodeClient<E>
-
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
ConstructorsModifierConstructorDescriptionprotected
AbstractSubjectAreaNode
(SubjectAreaRestClient client, String baseUrl) -
Method Summary
Modifier and TypeMethodDescriptiongetRelationships
(String userId, String guid, FindRequest findRequest) Request to search relationships for current node.getRelationships
(String userId, String guid, FindRequest findRequest, Integer maximumPageSizeOnRestCall) Request to search relationships for current node.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
-
AbstractSubjectAreaNode
-
-
Method Details
-
getRelationships
public List<Relationship> getRelationships(String userId, String guid, FindRequest findRequest, Integer maximumPageSizeOnRestCall) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException Description copied from interface:SubjectAreaNodeClient
Request to search relationships for current node.- Specified by:
getRelationships
in interfaceSubjectAreaNodeClient<E extends Node>
- 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.maximumPageSizeOnRestCall
- maximum page size to use on rest calls.- Returns:
- list relationships relevant in the findRequest information.
- Throws:
InvalidParameterException
- one of the parameters is null or invalid.PropertyServerException
- something went wrong with the REST call stack.UserNotAuthorizedException
- the requesting user is not authorized to issue this request.
-
getRelationships
public List<Relationship> getRelationships(String userId, String guid, FindRequest findRequest) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException Description copied from interface:SubjectAreaNodeClient
Request to search relationships for current node.- Specified by:
getRelationships
in interfaceSubjectAreaNodeClient<E extends Node>
- 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.- Returns:
- list relationships relevant in the findRequest information.
- Throws:
InvalidParameterException
- one of the parameters is null or invalid.PropertyServerException
- something went wrong with the REST call stack.UserNotAuthorizedException
- the requesting user is not authorized to issue this request.
-