public class DigitalArchitectureRESTClient extends FFDCRESTClient
auditLog, exceptionHandler, serverName, serverPlatformURLRoot| Constructor and Description |
|---|
DigitalArchitectureRESTClient(String serverName,
String serverPlatformURLRoot)
Constructor for no authentication.
|
DigitalArchitectureRESTClient(String serverName,
String serverPlatformURLRoot,
AuditLog auditLog)
Constructor for no authentication with audit log.
|
DigitalArchitectureRESTClient(String serverName,
String serverPlatformURLRoot,
String userId,
String password)
Constructor for simple userId and password authentication.
|
DigitalArchitectureRESTClient(String serverName,
String serverPlatformURLRoot,
String userId,
String password,
AuditLog auditLog)
Constructor for simple userId and password authentication with audit log.
|
| Modifier and Type | Method and Description |
|---|---|
LocationResponse |
callLocationGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a LocationResponse object.
|
LocationsResponse |
callLocationsGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a LocationsResponse object.
|
LocationsResponse |
callLocationsPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a LocationsResponse object.
|
ReferenceValueAssignmentDefinitionsResponse |
callReferenceValueAssignmentDefinitionsGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a ReferenceValueAssignmentDefinitionsResponse object.
|
ReferenceValueAssignmentItemsResponse |
callReferenceValueAssignmentItemsGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a ReferenceValueAssignmentItemsResponse object.
|
ValidValueAssignmentConsumersResponse |
callValidValueAssignmentConsumersGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a ValidValueAssignmentConsumersResponse object.
|
ValidValueAssignmentDefinitionsResponse |
callValidValueAssignmentDefinitionsGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a ValidValueAssignmentDefinitionsResponse object.
|
ValidValueResponse |
callValidValueGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a ValidValuesResponse object.
|
ValidValueMappingsResponse |
callValidValueMappingsGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a ValidValueMappingsResponse object.
|
ValidValuesResponse |
callValidValuesGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a ValidValuesResponse object.
|
ValidValuesImplAssetsResponse |
callValidValuesImplAssetsGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a ValidValuesImplAssetsResponse object.
|
ValidValuesImplDefinitionsResponse |
callValidValuesImplDefinitionsGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a ValidValuesImplDefinitionsResponse object.
|
ValidValuesMappingsResponse |
callValidValuesMappingsGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a ValidValueMappingsResponse object.
|
ValidValuesResponse |
callValidValuesPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a ValidValuesResponse object.
|
callConnectorTypeGetRESTCall, callCountGetRESTCall, callGUIDGetRESTCall, callGUIDListGetRESTCall, callGUIDListPostRESTCall, callGUIDPostRESTCall, callNameListGetRESTCall, callStringMapGetRESTCall, callVoidGetRESTCall, callVoidPostRESTCallcallDeleteRESTCall, callDeleteRESTCall, callGetRESTCall, callGetRESTCall, callGetRESTCallNoParams, callPostRESTCall, callPostRESTCall, callPostRESTCallNoParams, callPutRESTCall, callPutRESTCallpublic DigitalArchitectureRESTClient(String serverName, String serverPlatformURLRoot, AuditLog auditLog) throws InvalidParameterException
serverName - name of the OMAG Server to callserverPlatformURLRoot - URL root of the server platform where the OMAG Server is running.auditLog - destination for log messages.InvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public DigitalArchitectureRESTClient(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 DigitalArchitectureRESTClient(String serverName, String serverPlatformURLRoot, String userId, String password, AuditLog auditLog) throws InvalidParameterException
serverName - name of the OMAG Server to callserverPlatformURLRoot - URL root of the server platform where the OMAG Server is running.userId - user id for the HTTP requestpassword - password for the HTTP requestauditLog - destination for log messages.InvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public DigitalArchitectureRESTClient(String serverName, String serverPlatformURLRoot, String userId, String password) throws InvalidParameterException
serverName - name of the OMAG Server to callserverPlatformURLRoot - URL root of the server platform where the OMAG Server is running.userId - user id for the HTTP requestpassword - password for the HTTP requestInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public LocationResponse callLocationGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public LocationsResponse callLocationsGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public LocationsResponse callLocationsPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.requestBody - properties describing the valid value definition/setparams - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public ValidValueResponse callValidValueGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public ValidValuesResponse callValidValuesGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public ValidValuesResponse callValidValuesPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.requestBody - properties describing the valid value definition/setparams - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public ValidValueAssignmentConsumersResponse callValidValueAssignmentConsumersGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public ValidValueAssignmentDefinitionsResponse callValidValueAssignmentDefinitionsGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public ValidValuesImplAssetsResponse callValidValuesImplAssetsGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - something went wrong with the REST call stack.public ValidValuesImplDefinitionsResponse callValidValuesImplDefinitionsGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - something went wrong with the REST call stack.public ReferenceValueAssignmentDefinitionsResponse callReferenceValueAssignmentDefinitionsGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - something went wrong with the REST call stack.public ReferenceValueAssignmentItemsResponse callReferenceValueAssignmentItemsGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - something went wrong with the REST call stack.public ValidValueMappingsResponse callValidValueMappingsGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - something went wrong with the REST call stack.public ValidValuesMappingsResponse callValidValuesMappingsGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - something went wrong with the REST call stack.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.