mil.dod.th.remote.client.integration/src/mil/dod/th/remote/client/integration/AssetUtils.java
public static void deleteAsset(BundleContext context, UUID assetUuid) throws IOException
    {
        DeleteRequestData deleteAssetRequest = DeleteRequestData.newBuilder()
                .setUuid(assetUuid)
                .build();
        AssetNamespace namespace = AssetNamespace.newBuilder()
                .setType(AssetMessageType.DeleteRequest)
                .setData(deleteAssetRequest.toByteString())
                .build();
        getMsgSenderService(context).sendRequest(SystemConstants.REMOTE_SYS_ID, TerraHarvestPayload.newBuilder()
                .setNamespace(Namespace.Asset)
                .setNamespaceMessage(namespace.toByteString()).build());
    }
/**
     * Delete an asset given its UUID.
     */
Delete an asset given its UUID.
Delete an asset given its UUID .
public static void deleteAsset(BundleContext context, UUID assetUuid) throws IOException
    {
        DeleteRequestData deleteAssetRequest = DeleteRequestData.newBuilder()
                .setUuid(assetUuid)
                .build();
        AssetNamespace namespace = AssetNamespace.newBuilder()
                .setType(AssetMessageType.DeleteRequest)
                .setData(deleteAssetRequest.toByteString())
                .build();
        getMsgSenderService(context).sendRequest(SystemConstants.REMOTE_SYS_ID, TerraHarvestPayload.newBuilder()
                .setNamespace(Namespace.Asset)
                .setNamespaceMessage(namespace.toByteString()).build());
    }
public static void deleteAsset ( BundleContext context , UUID assetUuid ) throws IOException { DeleteRequestData deleteAssetRequest = DeleteRequestData . newBuilder ( ) . setUuid ( assetUuid ) . build ( ) ; AssetNamespace namespace = AssetNamespace . newBuilder ( ) . setType ( AssetMessageType . DeleteRequest ) . setData ( deleteAssetRequest . toByteString ( ) ) . build ( ) ; getMsgSenderService ( context ) . sendRequest ( SystemConstants . REMOTE_SYS_ID , TerraHarvestPayload . newBuilder ( ) . setNamespace ( Namespace . Asset ) . setNamespaceMessage ( namespace . toByteString ( ) ) . build ( ) ) ; }
Delete an asset given its UUID.
Delete an asset given its UUID .