Class SecurityManagerRESTClient
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClientBase
org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClient
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.client.OCFRESTClient
org.odpi.openmetadata.accessservices.securitymanager.client.rest.SecurityManagerRESTClient
public class SecurityManagerRESTClient
extends org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.client.OCFRESTClient
SecurityManagerRESTClient is responsible for issuing calls to the OMAS REST APIs.
-
Constructor Summary
ConstructorsConstructorDescriptionSecurityManagerRESTClient(String serverName, String serverPlatformURLRoot) Constructor for no authentication.SecurityManagerRESTClient(String serverName, String serverPlatformURLRoot, String userId, String password) Constructor for simple userId and password authentication.SecurityManagerRESTClient(String serverName, String serverPlatformURLRoot, String userId, String password, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) Constructor for simple userId and password authentication with audit log.SecurityManagerRESTClient(String serverName, String serverPlatformURLRoot, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) Constructor for no authentication with audit log. -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.accessservices.securitymanager.rest.ActorProfileResponsecallActorProfileGetRESTCall(String methodName, String urlTemplate, Object... params) Issue a GET REST call that returns a ActorProfileElement in a response object.org.odpi.openmetadata.accessservices.securitymanager.rest.ActorProfileListResponsecallActorProfileListGetRESTCall(String methodName, String urlTemplate, Object... params) Issue a GET REST call that returns a list of ActorProfileElements in a response object.org.odpi.openmetadata.accessservices.securitymanager.rest.ActorProfileListResponsecallActorProfileListPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) Issue a GET REST call that returns a list of ActorProfileElements in a response object.org.odpi.openmetadata.accessservices.securitymanager.rest.ElementStubsResponsecallElementStubsGetRESTCall(String methodName, String urlTemplate, Object... params) Issue a GET REST call that returns a ElementStubsResponse object.org.odpi.openmetadata.accessservices.securitymanager.rest.PersonRoleAppointeeListResponsecallPersonRoleAppointeeListPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) Issue a POST REST call that returns a list of PersonRoleAppointees in a response object.org.odpi.openmetadata.accessservices.securitymanager.rest.PersonRoleResponsecallPersonRoleGetRESTCall(String methodName, String urlTemplate, Object... params) Issue a GET REST call that returns a PersonRoleElement in a response object.org.odpi.openmetadata.accessservices.securitymanager.rest.PersonRoleListResponsecallPersonRoleListGetRESTCall(String methodName, String urlTemplate, Object... params) Issue a GET REST call that returns a list of PersonRoleElements in a response object.org.odpi.openmetadata.accessservices.securitymanager.rest.PersonRoleListResponsecallPersonRoleListPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) Issue a POST REST call that returns a list of PersonRoleElements in a response object.org.odpi.openmetadata.accessservices.securitymanager.rest.RelatedElementListResponsecallRelatedElementListGetRESTCall(String methodName, String urlTemplate, Object... params) Issue a GET REST call that returns a RelatedElementListResponse object.org.odpi.openmetadata.accessservices.securitymanager.rest.SecurityGroupResponsecallSecurityGroupGetRESTCall(String methodName, String urlTemplate, Object... params) Issue a GET REST call that returns a SecurityGroupResponse object.org.odpi.openmetadata.accessservices.securitymanager.rest.SecurityGroupResponsecallSecurityGroupPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) Issue a POST REST call that returns a SecurityGroupResponse object.org.odpi.openmetadata.accessservices.securitymanager.rest.SecurityGroupsResponsecallSecurityGroupsGetRESTCall(String methodName, String urlTemplate, Object... params) Issue a GET REST call that returns a SecurityGroupsResponse object.org.odpi.openmetadata.accessservices.securitymanager.rest.SecurityGroupsResponsecallSecurityGroupsPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) Issue a POST REST call that returns a SecurityGroupsResponse object.org.odpi.openmetadata.accessservices.securitymanager.rest.UserIdentitiesResponsecallUserIdentitiesGetRESTCall(String methodName, String urlTemplate, Object... params) Issue a GET REST call that returns a UserIdentitiesResponse object.org.odpi.openmetadata.accessservices.securitymanager.rest.UserIdentitiesResponsecallUserIdentitiesPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) Issue a POST REST call that returns a UserIdentitiesResponse object.org.odpi.openmetadata.accessservices.securitymanager.rest.UserIdentityResponsecallUserIdentityGetRESTCall(String methodName, String urlTemplate, Object... params) Issue a GET REST call that returns a UserIdentityResponse object.org.odpi.openmetadata.accessservices.securitymanager.rest.UserIdentityResponsecallUserIdentityPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) Issue a POST REST call that returns a UserIdentityResponse object.Methods inherited from class org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.client.OCFRESTClient
callOCFAssetGetRESTCall, callOCFAssetsGetRESTCall, callOCFAssetsPostRESTCall, callOCFConnectionGetRESTCall, callOCFTagGetRESTCall, callOCFTagListGetRESTCall, callOCFTagListPostRESTCallMethods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClient
callCountGetRESTCall, callGUIDGetRESTCall, callGUIDListGetRESTCall, callGUIDListPostRESTCall, callGUIDPostRESTCall, callNameListGetRESTCall, callOCFConnectorReportGetRESTCall, callStringMapGetRESTCall, callVoidGetRESTCall, callVoidPostRESTCallMethods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClientBase
callPostRESTCallNoParams
-
Constructor Details
-
SecurityManagerRESTClient
public SecurityManagerRESTClient(String serverName, String serverPlatformURLRoot, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Constructor for no authentication with audit log.- Parameters:
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.- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
SecurityManagerRESTClient
public SecurityManagerRESTClient(String serverName, String serverPlatformURLRoot) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Constructor for no authentication.- Parameters:
serverName- name of the OMAG Server to callserverPlatformURLRoot- URL root of the server manager where the OMAG Server is running.- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
SecurityManagerRESTClient
public SecurityManagerRESTClient(String serverName, String serverPlatformURLRoot, String userId, String password, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Constructor for simple userId and password authentication with audit log.- Parameters:
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.- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
SecurityManagerRESTClient
public SecurityManagerRESTClient(String serverName, String serverPlatformURLRoot, String userId, String password) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Constructor for simple userId and password authentication.- Parameters:
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 request- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
-
Method Details
-
callElementStubsGetRESTCall
public org.odpi.openmetadata.accessservices.securitymanager.rest.ElementStubsResponse callElementStubsGetRESTCall(String methodName, String urlTemplate, Object... params) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Issue a GET REST call that returns a ElementStubsResponse object.- Parameters:
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.- Returns:
- response object
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to make this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- the repository is not available or not working properly.
-
callRelatedElementListGetRESTCall
public org.odpi.openmetadata.accessservices.securitymanager.rest.RelatedElementListResponse callRelatedElementListGetRESTCall(String methodName, String urlTemplate, Object... params) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Issue a GET REST call that returns a RelatedElementListResponse object.- Parameters:
methodName- name of the method being called.urlTemplate- REST API call URL template with place-holders for the parameters.params- a list of parameters that are slotted into the url template.- Returns:
- response object
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to make this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- the repository is not available or not working properly.
-
callSecurityGroupGetRESTCall
public org.odpi.openmetadata.accessservices.securitymanager.rest.SecurityGroupResponse callSecurityGroupGetRESTCall(String methodName, String urlTemplate, Object... params) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Issue a GET REST call that returns a SecurityGroupResponse object.- Parameters:
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.- Returns:
- response object
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to make this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- the repository is not available or not working properly.
-
callSecurityGroupPostRESTCall
public org.odpi.openmetadata.accessservices.securitymanager.rest.SecurityGroupResponse callSecurityGroupPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Issue a POST REST call that returns a SecurityGroupResponse object.- Parameters:
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.- Returns:
- response object
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to make this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- the repository is not available or not working properly.
-
callSecurityGroupsGetRESTCall
public org.odpi.openmetadata.accessservices.securitymanager.rest.SecurityGroupsResponse callSecurityGroupsGetRESTCall(String methodName, String urlTemplate, Object... params) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Issue a GET REST call that returns a SecurityGroupsResponse object.- Parameters:
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.- Returns:
- response object
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to make this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- the repository is not available or not working properly.
-
callSecurityGroupsPostRESTCall
public org.odpi.openmetadata.accessservices.securitymanager.rest.SecurityGroupsResponse callSecurityGroupsPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Issue a POST REST call that returns a SecurityGroupsResponse object.- Parameters:
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.- Returns:
- response object
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to make this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- the repository is not available or not working properly.
-
callUserIdentityGetRESTCall
public org.odpi.openmetadata.accessservices.securitymanager.rest.UserIdentityResponse callUserIdentityGetRESTCall(String methodName, String urlTemplate, Object... params) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Issue a GET REST call that returns a UserIdentityResponse object.- Parameters:
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.- Returns:
- response object
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to make this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- the repository is not available or not working properly.
-
callUserIdentityPostRESTCall
public org.odpi.openmetadata.accessservices.securitymanager.rest.UserIdentityResponse callUserIdentityPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Issue a POST REST call that returns a UserIdentityResponse object.- Parameters:
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.- Returns:
- response object
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to make this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- the repository is not available or not working properly.
-
callUserIdentitiesGetRESTCall
public org.odpi.openmetadata.accessservices.securitymanager.rest.UserIdentitiesResponse callUserIdentitiesGetRESTCall(String methodName, String urlTemplate, Object... params) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Issue a GET REST call that returns a UserIdentitiesResponse object.- Parameters:
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.- Returns:
- response object
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to make this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- the repository is not available or not working properly.
-
callUserIdentitiesPostRESTCall
public org.odpi.openmetadata.accessservices.securitymanager.rest.UserIdentitiesResponse callUserIdentitiesPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Issue a POST REST call that returns a UserIdentitiesResponse object.- Parameters:
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.- Returns:
- response object
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to make this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- the repository is not available or not working properly.
-
callActorProfileGetRESTCall
public org.odpi.openmetadata.accessservices.securitymanager.rest.ActorProfileResponse callActorProfileGetRESTCall(String methodName, String urlTemplate, Object... params) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Issue a GET REST call that returns a ActorProfileElement in a response object.- Parameters:
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.- Returns:
- response object
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to make this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.
-
callActorProfileListGetRESTCall
public org.odpi.openmetadata.accessservices.securitymanager.rest.ActorProfileListResponse callActorProfileListGetRESTCall(String methodName, String urlTemplate, Object... params) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Issue a GET REST call that returns a list of ActorProfileElements in a response object.- Parameters:
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 template- Returns:
- response object
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to make this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.
-
callActorProfileListPostRESTCall
public org.odpi.openmetadata.accessservices.securitymanager.rest.ActorProfileListResponse callActorProfileListPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Issue a GET REST call that returns a list of ActorProfileElements in a response object.- Parameters:
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 template- Returns:
- response object
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to make this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.
-
callPersonRoleGetRESTCall
public org.odpi.openmetadata.accessservices.securitymanager.rest.PersonRoleResponse callPersonRoleGetRESTCall(String methodName, String urlTemplate, Object... params) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Issue a GET REST call that returns a PersonRoleElement in a response object.- Parameters:
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.- Returns:
- response object
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to make this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.
-
callPersonRoleListGetRESTCall
public org.odpi.openmetadata.accessservices.securitymanager.rest.PersonRoleListResponse callPersonRoleListGetRESTCall(String methodName, String urlTemplate, Object... params) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Issue a GET REST call that returns a list of PersonRoleElements in a response object.- Parameters:
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 template- Returns:
- response object
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to make this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.
-
callPersonRoleListPostRESTCall
public org.odpi.openmetadata.accessservices.securitymanager.rest.PersonRoleListResponse callPersonRoleListPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Issue a POST REST call that returns a list of PersonRoleElements in a response object.- Parameters:
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 template- Returns:
- response object
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to make this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.
-
callPersonRoleAppointeeListPostRESTCall
public org.odpi.openmetadata.accessservices.securitymanager.rest.PersonRoleAppointeeListResponse callPersonRoleAppointeeListPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Issue a POST REST call that returns a list of PersonRoleAppointees in a response object.- Parameters:
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 template- Returns:
- response object
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to make this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.
-