Interface FileReceiver

All Superinterfaces:
OsidReceiver

public interface FileReceiver extends OsidReceiver

The file receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deleted files.

Like all OsidReceivers, notifications are delivered to FileReceiver serially and a receiver method is not invoked again until any previous invocation has returned.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedFiles(Id notificationId, IdList fileIds)
    The callback for notification of updated files.
    void
    deletedFiles(Id notificationId, IdList fileIds)
    the callback for notification of deleted files.
    void
    newFiles(Id notificationId, IdList fileIds)
    The callback for notifications of new files.

    Methods inherited from interface OsidReceiver

    down, up
  • Method Details

    • newFiles

      void newFiles(Id notificationId, IdList fileIds)
      The callback for notifications of new files.
      Parameters:
      notificationId - the notification Id
      fileIds - the Ids of the new files
      Compliance:
      mandatory - This method must be implemented.
    • changedFiles

      void changedFiles(Id notificationId, IdList fileIds)
      The callback for notification of updated files.
      Parameters:
      notificationId - the notification Id
      fileIds - the Ids of the changed files
      Compliance:
      mandatory - This method must be implemented.
    • deletedFiles

      void deletedFiles(Id notificationId, IdList fileIds)
      the callback for notification of deleted files.
      Parameters:
      notificationId - the notification Id
      fileIds - the Ids of the removed files
      Compliance:
      mandatory - This method must be implemented.