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

    Constructors
    Constructor
    Description
    SecurityManagerRESTClient(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 Type
    Method
    Description
    org.odpi.openmetadata.accessservices.securitymanager.rest.ActorProfileResponse
    callActorProfileGetRESTCall(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.ActorProfileListResponse
    callActorProfileListGetRESTCall(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.ActorProfileListResponse
    callActorProfileListPostRESTCall(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.ElementStubsResponse
    callElementStubsGetRESTCall(String methodName, String urlTemplate, Object... params)
    Issue a GET REST call that returns a ElementStubsResponse object.
    org.odpi.openmetadata.accessservices.securitymanager.rest.PersonRoleAppointeeListResponse
    callPersonRoleAppointeeListPostRESTCall(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.PersonRoleResponse
    callPersonRoleGetRESTCall(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.PersonRoleListResponse
    callPersonRoleListGetRESTCall(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.PersonRoleListResponse
    callPersonRoleListPostRESTCall(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.RelatedElementListResponse
    callRelatedElementListGetRESTCall(String methodName, String urlTemplate, Object... params)
    Issue a GET REST call that returns a RelatedElementListResponse object.
    org.odpi.openmetadata.accessservices.securitymanager.rest.SecurityGroupResponse
    callSecurityGroupGetRESTCall(String methodName, String urlTemplate, Object... params)
    Issue a GET REST call that returns a SecurityGroupResponse object.
    org.odpi.openmetadata.accessservices.securitymanager.rest.SecurityGroupResponse
    callSecurityGroupPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params)
    Issue a POST REST call that returns a SecurityGroupResponse object.
    org.odpi.openmetadata.accessservices.securitymanager.rest.SecurityGroupsResponse
    callSecurityGroupsGetRESTCall(String methodName, String urlTemplate, Object... params)
    Issue a GET REST call that returns a SecurityGroupsResponse object.
    org.odpi.openmetadata.accessservices.securitymanager.rest.SecurityGroupsResponse
    callSecurityGroupsPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params)
    Issue a POST REST call that returns a SecurityGroupsResponse object.
    org.odpi.openmetadata.accessservices.securitymanager.rest.UserIdentitiesResponse
    callUserIdentitiesGetRESTCall(String methodName, String urlTemplate, Object... params)
    Issue a GET REST call that returns a UserIdentitiesResponse object.
    org.odpi.openmetadata.accessservices.securitymanager.rest.UserIdentitiesResponse
    callUserIdentitiesPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params)
    Issue a POST REST call that returns a UserIdentitiesResponse object.
    org.odpi.openmetadata.accessservices.securitymanager.rest.UserIdentityResponse
    callUserIdentityGetRESTCall(String methodName, String urlTemplate, Object... params)
    Issue a GET REST call that returns a UserIdentityResponse object.
    org.odpi.openmetadata.accessservices.securitymanager.rest.UserIdentityResponse
    callUserIdentityPostRESTCall(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, callOCFTagListPostRESTCall

    Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClient

    callCountGetRESTCall, callGUIDGetRESTCall, callGUIDListGetRESTCall, callGUIDListPostRESTCall, callGUIDPostRESTCall, callNameListGetRESTCall, callOCFConnectorReportGetRESTCall, callStringMapGetRESTCall, callVoidGetRESTCall, callVoidPostRESTCall

    Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClientBase

    callPostRESTCallNoParams

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 call
      serverPlatformURLRoot - 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 call
      serverPlatformURLRoot - 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 call
      serverPlatformURLRoot - URL root of the server manager where the OMAG Server is running.
      userId - user id for the HTTP request
      password - password for the HTTP request
      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, 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 call
      serverPlatformURLRoot - URL root of the server manager where the OMAG Server is running.
      userId - user id for the HTTP request
      password - 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 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.
    • 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 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.
    • 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 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.
    • 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 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.
    • 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 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.
    • 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 called
      urlTemplate - template of the URL for the REST API call with place-holders for the parameters
      requestBody - request body for the request
      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.
    • 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 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.
    • 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 called
      urlTemplate - template of the URL for the REST API call with place-holders for the parameters
      requestBody - request body for the request
      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.
    • 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 called
      urlTemplate - template of the URL for the REST API call with place-holders for the parameters
      requestBody - request body for the request
      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.