public interface DataAssetExchangeInterface extends SchemaExchangeInterface
| Modifier and Type | Method and Description |
|---|---|
void |
clearDataAssetAsReferenceData(String userId,
String assetManagerGUID,
String assetManagerName,
String assetGUID,
String assetExternalIdentifier)
Remove the reference data designation from the asset.
|
String |
createDataAsset(String userId,
String assetManagerGUID,
String assetManagerName,
boolean assetManagerIsHome,
String assetExternalIdentifier,
String assetExternalIdentifierName,
String assetExternalIdentifierUsage,
String assetExternalIdentifierSource,
KeyPattern assetExternalIdentifierKeyPattern,
Map<String,String> mappingProperties,
DataAssetProperties assetProperties)
Create a new metadata element to represent the root of an asset.
|
String |
createDataAssetFromTemplate(String userId,
String assetManagerGUID,
String assetManagerName,
boolean assetManagerIsHome,
String templateGUID,
String assetExternalIdentifier,
String assetExternalIdentifierName,
String assetExternalIdentifierUsage,
String assetExternalIdentifierSource,
KeyPattern assetExternalIdentifierKeyPattern,
Map<String,String> mappingProperties,
TemplateProperties templateProperties)
Create a new metadata element to represent an asset using an existing metadata element as a template.
|
List<DataAssetElement> |
findDataAssets(String userId,
String assetManagerGUID,
String assetManagerName,
String searchString,
int startFrom,
int pageSize)
Retrieve the list of asset metadata elements that contain the search string.
|
DataAssetElement |
getDataAssetByGUID(String userId,
String assetManagerGUID,
String assetManagerName,
String openMetadataGUID)
Retrieve the asset metadata element with the supplied unique identifier.
|
List<DataAssetElement> |
getDataAssetsByName(String userId,
String assetManagerGUID,
String assetManagerName,
String name,
int startFrom,
int pageSize)
Retrieve the list of asset metadata elements with a matching qualified or display name.
|
List<DataAssetElement> |
getDataAssetsForAssetManager(String userId,
String assetManagerGUID,
String assetManagerName,
int startFrom,
int pageSize)
Retrieve the list of assets created on behalf of the named asset manager.
|
void |
publishDataAsset(String userId,
String assetManagerGUID,
String assetManagerName,
String assetGUID)
Update the zones for the asset so that it becomes visible to consumers.
|
void |
removeDataAsset(String userId,
String assetManagerGUID,
String assetManagerName,
String assetGUID,
String assetExternalIdentifier)
Remove the metadata element representing an asset.
|
List<DataAssetElement> |
scanDataAssets(String userId,
String assetManagerGUID,
String assetManagerName,
int startFrom,
int pageSize)
Step through the assets visible to this caller.
|
void |
setDataAssetAsReferenceData(String userId,
String assetManagerGUID,
String assetManagerName,
String assetGUID,
String assetExternalIdentifier)
Classify the asset to indicate that it can be used as reference data.
|
void |
updateDataAsset(String userId,
String assetManagerGUID,
String assetManagerName,
String assetGUID,
String assetExternalIdentifier,
boolean isMergeUpdate,
DataAssetProperties assetProperties)
Update the metadata element representing an asset.
|
void |
withdrawDataAsset(String userId,
String assetManagerGUID,
String assetManagerName,
String assetGUID)
Update the zones for the asset so that it is no longer visible to consumers.
|
clearColumnAsPrimaryKey, clearForeignKeyRelationship, clearSchemaElementAsCalculatedValue, clearSchemaTypeParent, createSchemaAttribute, createSchemaAttributeFromTemplate, createSchemaType, createSchemaTypeFromTemplate, findSchemaAttributes, findSchemaType, getAttributesForSchemaType, getSchemaAttributeByGUID, getSchemaAttributesByName, getSchemaTypeByGUID, getSchemaTypeByName, getSchemaTypeForElement, getSchemaTypeParent, removeSchemaAttribute, removeSchemaType, setSchemaElementAsCalculatedValue, setupColumnAsPrimaryKey, setupForeignKeyRelationship, setupSchemaTypeParent, updateForeignKeyRelationship, updateSchemaAttribute, updateSchemaTypeString createDataAsset(String userId, String assetManagerGUID, String assetManagerName, boolean assetManagerIsHome, String assetExternalIdentifier, String assetExternalIdentifierName, String assetExternalIdentifierUsage, String assetExternalIdentifierSource, KeyPattern assetExternalIdentifierKeyPattern, Map<String,String> mappingProperties, DataAssetProperties assetProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callerassetManagerIsHome - ensure that only the asset manager can update this assetassetExternalIdentifier - unique identifier of the asset in the external asset managerassetExternalIdentifierName - name of property for the external identifier in the external asset managerassetExternalIdentifierUsage - optional usage description for the external identifier when calling the external asset managerassetExternalIdentifierSource - component that issuing this request.assetExternalIdentifierKeyPattern - pattern for the external identifier within the external asset manager (default is LOCAL_KEY)mappingProperties - additional properties to help with the mapping of the elements in the external asset manager and open metadataassetProperties - properties to storeInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)String createDataAssetFromTemplate(String userId, String assetManagerGUID, String assetManagerName, boolean assetManagerIsHome, String templateGUID, String assetExternalIdentifier, String assetExternalIdentifierName, String assetExternalIdentifierUsage, String assetExternalIdentifierSource, KeyPattern assetExternalIdentifierKeyPattern, Map<String,String> mappingProperties, TemplateProperties templateProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callerassetManagerIsHome - ensure that only the asset manager can update this assetassetExternalIdentifier - unique identifier of the asset in the external asset managerassetExternalIdentifierName - name of property for the external identifier in the external asset managerassetExternalIdentifierUsage - optional usage description for the external identifier when calling the external asset managerassetExternalIdentifierSource - component that issuing this request.assetExternalIdentifierKeyPattern - pattern for the external identifier within the external asset manager (default is LOCAL_KEY)mappingProperties - additional properties to help with the mapping of the elements in the external asset manager and open metadatatemplateGUID - unique identifier of the metadata element to copytemplateProperties - properties that override the templateInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void updateDataAsset(String userId, String assetManagerGUID, String assetManagerName, String assetGUID, String assetExternalIdentifier, boolean isMergeUpdate, DataAssetProperties assetProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callerassetGUID - unique identifier of the metadata element to updateassetExternalIdentifier - unique identifier of the asset in the external asset managerisMergeUpdate - should the new properties be merged with existing properties (true) or completely replace them (false)?assetProperties - new properties for this elementInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void publishDataAsset(String userId, String assetManagerGUID, String assetManagerName, String assetGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callerassetGUID - unique identifier of the metadata element to publishInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void withdrawDataAsset(String userId, String assetManagerGUID, String assetManagerName, String assetGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callerassetGUID - unique identifier of the metadata element to withdrawInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void removeDataAsset(String userId, String assetManagerGUID, String assetManagerName, String assetGUID, String assetExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callerassetGUID - unique identifier of the metadata element to removeassetExternalIdentifier - unique identifier of the asset in the external asset managerInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void setDataAssetAsReferenceData(String userId, String assetManagerGUID, String assetManagerName, String assetGUID, String assetExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callerassetGUID - unique identifier of the metadata element to updateassetExternalIdentifier - unique identifier of the asset in the external asset managerInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void clearDataAssetAsReferenceData(String userId, String assetManagerGUID, String assetManagerName, String assetGUID, String assetExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callerassetGUID - unique identifier of the metadata element to updateassetExternalIdentifier - unique identifier of the asset in the external asset managerInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)List<DataAssetElement> findDataAssets(String userId, String assetManagerGUID, String assetManagerName, String searchString, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callersearchString - string to find in the propertiesstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)List<DataAssetElement> scanDataAssets(String userId, String assetManagerGUID, String assetManagerName, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callerstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)List<DataAssetElement> getDataAssetsByName(String userId, String assetManagerGUID, String assetManagerName, String name, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callername - name to search forstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)List<DataAssetElement> getDataAssetsForAssetManager(String userId, String assetManagerGUID, String assetManagerName, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callerstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)DataAssetElement getDataAssetByGUID(String userId, String assetManagerGUID, String assetManagerName, String openMetadataGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the calleropenMetadataGUID - unique identifier of the requested metadata elementInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.