Interface RepositoryReceiver

All Superinterfaces:
OsidReceiver

public interface RepositoryReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedChildOfRepositories(Id notificationId, IdList repositoryIds)
    The callback for notifications of changes to children of repositories hierarchy nodes.
    void
    changedRepositories(Id notificationId, IdList repositoryIds)
    The callback for notification of updated repositories.
    void
    deletedRepositories(Id notificationId, IdList repositoryIds)
    The callback for notification of deleted repositories.
    void
    newRepositories(Id notificationId, IdList repositoryIds)
    The callback for notifications of new repositories.

    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

    • newRepositories

      void newRepositories(Id notificationId, IdList repositoryIds)
      The callback for notifications of new repositories.
      Parameters:
      notificationId - the notification Id
      repositoryIds - the Ids of the new Repositories
      Compliance:
      mandatory - This method must be implemented.
    • changedRepositories

      void changedRepositories(Id notificationId, IdList repositoryIds)
      The callback for notification of updated repositories.
      Parameters:
      notificationId - the notification Id
      repositoryIds - the Ids of the updated Repositories
      Compliance:
      mandatory - This method must be implemented.
    • deletedRepositories

      void deletedRepositories(Id notificationId, IdList repositoryIds)
      The callback for notification of deleted repositories.
      Parameters:
      notificationId - the notification Id
      repositoryIds - the Ids of the deleted Repositories
      Compliance:
      mandatory - This method must be implemented.
    • changedChildOfRepositories

      void changedChildOfRepositories(Id notificationId, IdList repositoryIds)
      The callback for notifications of changes to children of repositories hierarchy nodes.
      Parameters:
      notificationId - the notification Id
      repositoryIds - the Ids of the Repositories whose children have changed
      Compliance:
      mandatory - This method must be implemented.