public class RexViewHandler extends Object
| Constructor and Description |
|---|
RexViewHandler()
Constructor for the RexViewHandler
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,RexEntityDigest> |
findEntities(String userId,
String repositoryServerName,
String repositoryServerURLRoot,
boolean enterpriseOption,
String searchText,
String entityTypeName,
List<String> classificationNames,
String methodName)
Retrieve entities (by text search) from the repository server
|
Map<String,RexRelationshipDigest> |
findRelationships(String userId,
String repositoryServerName,
String repositoryServerURLRoot,
boolean enterpriseOption,
String searchText,
String relationshipTypeName,
String methodName)
Retrieve relationships (by text search) from the repository server
|
RexExpandedEntityDetail |
getEntity(String userId,
String repositoryServerName,
String repositoryServerURLRoot,
boolean enterpriseOption,
String entityGUID,
String methodName)
Retrieve entity (by GUID) from the repository server
|
RexExpandedRelationship |
getRelationship(String userId,
String repositoryServerName,
String repositoryServerURLRoot,
boolean enterpriseOption,
String relationshipGUID,
String methodName)
Retrieve relationship (by GUID) from the repository server
|
TypeExplorer |
getTypeExplorer(String userId,
String repositoryServerName,
String repositoryServerURLRoot,
boolean enterpriseOption,
String methodName)
Retrieve type information from the repository server
|
RexPreTraversal |
preTraversal(String userId,
String repositoryServerName,
String repositoryServerURLRoot,
boolean enterpriseOption,
String entityGUID,
int depth,
String methodName)
Retrieve the neighborhood surrounding an entity for pre-traversal.
|
RexTraversal |
traversal(String userId,
String repositoryServerName,
String repositoryServerURLRoot,
boolean enterpriseOption,
String entityGUID,
int depth,
List<String> entityTypeGUIDs,
List<String> relationshipTypeGUIDs,
List<String> classificationNames,
String methodName)
Retrieve the neighborhood surrounding an entity.
|
public TypeExplorer getTypeExplorer(String userId, String repositoryServerName, String repositoryServerURLRoot, boolean enterpriseOption, String methodName) throws RepositoryErrorException, InvalidParameterException, UserNotAuthorizedException
userId - userId under which the request is performedrepositoryServerName - The name of the repository server to interrogaterepositoryServerURLRoot - The URL root of the repository server to interrogateenterpriseOption - Whether the query is at cohort level or server specificmethodName - The name of the method being invokedUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalid.
Client library ExceptionsRepositoryErrorException - Repository could not satisfy the requestpublic RexExpandedEntityDetail getEntity(String userId, String repositoryServerName, String repositoryServerURLRoot, boolean enterpriseOption, String entityGUID, String methodName) throws RepositoryErrorException, InvalidParameterException, UserNotAuthorizedException, EntityNotKnownException, EntityProxyOnlyException
userId - userId under which the request is performedrepositoryServerName - The name of the repository server to interrogaterepositoryServerURLRoot - The URL root of 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 invokedUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalid.EntityNotKnownException - no entity was found using the supplied GUID.EntityProxyOnlyException - an entity proxy was found, but it's not the entity you are looking for.
Client library ExceptionsRepositoryErrorException - Repository could not satisfy the requestpublic RexExpandedRelationship getRelationship(String userId, String repositoryServerName, String repositoryServerURLRoot, boolean enterpriseOption, String relationshipGUID, String methodName) throws RepositoryErrorException, InvalidParameterException, UserNotAuthorizedException, RelationshipNotKnownException
userId - userId under which the request is performedrepositoryServerName - The name of the repository server to interrogaterepositoryServerURLRoot - The URL root of 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 invokedUserNotAuthorizedException - the requesting user is not authorized to issue this request.InvalidParameterException - one of the parameters is null or invalid.RelationshipNotKnownException - no relationship was found using the supplied GUID.
Client library ExceptionsRepositoryErrorException - Repository could not satisfy the requestpublic Map<String,RexEntityDigest> findEntities(String userId, String repositoryServerName, String repositoryServerURLRoot, boolean enterpriseOption, String searchText, String entityTypeName, List<String> classificationNames, String methodName) throws RepositoryErrorException, InvalidParameterException, UserNotAuthorizedException, TypeErrorException, PropertyErrorException, PagingErrorException, FunctionNotSupportedException
userId - userId under which the request is performedrepositoryServerName - The name of the repository server to interrogaterepositoryServerURLRoot - The URL root of 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 invokedInvalidParameterException - a parameter is invalid or null.TypeErrorException - the type guid passed on the request is not known by the metadata collection.RepositoryErrorException - there is a problem communicating with the metadata repository where
the metadata collection is stored.PropertyErrorException - the sequencing property specified is not valid for any of the requested types of
entity.PagingErrorException - the paging/sequencing parameters are set up incorrectly.FunctionNotSupportedException - the repository does not support the operation with the provided parameters.UserNotAuthorizedException - the userId is not permitted to perform this operation.public Map<String,RexRelationshipDigest> findRelationships(String userId, String repositoryServerName, String repositoryServerURLRoot, boolean enterpriseOption, String searchText, String relationshipTypeName, String methodName) throws RepositoryErrorException, InvalidParameterException, UserNotAuthorizedException, TypeErrorException, PropertyErrorException, PagingErrorException, FunctionNotSupportedException
userId - userId under which the request is performedrepositoryServerName - The name of the repository server to interrogaterepositoryServerURLRoot - The URL root of 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 invokedInvalidParameterException - a parameter is invalid or null.TypeErrorException - the type guid passed on the request is not known by the metadata collection.RepositoryErrorException - there is a problem communicating with the metadata repository where
the metadata collection is stored.PropertyErrorException - the sequencing property specified is not valid for any of the requested types of
entity.PagingErrorException - the paging/sequencing parameters are set up incorrectly.FunctionNotSupportedException - the repository does not support the operation with the provided parameters.UserNotAuthorizedException - the userId is not permitted to perform this operation.public RexPreTraversal preTraversal(String userId, String repositoryServerName, String repositoryServerURLRoot, boolean enterpriseOption, String entityGUID, int depth, String methodName) throws RepositoryErrorException, InvalidParameterException, EntityNotKnownException, EntityProxyOnlyException, UserNotAuthorizedException, TypeErrorException, PropertyErrorException, FunctionNotSupportedException
userId - userId under which the request is performedrepositoryServerName - The name of the repository server to interrogaterepositoryServerURLRoot - The URL root of 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 invokedInvalidParameterException - a parameter is invalid or null.TypeErrorException - the type guid passed on the request is not known by the metadata collection.EntityNotKnownException - the specified start entity could not be foundEntityProxyOnlyException - the specified start entity could not be foundRepositoryErrorException - there is a problem communicating with the metadata repository where
the metadata collection is stored.PropertyErrorException - the sequencing property specified is not valid for any of the requested types of
entity.FunctionNotSupportedException - the repository does not support the operation with the provided parameters.UserNotAuthorizedException - the userId is not permitted to perform this operation.public RexTraversal traversal(String userId, String repositoryServerName, String repositoryServerURLRoot, boolean enterpriseOption, String entityGUID, int depth, List<String> entityTypeGUIDs, List<String> relationshipTypeGUIDs, List<String> classificationNames, String methodName) throws RepositoryErrorException, InvalidParameterException, EntityNotKnownException, EntityProxyOnlyException, UserNotAuthorizedException, TypeErrorException, PropertyErrorException, FunctionNotSupportedException
userId - userId under which the request is performedrepositoryServerName - The name of the repository server to interrogaterepositoryServerURLRoot - The URL root of 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 invokedInvalidParameterException - a parameter is invalid or null.TypeErrorException - the type guid passed on the request is not known by the metadata collection.EntityNotKnownException - the specified start entity could not be foundEntityProxyOnlyException - the specified start entity could not be foundRepositoryErrorException - there is a problem communicating with the metadata repository where
the metadata collection is stored.PropertyErrorException - the sequencing property specified is not valid for any of the requested types of
entity.FunctionNotSupportedException - the repository does not support the operation with the provided parameters.UserNotAuthorizedException - the userId is not permitted to perform this operation.Copyright © 2018–2020 ODPi. All rights reserved.