Class DataPrivacyServicesInstance


  • public class DataPrivacyServicesInstance
    extends OMASServiceInstance
    DataPrivacyServicesInstance caches references to objects for a specific server. It is also responsible for registering itself in the instance map.
    • Constructor Detail

      • DataPrivacyServicesInstance

        public DataPrivacyServicesInstance​(OMRSRepositoryConnector repositoryConnector,
                                           List<String> supportedZones,
                                           AuditLog auditLog,
                                           String localServerUserId,
                                           int maxPageSize)
                                    throws NewInstanceException
        Set up the handlers for this server.
        Parameters:
        repositoryConnector - link to the repository responsible for servicing the REST calls.
        supportedZones - list of zones that DataPrivacy is allowed to serve Assets from.
        auditLog - destination for audit log events.
        localServerUserId - userId used for server initiated actions
        maxPageSize - maximum number of results that can be returned on a single call
        Throws:
        NewInstanceException - a problem occurred during initialization