public class CommunityProfileRESTClient extends FFDCRESTClient
auditLog, exceptionHandler, serverName, serverPlatformURLRoot| Constructor and Description |
|---|
CommunityProfileRESTClient(String serverName,
String serverPlatformURLRoot)
Constructor for no authentication.
|
CommunityProfileRESTClient(String serverName,
String serverPlatformURLRoot,
AuditLog auditLog)
Constructor for no authentication with audit log.
|
CommunityProfileRESTClient(String serverName,
String serverPlatformURLRoot,
String userId,
String password)
Constructor for simple userId and password authentication.
|
CommunityProfileRESTClient(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 |
|---|---|
AssetListResponse |
callAssetListGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a AssetListResponse object.
|
MetadataSourceResponse |
callMetadataSourceGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a MetadataSourceResponse object.
|
PersonalProfileResponse |
callPersonalProfileGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a PersonalProfileUniverse in a response object.
|
PersonalProfileListResponse |
callPersonalProfileListGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a list of PersonalProfileElements in a response object.
|
UserIdentityResponse |
callUserIdentityGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a UserIdentityElement in a response object.
|
UserIdentityListResponse |
callUserIdentityListGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a list of UserIdentityElements in a response object.
|
UserIdentityListResponse |
callUserIdentityListPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a GET REST call that returns a list of UserIdentityElements in a response object.
|
callConnectorTypeGetRESTCall, callCountGetRESTCall, callGUIDGetRESTCall, callGUIDListGetRESTCall, callGUIDListPostRESTCall, callGUIDPostRESTCall, callNameListGetRESTCall, callStringMapGetRESTCall, callVoidGetRESTCall, callVoidPostRESTCallcallDeleteRESTCall, callDeleteRESTCall, callGetRESTCall, callGetRESTCall, callGetRESTCallNoParams, callPostRESTCall, callPostRESTCall, callPostRESTCallNoParams, callPutRESTCall, callPutRESTCallpublic CommunityProfileRESTClient(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 CommunityProfileRESTClient(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 CommunityProfileRESTClient(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 CommunityProfileRESTClient(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 MetadataSourceResponse callMetadataSourceGetRESTCall(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 UserIdentityResponse callUserIdentityGetRESTCall(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 UserIdentityListResponse callUserIdentityListGetRESTCall(String methodName, String urlTemplate, 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 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 - something went wrong with the REST call stack.public UserIdentityListResponse callUserIdentityListPostRESTCall(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 - request body for the requestparams - 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 - something went wrong with the REST call stack.public PersonalProfileResponse callPersonalProfileGetRESTCall(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 PersonalProfileListResponse callPersonalProfileListGetRESTCall(String methodName, String urlTemplate, 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 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 - something went wrong with the REST call stack.public AssetListResponse callAssetListGetRESTCall(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.