Class AbstractSubjectAreaNode<E extends org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.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 fromNodetype Abstract class for Subject Area client node operations
- All Implemented Interfaces:
SubjectAreaClient<E>,SubjectAreaNodeClient<E>,org.odpi.openmetadata.commonservices.ffdc.rest.ResponseParameterization<E>
- Direct Known Subclasses:
SubjectAreaCategoryClient,SubjectAreaGlossaryClient,SubjectAreaProjectClient,SubjectAreaTermClient
public abstract class AbstractSubjectAreaNode<E extends org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Node>
extends AbstractSubjectArea<E>
implements SubjectAreaNodeClient<E>
-
Field Summary
Fields inherited from class org.odpi.openmetadata.accessservices.subjectarea.client.AbstractSubjectArea
BASE_RELATIONSHIPS_URL, SUBJECT_AREA_BASE_URLFields inherited from interface org.odpi.openmetadata.accessservices.subjectarea.client.SubjectAreaClient
EMPTY_FIND_REQUEST -
Method Summary
Modifier and TypeMethodDescriptionList<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship>getRelationships(String userId, String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest) Request to search relationships for current node.List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship>getRelationships(String userId, String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.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, responseType, restore, updateMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.odpi.openmetadata.commonservices.ffdc.rest.ResponseParameterization
getParameterizedType, resultTypeMethods inherited from interface org.odpi.openmetadata.accessservices.subjectarea.client.SubjectAreaClient
create, delete, find, find, find, findAll, findAll, getByGUID, replace, restore, update, updateMethods inherited from interface org.odpi.openmetadata.accessservices.subjectarea.client.SubjectAreaNodeClient
getAllRelationships
-
Method Details
-
getRelationships
public List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship> getRelationships(String userId, String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest, Integer maximumPageSizeOnRestCall) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Description copied from interface:SubjectAreaNodeClientRequest to search relationships for current node.- Specified by:
getRelationshipsin interfaceSubjectAreaNodeClient<E extends org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.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:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
getRelationships
public List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship> getRelationships(String userId, String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Description copied from interface:SubjectAreaNodeClientRequest to search relationships for current node.- Specified by:
getRelationshipsin interfaceSubjectAreaNodeClient<E extends org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.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:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-