public class AssetManagerRESTClient extends FFDCRESTClient
auditLog, exceptionHandler, serverName, serverPlatformURLRoot| Constructor and Description |
|---|
AssetManagerRESTClient(String serverName,
String serverPlatformURLRoot)
Constructor for no authentication.
|
AssetManagerRESTClient(String serverName,
String serverPlatformURLRoot,
AuditLog auditLog)
Constructor for no authentication with audit log.
|
AssetManagerRESTClient(String serverName,
String serverPlatformURLRoot,
String userId,
String password)
Constructor for simple userId and password authentication.
|
AssetManagerRESTClient(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 |
|---|---|
ControlFlowElementResponse |
callControlFlowPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a ControlFlowElementResponse object.
|
ControlFlowElementsResponse |
callControlFlowsPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a ControlFlowElementsResponse object.
|
AssetElementResponse |
callDataAssetPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a AssetElementResponse object.
|
AssetElementsResponse |
callDataAssetsPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a AssetElementsResponse object.
|
DataFlowElementResponse |
callDataFlowPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a DataFlowElementResponse object.
|
DataFlowElementsResponse |
callDataFlowsPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a DataFlowElementsResponse object.
|
ElementHeaderResponse |
callElementHeaderPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a ElementHeaderResponse object.
|
ElementHeadersResponse |
callElementHeadersPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a ElementHeadersResponse object.
|
ExternalGlossaryLinkElementsResponse |
callExternalGlossaryLinksGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a ExternalGlossaryLinkElementsResponse object.
|
GlossaryElementsResponse |
callGlossariesPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a GlossaryElementsResponse object.
|
GlossaryCategoryElementsResponse |
callGlossaryCategoriesPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a GlossaryCategoryElementsResponse object.
|
GlossaryCategoryElementResponse |
callGlossaryCategoryPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a GlossaryCategoryElementResponse object.
|
GlossaryElementResponse |
callGlossaryPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a GlossaryElementResponse object.
|
GlossaryTermElementResponse |
callGlossaryTermPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a GlossaryTermElementResponse object.
|
GlossaryTermElementsResponse |
callGlossaryTermsPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a GlossaryTermElementsResponse object.
|
LineageMappingElementsResponse |
callLineageMappingsPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a LineageMappingElementsResponse object.
|
PortElementResponse |
callPortPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a PortElementResponse object.
|
PortElementsResponse |
callPortsPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a PortElementsResponse object.
|
ProcessCallElementResponse |
callProcessCallPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a ProcessCallElementResponse object.
|
ProcessCallElementsResponse |
callProcessCallsPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a ProcessCallElementsResponse object.
|
ProcessElementsResponse |
callProcessesPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a ProcessElementsResponse object.
|
ProcessElementResponse |
callProcessPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a ProcessElementResponse object.
|
SchemaAttributeElementResponse |
callSchemaAttributePostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a SchemaAttributeElementResponse object.
|
SchemaAttributeElementsResponse |
callSchemaAttributesPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a SchemaAttributeElementsResponse object.
|
SchemaTypeElementResponse |
callSchemaTypePostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a SchemaTypeElementResponse object.
|
SchemaTypeElementsResponse |
callSchemaTypesPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a SchemaTypeElementsResponse object.
|
callCountGetRESTCall, callGUIDGetRESTCall, callGUIDListGetRESTCall, callGUIDListPostRESTCall, callGUIDPostRESTCall, callNameListGetRESTCall, callStringMapGetRESTCall, callVoidGetRESTCall, callVoidPostRESTCallcallDeleteRESTCall, callDeleteRESTCall, callGetRESTCall, callGetRESTCall, callGetRESTCallNoParams, callPostRESTCall, callPostRESTCall, callPostRESTCallNoParams, callPutRESTCall, callPutRESTCallpublic AssetManagerRESTClient(String serverName, String serverPlatformURLRoot, AuditLog auditLog) throws InvalidParameterException
serverName - name of the OMAG Server to callserverPlatformURLRoot - URL root of the server manager 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 AssetManagerRESTClient(String serverName, String serverPlatformURLRoot) throws InvalidParameterException
serverName - name of the OMAG Server to callserverPlatformURLRoot - URL root of the server manager where the OMAG Server is running.InvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public AssetManagerRESTClient(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 manager 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 AssetManagerRESTClient(String serverName, String serverPlatformURLRoot, String userId, String password) throws InvalidParameterException
serverName - name of the OMAG Server to callserverPlatformURLRoot - URL root of the server manager 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 GlossaryElementResponse callGlossaryPostRESTCall(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 - object that passes additional parametersparams - 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 GlossaryElementsResponse callGlossariesPostRESTCall(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 - object that passes additional parametersparams - 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 GlossaryCategoryElementResponse callGlossaryCategoryPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being calledurlTemplate - template of the URL for the REST API call with place-holders for the parametersrequestBody - object that passes additional parametersparams - a list of parameters that are slotted into the url templateInvalidParameterException - 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 GlossaryCategoryElementsResponse callGlossaryCategoriesPostRESTCall(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 - object that passes additional parametersparams - 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 GlossaryTermElementResponse callGlossaryTermPostRESTCall(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 - object that passes additional parametersparams - 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 GlossaryTermElementsResponse callGlossaryTermsPostRESTCall(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 - object that passes additional parametersparams - 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 ExternalGlossaryLinkElementsResponse callExternalGlossaryLinksGetRESTCall(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 ElementHeaderResponse callElementHeaderPostRESTCall(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 - object that passes additional parametersparams - 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 ElementHeadersResponse callElementHeadersPostRESTCall(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 - object that passes additional parametersparams - 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 AssetElementResponse callDataAssetPostRESTCall(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 - object that passes additional parametersparams - 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 AssetElementsResponse callDataAssetsPostRESTCall(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 - object that passes additional parametersparams - 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 PortElementResponse callPortPostRESTCall(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 - object that passes additional parametersparams - 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 PortElementsResponse callPortsPostRESTCall(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 - object that passes additional parametersparams - 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 ProcessElementResponse callProcessPostRESTCall(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 - object that passes additional parametersparams - 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 ProcessElementsResponse callProcessesPostRESTCall(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 - object that passes additional parametersparams - 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 SchemaAttributeElementResponse callSchemaAttributePostRESTCall(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 - object that passes additional parametersparams - 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 SchemaAttributeElementsResponse callSchemaAttributesPostRESTCall(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 - object that passes additional parametersparams - 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 SchemaTypeElementResponse callSchemaTypePostRESTCall(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 - object that passes additional parametersparams - 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 SchemaTypeElementsResponse callSchemaTypesPostRESTCall(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 - object that passes additional parametersparams - 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 DataFlowElementResponse callDataFlowPostRESTCall(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 - object that passes additional parametersparams - 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 DataFlowElementsResponse callDataFlowsPostRESTCall(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 - object that passes additional parametersparams - 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 ControlFlowElementResponse callControlFlowPostRESTCall(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 - object that passes additional parametersparams - 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 ControlFlowElementsResponse callControlFlowsPostRESTCall(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 - object that passes additional parametersparams - 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 ProcessCallElementResponse callProcessCallPostRESTCall(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 - object that passes additional parametersparams - 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 ProcessCallElementsResponse callProcessCallsPostRESTCall(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 - object that passes additional parametersparams - 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 LineageMappingElementsResponse callLineageMappingsPostRESTCall(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 - object that passes additional parametersparams - 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.Copyright © 2018–2020 ODPi. All rights reserved.