Class ContactMethodManagement

java.lang.Object
org.odpi.openmetadata.frameworkservices.omf.client.handlers.ContactDetailsHandler
org.odpi.openmetadata.accessservices.communityprofile.client.ContactMethodManagement

public class ContactMethodManagement extends ContactDetailsHandler
ContactMethodManagement is the client for explicitly managing contact details attached to an actor profile.
  • Constructor Details

    • ContactMethodManagement

      public ContactMethodManagement(String localServerName, String serverName, String serverPlatformURLRoot, AuditLog auditLog, int maxPageSize) throws InvalidParameterException
      Create a new client with no authentication embedded in the HTTP request.
      Parameters:
      localServerName - name of this server (view server)
      serverName - name of the server to connect to
      serverPlatformURLRoot - the network address of the server running the OMAS REST services
      auditLog - logging destination
      maxPageSize - maximum number of results supported by this server
      Throws:
      InvalidParameterException - there is a problem creating the client-side components to issue any REST API calls.
    • ContactMethodManagement

      public ContactMethodManagement(String localServerName, String serverName, String serverPlatformURLRoot, String userId, String password, AuditLog auditLog, int maxPageSize) throws InvalidParameterException
      Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.
      Parameters:
      serverName - name of the server to connect to
      serverPlatformURLRoot - the network address of the server running the OMAS REST services
      userId - caller's userId embedded in all HTTP requests
      password - caller's userId embedded in all HTTP requests
      maxPageSize - maximum number of results supported by this server
      auditLog - logging destination
      Throws:
      InvalidParameterException - there is a problem creating the client-side components to issue any REST API calls.