public class SubjectAreaGraphHandler extends SubjectAreaHandler
CATEGORY_ANCHOR_RELATIONSHIP_NAME, CATEGORY_HIERARCHY_LINK_RELATIONSHIP_NAME, CATEGORY_TYPE_NAME, GLOSSARY_TYPE_NAME, invalidParameterHandler, mappersFactory, maxPageSize, oMRSAPIHelper, PROJECT_SCOPE_RELATIONSHIP_NAME, PROJECT_TYPE_NAME, TERM_ANCHOR_RELATIONSHIP_NAME, TERM_CATEGORIZATION_RELATIONSHIP_NAME, TERM_TYPE_NAME| Constructor and Description |
|---|
SubjectAreaGraphHandler(OMRSAPIHelper oMRSAPIHelper,
int maxPageSize)
Construct the Subject Area Graph Handler
needed to operate within a single server instance.
|
| Modifier and Type | Method and Description |
|---|---|
SubjectAreaOMASAPIResponse<Graph> |
getGraph(String userId,
String guid,
Date asOfTime,
String nodeFilterStr,
String relationshipFilterStr,
StatusFilter statusFilter,
Integer level)
Get the graph of nodes and relationships radiating out from a node.
|
categoryMatchSearchCriteria, checkReadOnly, checkRelationshipReadOnly, convertOmrsToOmas, findEntities, getAllRelationshipForEntity, getAllRelationshipsForEntity, getMaxPageSize, getNodesFromEntityDetails, getRelatedNodesForEnd1, getRelatedNodesForEnd2, getRelationshipsFromRelationships, setUniqueQualifiedNameIfBlank, termMatchSearchCriteria, validateGlossarySummaryDuringCreationpublic SubjectAreaGraphHandler(OMRSAPIHelper oMRSAPIHelper, int maxPageSize)
oMRSAPIHelper - omrs API helpermaxPageSize - maximum page sizepublic SubjectAreaOMASAPIResponse<Graph> getGraph(String userId, String guid, Date asOfTime, String nodeFilterStr, String relationshipFilterStr, StatusFilter statusFilter, Integer level)
Return the nodes and relationships that radiate out from the supplied node (identified by a GUID). The results are scoped by types of relationships, types of nodes and classifications as well as level.
userId - userId under which the request is performedguid - the starting point of the query.nodeFilterStr - Comma separated list of node names to include in the query results. Null means include
all entities found, irrespective of their type.relationshipFilterStr - comma separated list of relationship names to include in the query results. Null means include
all relationships found, irrespective of their type.asOfTime - Requests a historical query of the relationships for the entity. Null means return the
present values.statusFilter - By default only active instances are returned. Specify ALL to see all instance in any status.level - the number of the relationships (relationships) out from the starting node that the query will traverse to
gather results. If not specified then it defaults to 3.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.