Interface AssetReceiver

All Superinterfaces:
OsidReceiver

public interface AssetReceiver extends OsidReceiver

The asset receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deleted Asset objects.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedAssets(Id notificationId, IdList assetIds)
    The callback for notification of updated assets.
    void
    deletedAssets(Id notificationId, IdList assetIds)
    the callback for notification of deleted assets.
    void
    newAssets(Id notificationId, IdList assetIds)
    The callback for notifications of new assets.

    Methods inherited from interface OsidReceiver

    down, up
    Modifier and Type
    Method
    Description
    void
    The callback for notifications that the notification bus is not operating.
    void
    up()
    The callback for notifications that the notification bus is operational.
  • Method Details

    • newAssets

      void newAssets(Id notificationId, IdList assetIds)
      The callback for notifications of new assets.
      Parameters:
      notificationId - the notification Id
      assetIds - the Ids of the new Assets
      Compliance:
      mandatory - This method must be implemented.
    • changedAssets

      void changedAssets(Id notificationId, IdList assetIds)
      The callback for notification of updated assets.
      Parameters:
      notificationId - the notification Id
      assetIds - the Ids of the updated Assets
      Compliance:
      mandatory - This method must be implemented.
    • deletedAssets

      void deletedAssets(Id notificationId, IdList assetIds)
      the callback for notification of deleted assets.
      Parameters:
      notificationId - the notification Id
      assetIds - the Ids of the deleted Assets
      Compliance:
      mandatory - This method must be implemented.