public class RexViewHandler extends Object
| Constructor and Description |
|---|
RexViewHandler()
Default constructor for RexViewHandler
|
RexViewHandler(List<ResourceEndpointConfig> resourceEndpoints)
Constructor for RexViewHandler with configured resourceEndpoints
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,RexEntityDigest> |
findEntities(String userId,
String repositoryServerName,
String platformName,
boolean enterpriseOption,
String searchText,
String entityTypeName,
List<String> classificationNames,
String methodName)
Retrieve entities (by text search) from the repository server
|
Map<String,RexRelationshipAndEntitiesDigest> |
findRelationships(String userId,
String repositoryServerName,
String platformName,
boolean enterpriseOption,
String searchText,
String relationshipTypeName,
String methodName)
Retrieve relationships (by text search) from the repository server
|
RexExpandedEntityDetail |
getEntity(String userId,
String repositoryServerName,
String platformName,
boolean enterpriseOption,
String entityGUID,
String methodName)
Retrieve entity (by GUID) from the repository server
|
RexExpandedRelationship |
getRelationship(String userId,
String repositoryServerName,
String platformName,
boolean enterpriseOption,
String relationshipGUID,
String methodName)
Retrieve relationship (by GUID) from the repository server
|
Map<String,List<ResourceEndpoint>> |
getResourceEndpoints(String userId,
String methodName)
getResourceEndpoints - returns a list of the configured resource endpoints.
|
TypeExplorer |
getTypeExplorer(String userId,
String repositoryServerName,
String platformName,
boolean enterpriseOption,
String methodName)
Retrieve type information from the repository server
|
RexPreTraversal |
preTraversal(String userId,
String repositoryServerName,
String platformName,
boolean enterpriseOption,
String entityGUID,
int depth,
String methodName)
Retrieve the neighborhood surrounding an entity for pre-traversal.
|
RexTraversal |
traversal(String userId,
String repositoryServerName,
String platformName,
boolean enterpriseOption,
String entityGUID,
int depth,
List<String> entityTypeGUIDs,
List<String> relationshipTypeGUIDs,
List<String> classificationNames,
String methodName)
Retrieve the neighborhood surrounding an entity.
|
public RexViewHandler()
public RexViewHandler(List<ResourceEndpointConfig> resourceEndpoints)
resourceEndpoints - - list of resource endpoint configuration objects for this view servicepublic Map<String,List<ResourceEndpoint>> getResourceEndpoints(String userId, String methodName)
userId - userId under which the request is performedmethodName - The name of the method being invokedpublic TypeExplorer getTypeExplorer(String userId, String repositoryServerName, String platformName, boolean enterpriseOption, String methodName) throws RexViewServiceException
userId - userId under which the request is performedrepositoryServerName - The name of the repository server to interrogateplatformName - The name of the platform running the repository server to interrogateenterpriseOption - Whether the query is at cohort level or server specificmethodName - The name of the method being invokedRexViewServiceException - an error was detected and details are reported in the exceptionpublic RexExpandedEntityDetail getEntity(String userId, String repositoryServerName, String platformName, boolean enterpriseOption, String entityGUID, String methodName) throws RexViewServiceException
userId - userId under which the request is performedrepositoryServerName - The name of the repository server to interrogateplatformName - The name of the platform running the repository server to interrogateenterpriseOption - Whether the query is at cohort level or server specificentityGUID - the GUID of the entity to retrievemethodName - The name of the method being invokedRexViewServiceException - an error was detected and details are reported in the exceptionpublic RexExpandedRelationship getRelationship(String userId, String repositoryServerName, String platformName, boolean enterpriseOption, String relationshipGUID, String methodName) throws RexViewServiceException
userId - userId under which the request is performedrepositoryServerName - The name of the repository server to interrogateplatformName - The name of the platform running the repository server to interrogateenterpriseOption - Whether the query is at cohort level or server specificrelationshipGUID - the GUID of the relationship to retrievemethodName - The name of the method being invokedRexViewServiceException - an error was detected and details are reported in the exceptionpublic Map<String,RexEntityDigest> findEntities(String userId, String repositoryServerName, String platformName, boolean enterpriseOption, String searchText, String entityTypeName, List<String> classificationNames, String methodName) throws RexViewServiceException
userId - userId under which the request is performedrepositoryServerName - The name of the repository server to interrogateplatformName - The name of the platform running the repository server to interrogateenterpriseOption - Whether the query is at cohort level or server specificsearchText - the search expression that entities must matchentityTypeName - the name of a type used to filter the entity searchclassificationNames - classification names to limit find bymethodName - The name of the method being invokedRexViewServiceException - an error was detected and details are reported in the exceptionpublic Map<String,RexRelationshipAndEntitiesDigest> findRelationships(String userId, String repositoryServerName, String platformName, boolean enterpriseOption, String searchText, String relationshipTypeName, String methodName) throws RexViewServiceException
userId - userId under which the request is performedrepositoryServerName - The name of the repository server to interrogateplatformName - The name of the platform running the repository server to interrogateenterpriseOption - Whether the query is at cohort level or server specificsearchText - the search expression that relationships must matchrelationshipTypeName - the name of a type used to filter the relationship searchmethodName - The name of the method being invokedRexViewServiceException - an error was detected and details are reported in the exceptionpublic RexPreTraversal preTraversal(String userId, String repositoryServerName, String platformName, boolean enterpriseOption, String entityGUID, int depth, String methodName) throws RexViewServiceException
userId - userId under which the request is performedrepositoryServerName - The name of the repository server to interrogateplatformName - The name of the platform running the repository server to interrogateenterpriseOption - Whether the query is at cohort level or server specificentityGUID - the identity of the entity from which to traversedepth - the depth to which the method should traversemethodName - The name of the method being invokedRexViewServiceException - an error was detected and details are reported in the exceptionpublic RexTraversal traversal(String userId, String repositoryServerName, String platformName, boolean enterpriseOption, String entityGUID, int depth, List<String> entityTypeGUIDs, List<String> relationshipTypeGUIDs, List<String> classificationNames, String methodName) throws RexViewServiceException
userId - userId under which the request is performedrepositoryServerName - The name of the repository server to interrogateplatformName - The name of the platform running the repository server to interrogateenterpriseOption - Whether the query is at cohort level or server specificentityGUID - the identity of the entity from which to traversedepth - the depth to which the method should traverseentityTypeGUIDs - the GUIDs of entity types to filter the neighborhoodrelationshipTypeGUIDs - the GUIDs of relationship types to filter the neighborhoodclassificationNames - the names of classification types to filter the neighborhoodmethodName - The name of the method being invokedRexViewServiceException - an error was detected and details are reported in the exceptionCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.