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 lineFilterStr,
StatusFilter statusFilter,
Integer level)
Get the graph of nodes and Lines radiating out from a node.
|
convertOmrsToOmas, findEntities, getAllLineForEntity, getAllRelationshipsForEntity, getLinesFromRelationships, getMaxPageSize, getNodesFromEntityDetails, getRelatedNodesForEnd1, getRelatedNodesForEnd2, setUniqueQualifiedNameIfBlank, 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 lineFilterStr, StatusFilter statusFilter, Integer level)
Return the nodes and Lines that radiate out from the supplied node (identified by a GUID). The results are scoped by types of Lines, 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.lineFilterStr - comma separated list of line names to include in the query results. Null means include
all Lines 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 Lines (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.