public class DataAssetExchangeRESTServices extends Object
| Constructor and Description |
|---|
DataAssetExchangeRESTServices()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
clearDataAssetAsReferenceData(String serverName,
String userId,
String assetGUID,
MetadataCorrelationProperties requestBody)
Remove the reference data designation from the asset.
|
GUIDResponse |
createDataAsset(String serverName,
String userId,
boolean assetManagerIsHome,
DataAssetRequestBody requestBody)
Create a new metadata element to represent the root of an asset.
|
GUIDResponse |
createDataAssetFromTemplate(String serverName,
String userId,
boolean assetManagerIsHome,
String templateGUID,
TemplateRequestBody requestBody)
Create a new metadata element to represent an asset using an existing metadata element as a template.
|
DataAssetElementsResponse |
findDataAssets(String serverName,
String userId,
int startFrom,
int pageSize,
SearchStringRequestBody requestBody)
Retrieve the list of asset metadata elements that contain the search string.
|
DataAssetElementResponse |
getDataAssetByGUID(String serverName,
String userId,
String assetGUID,
AssetManagerIdentifiersRequestBody requestBody)
Retrieve the asset metadata element with the supplied unique identifier.
|
DataAssetElementsResponse |
getDataAssetsByName(String serverName,
String userId,
int startFrom,
int pageSize,
NameRequestBody requestBody)
Retrieve the list of asset metadata elements with a matching qualified or display name.
|
DataAssetElementsResponse |
getDataAssetsForAssetManager(String serverName,
String userId,
int startFrom,
int pageSize,
AssetManagerIdentifiersRequestBody requestBody)
Retrieve the list of assets created on behalf of the named asset manager.
|
VoidResponse |
publishDataAsset(String serverName,
String userId,
String assetGUID,
AssetManagerIdentifiersRequestBody requestBody)
Update the zones for the asset so that it becomes visible to consumers.
|
VoidResponse |
removeDataAsset(String serverName,
String userId,
String assetGUID,
MetadataCorrelationProperties requestBody)
Remove the metadata element representing an asset.
|
DataAssetElementsResponse |
scanDataAssets(String serverName,
String userId,
int startFrom,
int pageSize,
AssetManagerIdentifiersRequestBody requestBody)
Step through the assets visible to this caller.
|
VoidResponse |
setDataAssetAsReferenceData(String serverName,
String userId,
String assetGUID,
MetadataCorrelationProperties requestBody)
Classify the asset to indicate that it can be used as reference data.
|
VoidResponse |
updateDataAsset(String serverName,
String userId,
String assetGUID,
boolean isMergeUpdate,
DataAssetRequestBody requestBody)
Update the metadata element representing an asset.
|
VoidResponse |
withdrawDataAsset(String serverName,
String userId,
String assetGUID,
AssetManagerIdentifiersRequestBody requestBody)
Update the zones for the asset so that it is no longer visible to consumers.
|
public DataAssetExchangeRESTServices()
public GUIDResponse createDataAsset(String serverName, String userId, boolean assetManagerIsHome, DataAssetRequestBody requestBody)
serverName - name of the server to route the request touserId - calling userassetManagerIsHome - ensure that only the asset manager can update this assetrequestBody - properties to storepublic GUIDResponse createDataAssetFromTemplate(String serverName, String userId, boolean assetManagerIsHome, String templateGUID, TemplateRequestBody requestBody)
serverName - name of the server to route the request touserId - calling userassetManagerIsHome - ensure that only the asset manager can update this assettemplateGUID - unique identifier of the metadata element to copyrequestBody - properties that override the template and correlate to external identifierspublic VoidResponse updateDataAsset(String serverName, String userId, String assetGUID, boolean isMergeUpdate, DataAssetRequestBody requestBody)
serverName - name of the server to route the request touserId - calling userassetGUID - unique identifier of the metadata element to updateisMergeUpdate - should the new properties be merged with existing properties (true) or completely replace them (false)?requestBody - new properties for this elementpublic VoidResponse publishDataAsset(String serverName, String userId, String assetGUID, AssetManagerIdentifiersRequestBody requestBody)
serverName - name of the server to route the request touserId - calling userassetGUID - unique identifier of the metadata element to publishrequestBody - correlation propertiespublic VoidResponse withdrawDataAsset(String serverName, String userId, String assetGUID, AssetManagerIdentifiersRequestBody requestBody)
serverName - name of the server to route the request touserId - calling userassetGUID - unique identifier of the metadata element to withdrawrequestBody - correlation propertiespublic VoidResponse removeDataAsset(String serverName, String userId, String assetGUID, MetadataCorrelationProperties requestBody)
serverName - name of the server to route the request touserId - calling userassetGUID - unique identifier of the metadata element to removerequestBody - correlation propertiespublic VoidResponse setDataAssetAsReferenceData(String serverName, String userId, String assetGUID, MetadataCorrelationProperties requestBody)
serverName - name of the server to route the request touserId - calling userassetGUID - unique identifier of the metadata element to updaterequestBody - correlation propertiespublic VoidResponse clearDataAssetAsReferenceData(String serverName, String userId, String assetGUID, MetadataCorrelationProperties requestBody)
serverName - name of the server to route the request touserId - calling userassetGUID - unique identifier of the metadata element to updaterequestBody - correlation propertiespublic DataAssetElementsResponse findDataAssets(String serverName, String userId, int startFrom, int pageSize, SearchStringRequestBody requestBody)
serverName - name of the server to route the request touserId - calling userstartFrom - paging start pointpageSize - maximum results that can be returnedrequestBody - search parameter and correlation propertiespublic DataAssetElementsResponse scanDataAssets(String serverName, String userId, int startFrom, int pageSize, AssetManagerIdentifiersRequestBody requestBody)
serverName - name of the server to route the request touserId - calling userstartFrom - paging start pointpageSize - maximum results that can be returnedrequestBody - search parameter and correlation propertiespublic DataAssetElementsResponse getDataAssetsByName(String serverName, String userId, int startFrom, int pageSize, NameRequestBody requestBody)
serverName - name of the server to route the request touserId - calling userstartFrom - paging start pointpageSize - maximum results that can be returnedrequestBody - search parameter and correlation propertiespublic DataAssetElementsResponse getDataAssetsForAssetManager(String serverName, String userId, int startFrom, int pageSize, AssetManagerIdentifiersRequestBody requestBody)
serverName - name of the server to route the request touserId - calling userstartFrom - paging start pointpageSize - maximum results that can be returnedrequestBody - search parameters and correlation propertiespublic DataAssetElementResponse getDataAssetByGUID(String serverName, String userId, String assetGUID, AssetManagerIdentifiersRequestBody requestBody)
serverName - name of the server to route the request touserId - calling userassetGUID - unique identifier of the requested metadata elementrequestBody - correlation propertiesCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.