public class SubjectAreaGraphImpl extends SubjectAreaBaseImpl implements SubjectAreaGraph
auditLog, exceptionHandler, serverName, serverPlatformURLRoot| Constructor and Description |
|---|
SubjectAreaGraphImpl(String serverName,
String serverPlatformURLRoot)
Constructor for no authentication.
|
| Modifier and Type | Method and Description |
|---|---|
Graph |
getGraph(String userId,
String guid,
Date asOfTime,
Set<NodeType> nodeFilter,
Set<LineType> lineFilter,
StatusFilter statusFilter,
Integer level)
Get the graph of nodes and Lines radiating out from a node.
|
deleteEntityRESTCall, deleteRelationshipRESTCall, encodeQueryProperty, findRESTCall, getByIdRESTCall, getRelationships, postRESTCall, purgeEntityRESTCall, purgeRelationshipRESTCall, putRESTCall, restoreRESTCallcallCountGetRESTCall, callGUIDGetRESTCall, callGUIDListGetRESTCall, callGUIDListPostRESTCall, callGUIDPostRESTCall, callNameListGetRESTCall, callStringMapGetRESTCall, callVoidGetRESTCall, callVoidPostRESTCallcallDeleteRESTCall, callGetRESTCall, callGetRESTCallNoParams, callPostRESTCall, callPostRESTCallNoParams, callPutRESTCallpublic SubjectAreaGraphImpl(String serverName, String serverPlatformURLRoot) throws InvalidParameterException
serverName - name of the OMAG Server to callserverPlatformURLRoot - URL root of the server platform where the OMAG Server is running.InvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public Graph getGraph(String userId, String guid, Date asOfTime, Set<NodeType> nodeFilter, Set<LineType> lineFilter, StatusFilter statusFilter, Integer level) throws UserNotAuthorizedException, InvalidParameterException, FunctionNotSupportedException, MetadataServerUncontactableException, UnexpectedResponseException, PropertyServerException
SubjectAreaGraphThe results are scoped by types of Lines, types of nodes and classifications as well as level.
getGraph in interface SubjectAreaGraphuserId - userId under which the request is performedguid - the starting point of the query.asOfTime - Requests a historical query of the Lines for the node. Null means return the
present values.nodeFilter - Set of the names of the nodes to include in the query results. Null means include
all nodes found, irrespective of their type.lineFilter - Set of names of Lines to include in the query results. Null means include
all Lines found, irrespective of their type.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.Exceptions returned by the server
UserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalid.FunctionNotSupportedException - Function not supportedMetadataServerUncontactableException - Unable to contact the serverUnexpectedResponseException - an unexpected response was returned from the serverPropertyServerException - property server exception
Client library Exceptions
Copyright © 2018–2020 ODPi. All rights reserved.