public class AssetContextHandler extends Object
| Constructor and Description |
|---|
AssetContextHandler(String serviceName,
String serverName,
InvalidParameterHandler invalidParameterHandler,
OMRSRepositoryHelper repositoryHelper,
RepositoryHandler repositoryHandler,
List<String> supportedZones)
Construct the discovery engine configuration handler caching the objects
needed to operate within a single server instance.
|
| Modifier and Type | Method and Description |
|---|---|
AssetContext |
getAssetContext(String userId,
String guid,
String type)
Gets asset context.
|
public AssetContextHandler(String serviceName, String serverName, InvalidParameterHandler invalidParameterHandler, OMRSRepositoryHelper repositoryHelper, RepositoryHandler repositoryHandler, List<String> supportedZones)
serviceName - name of the consuming serviceserverName - name of this server instanceinvalidParameterHandler - handler for invalid parametersrepositoryHelper - helper used by the convertersrepositoryHandler - handler for calling the repository servicessupportedZones - configurable list of zones that Asset Lineage is allowed to retrieve Assets frompublic AssetContext getAssetContext(String userId, String guid, String type)
userId - the user idguid - the guidtype - the typeCopyright © 2018–2020 ODPi. All rights reserved.