Interface AssetDecommissioningInterface
- All Known Implementing Classes:
AssetOwner
,AvroFileAssetOwner
,CSVFileAssetOwner
,FileSystemAssetOwner
,ValidValuesAssetOwner
public interface AssetDecommissioningInterface
The AssetDecommissioningInterface covers the steps that the asset owner needs to perform at the end of life of the
asset. The requirements may be part of the license for the asset, or come from the governance program.
It includes updating the state of the asset, moving it to an archiving or purging zone and sending a
notification to report that the asset is no longer needed. This notification will kick off the appropriate
cleanup processes.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteAsset
(String userId, String assetGUID) Deletes an asset and all of its associated elements such as schema, connections (unless they are linked to another asset), discovery reports and associated feedback.
-
Method Details
-
deleteAsset
void deleteAsset(String userId, String assetGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Deletes an asset and all of its associated elements such as schema, connections (unless they are linked to another asset), discovery reports and associated feedback. Given the depth of the delete operation performed by this call, it should be used with care.- Parameters:
userId
- calling userassetGUID
- unique identifier of the asset to delete- Throws:
InvalidParameterException
- full path or userId is nullPropertyServerException
- problem accessing property serverUserNotAuthorizedException
- security access problem
-