public class SecurityOfficerRequestHandler extends Object
| Constructor and Description |
|---|
SecurityOfficerRequestHandler(String serviceName,
String serverName,
InvalidParameterHandler invalidParameterHandler,
RepositoryHandler repositoryHandler,
OMRSMetadataCollection metadataCollection,
OMRSRepositoryHelper repositoryHelper,
RepositoryErrorHandler errorHandler,
List<String> supportedZones,
SecurityOfficerPublisher securityOfficerPublisher)
Construct the handler information needed to interact with the repository services
|
| Modifier and Type | Method and Description |
|---|---|
List<SecuritySchemaElement> |
deleteSecurityTagBySchemaElementId(String userId,
String schemaElementId,
String methodName) |
List<SecurityClassification> |
getAvailableSecurityTags(String userId,
String methodName) |
SecurityClassification |
getSecurityTagBySchemaElementId(String userId,
String schemaElementId,
String methodName) |
List<SecuritySchemaElement> |
updateSecurityTagBySchemaElementId(String userId,
String schemaElementId,
SecurityClassification securityClassification,
String methodName) |
public SecurityOfficerRequestHandler(String serviceName, String serverName, InvalidParameterHandler invalidParameterHandler, RepositoryHandler repositoryHandler, OMRSMetadataCollection metadataCollection, OMRSRepositoryHelper repositoryHelper, RepositoryErrorHandler errorHandler, List<String> supportedZones, SecurityOfficerPublisher securityOfficerPublisher)
serviceName - name of this serviceserverName - name of the local serverinvalidParameterHandler - handler for managing parameter errorsrepositoryHandler - manages calls to the repository servicesrepositoryHelper - provides utilities for manipulating the repository services objectserrorHandler - provides utilities for manipulating the repository servicessupportedZones - setting of the supported zones for the handlersecurityOfficerPublisher - outbound publisherpublic SecurityClassification getSecurityTagBySchemaElementId(String userId, String schemaElementId, String methodName) throws PropertyServerException
PropertyServerExceptionpublic List<SecuritySchemaElement> updateSecurityTagBySchemaElementId(String userId, String schemaElementId, SecurityClassification securityClassification, String methodName) throws PropertyServerException, RepositoryErrorException, ClassificationErrorException, UserNotAuthorizedException, EntityNotKnownException, FunctionNotSupportedException, InvalidParameterException, PropertyErrorException, EntityProxyOnlyException, TypeDefNotKnownException, TypeErrorException, PagingErrorException
PropertyServerExceptionRepositoryErrorExceptionClassificationErrorExceptionUserNotAuthorizedExceptionEntityNotKnownExceptionFunctionNotSupportedExceptionInvalidParameterExceptionPropertyErrorExceptionEntityProxyOnlyExceptionTypeDefNotKnownExceptionTypeErrorExceptionPagingErrorExceptionpublic List<SecuritySchemaElement> deleteSecurityTagBySchemaElementId(String userId, String schemaElementId, String methodName) throws PropertyServerException, RepositoryErrorException, UserNotAuthorizedException, EntityProxyOnlyException, InvalidParameterException, EntityNotKnownException, ClassificationErrorException, TypeErrorException, TypeDefNotKnownException, PagingErrorException, FunctionNotSupportedException, PropertyErrorException
PropertyServerExceptionRepositoryErrorExceptionUserNotAuthorizedExceptionEntityProxyOnlyExceptionInvalidParameterExceptionEntityNotKnownExceptionClassificationErrorExceptionTypeErrorExceptionTypeDefNotKnownExceptionPagingErrorExceptionFunctionNotSupportedExceptionPropertyErrorExceptionpublic List<SecurityClassification> getAvailableSecurityTags(String userId, String methodName) throws PropertyServerException, RepositoryErrorException, InvalidParameterException, TypeDefNotKnownException, UserNotAuthorizedException, TypeErrorException, FunctionNotSupportedException, ClassificationErrorException, PagingErrorException, PropertyErrorException
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.