public class OMASServiceInstanceHandler extends AuditableServerServiceInstanceHandler
platformInstanceMap, serviceName| Constructor and Description |
|---|
OMASServiceInstanceHandler(String serviceName)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getDefaultZones(String userId,
String serverName,
String serviceOperationName)
Retrieve the default zones set up for this service instance.
|
RepositoryErrorHandler |
getErrorHandler(String userId,
String serverName,
String serviceOperationName)
Retrieve the handler for managing errors from the repository services.
|
RESTExceptionHandler |
getExceptionHandler()
Retrieve the exception handler that can package up common exceptions and pack them into
a REST Response.
|
OMRSMetadataCollection |
getMetadataCollection(String userId,
String serverName,
String serviceOperationName)
Retrieve the metadata collection for the access service.
|
List<String> |
getPublishZones(String userId,
String serverName,
String serviceOperationName)
Retrieve the publish zones set up for this service instance.
|
OMRSRepositoryConnector |
getRepositoryConnector(String userId,
String serverName,
String serviceOperationName)
Retrieve the repository connector for the access service.
|
RepositoryHandler |
getRepositoryHandler(String userId,
String serverName,
String serviceOperationName)
Retrieve the repository handler for the access service.
|
List<String> |
getSupportedZones(String userId,
String serverName,
String serviceOperationName)
Retrieve the supported zones set up for this service instance.
|
getAuditLoggetServerSecurityVerifier, getServerServiceInstance, getServiceName, isServerActive, removeServerServiceInstancepublic OMASServiceInstanceHandler(String serviceName)
serviceName - a descriptive name for the OMASpublic OMRSRepositoryConnector getRepositoryConnector(String userId, String serverName, String serviceOperationName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userIdserverName - name of the server tied to the requestserviceOperationName - name of the REST API call (typically the top-level methodName)InvalidParameterException - the server name is not knownUserNotAuthorizedException - the user is not authorized to issue the request.PropertyServerException - the service name is not known or the repository connector is
not available - indicating a logic errorpublic OMRSMetadataCollection getMetadataCollection(String userId, String serverName, String serviceOperationName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userIdserverName - name of the server tied to the requestserviceOperationName - name of the REST API call (typically the top-level methodName)InvalidParameterException - the server name is not knownUserNotAuthorizedException - the user is not authorized to issue the request.PropertyServerException - the service name is not known or the metadata collection is
not available - indicating a logic errorpublic RepositoryHandler getRepositoryHandler(String userId, String serverName, String serviceOperationName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userIdserverName - name of the server tied to the requestserviceOperationName - name of the REST API call (typically the top-level methodName)InvalidParameterException - the server name is not knownUserNotAuthorizedException - the user is not authorized to issue the request.PropertyServerException - the service name is not known or the metadata collection is
not available - indicating a logic errorpublic RepositoryErrorHandler getErrorHandler(String userId, String serverName, String serviceOperationName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userIdserverName - name of the server tied to the requestserviceOperationName - name of the REST API call (typically the top-level methodName)InvalidParameterException - the server name is not knownUserNotAuthorizedException - the user is not authorized to issue the request.PropertyServerException - the service name is not known or the metadata collection is
not available - indicating a logic errorpublic List<String> getSupportedZones(String userId, String serverName, String serviceOperationName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userIdserverName - name of the server tied to the requestserviceOperationName - name of the REST API call (typically the top-level methodName)InvalidParameterException - the server name is not knownUserNotAuthorizedException - the user is not authorized to issue the request.PropertyServerException - the service name is not known or the metadata collection is
not available - indicating a logic errorpublic List<String> getDefaultZones(String userId, String serverName, String serviceOperationName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userIdserverName - name of the server tied to the requestserviceOperationName - name of the REST API call (typically the top-level methodName)InvalidParameterException - the server name is not knownUserNotAuthorizedException - the user is not authorized to issue the request.PropertyServerException - the service name is not known or the metadata collection is
not available - indicating a logic errorpublic List<String> getPublishZones(String userId, String serverName, String serviceOperationName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userIdserverName - name of the server tied to the requestserviceOperationName - name of the REST API call (typically the top-level methodName)InvalidParameterException - the server name is not knownUserNotAuthorizedException - the user is not authorized to issue the request.PropertyServerException - the service name is not known or the metadata collection is
not available - indicating a logic errorpublic RESTExceptionHandler getExceptionHandler()
Copyright © 2018–2020 ODPi. All rights reserved.