Interface AssetDecommissioningInterface


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 Type
    Method
    Description
    void
    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 org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.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 user
      assetGUID - unique identifier of the asset to delete
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - full path or userId is null
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing property server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - security access problem