Class AssetHandler


  • public class AssetHandler
    extends ReferenceableHandler
    AssetHandler manages Asset objects and optionally connections in the property server. It runs server-side in the OMAG Server Platform and retrieves Assets and Connections through the OMRSRepositoryConnector.
    • Constructor Detail

      • AssetHandler

        public AssetHandler​(String serviceName,
                            String serverName,
                            InvalidParameterHandler invalidParameterHandler,
                            RepositoryHandler repositoryHandler,
                            OMRSRepositoryHelper repositoryHelper,
                            List<String> supportedZones,
                            List<String> publishZones,
                            List<String> defaultZones)
        Construct the asset handler with information needed to work with Asset objects.
        Parameters:
        serviceName - name of this service
        serverName - name of the local server
        invalidParameterHandler - handler for managing parameter errors
        repositoryHandler - handler for interfacing with the repository services
        repositoryHelper - helper utilities for managing repository services objects
        supportedZones - list of zones that the service is allowed to serve Assets from.
        publishZones - list of zones that the service should set in Assets when they are published.
        defaultZones - list of zones that the service should set in all new Assets and when they are withdrawn.