java.lang.Object
org.odpi.openmetadata.accessservices.securityofficer.server.services.SecurityOfficerRESTService

public class SecurityOfficerRESTService extends Object
The SecurityOfficerRESTService provides the server-side implementation of the Security Officer Open Metadata Assess Service (OMAS).
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.odpi.openmetadata.accessservices.securityofficer.api.model.rest.SecurityOfficerSchemaElementListResponse
    deleteSecurityTag(String serverName, String userId, String schemaElementId)
    Delete the security tag for the given schema element
    org.odpi.openmetadata.accessservices.securityofficer.api.model.rest.SecurityOfficerSecurityTagResponse
    getSecurityTagBySchemaElementId(String serverName, String userId, String schemaElementId)
    Returns the security tag for the given schema element
    org.odpi.openmetadata.accessservices.securityofficer.api.model.rest.SecurityOfficerSecurityTagListResponse
    getSecurityTags(String serverName, String userId)
    Returns the security tags available
    org.odpi.openmetadata.accessservices.securityofficer.api.model.rest.SecurityOfficerSchemaElementListResponse
    updateSecurityTag(String serverName, String userId, String schemaElementId, org.odpi.openmetadata.accessservices.securityofficer.api.model.SecurityClassification securityClassification)
    Save or update the security tag for the given schema element

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SecurityOfficerRESTService

      public SecurityOfficerRESTService()
  • Method Details

    • getSecurityTagBySchemaElementId

      public org.odpi.openmetadata.accessservices.securityofficer.api.model.rest.SecurityOfficerSecurityTagResponse getSecurityTagBySchemaElementId(String serverName, String userId, String schemaElementId)
      Returns the security tag for the given schema element
      Parameters:
      serverName - name of the server instances for this request
      userId - String - userId of user making request.
      schemaElementId - unique identifier of the schema element
    • getSecurityTags

      public org.odpi.openmetadata.accessservices.securityofficer.api.model.rest.SecurityOfficerSecurityTagListResponse getSecurityTags(String serverName, String userId)
      Returns the security tags available
      Parameters:
      serverName - name of the server instances for this request
      userId - String - userId of user making request.
    • updateSecurityTag

      public org.odpi.openmetadata.accessservices.securityofficer.api.model.rest.SecurityOfficerSchemaElementListResponse updateSecurityTag(String serverName, String userId, String schemaElementId, org.odpi.openmetadata.accessservices.securityofficer.api.model.SecurityClassification securityClassification)
      Save or update the security tag for the given schema element
      Parameters:
      serverName - name of the server instances for this request
      userId - String - userId of user making request.
      securityClassification - security tag assigned to the schema element
      schemaElementId - unique identifier of the schema element
    • deleteSecurityTag

      public org.odpi.openmetadata.accessservices.securityofficer.api.model.rest.SecurityOfficerSchemaElementListResponse deleteSecurityTag(String serverName, String userId, String schemaElementId)
      Delete the security tag for the given schema element
      Parameters:
      serverName - name of the server instances for this request
      userId - String - userId of user making request.
      schemaElementId - unique identifier of the schema element