public class AssetContextHandler extends Object
| Constructor and Description |
|---|
AssetContextHandler(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(InvalidParameterHandler invalidParameterHandler, OMRSRepositoryHelper repositoryHelper, RepositoryHandler repositoryHandler, List<String> supportedZones)
invalidParameterHandler - 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) throws OCFCheckedExceptionBase
userId - the user idguid - the guidtype - the typeOCFCheckedExceptionBaseCopyright © 2018–2020 ODPi. All rights reserved.