public class SubjectAreaGraphHandler extends SubjectAreaHandler
oMRSAPIHelper| Constructor and Description |
|---|
SubjectAreaGraphHandler(OMRSAPIHelper oMRSAPIHelper)
Construct the Subject Area Graph Handler
needed to operate within a single server instance.
|
| Modifier and Type | Method and Description |
|---|---|
SubjectAreaOMASAPIResponse |
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.
|
protected SubjectAreaOMASAPIResponse |
getResponse(SubjectAreaOMASAPIResponse response)
Take an entityDetail response and map it to the appropriate Project orientated response
|
getRelationshipsFromGuid, validateGlossarySummaryDuringCreationpublic SubjectAreaGraphHandler(OMRSAPIHelper oMRSAPIHelper)
oMRSAPIHelper - omrs API helperprotected SubjectAreaOMASAPIResponse getResponse(SubjectAreaOMASAPIResponse response)
SubjectAreaHandlergetResponse in class SubjectAreaHandlerresponse - entityDetailResponsepublic SubjectAreaOMASAPIResponse 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–2020 ODPi. All rights reserved.