Interface ResourceRelationshipReceiver

All Superinterfaces:
OsidReceiver

public interface ResourceRelationshipReceiver extends OsidReceiver

The resource relationship receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deleted ResourceRelationships .

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedResourceRelationships(Id notificationId, IdList resourceRelationshipIds)
    The callback for notification of updated relationships.
    void
    deletedResourceRelationships(Id notificationId, IdList resourceRelationshipIds)
    The callback for notification of deleted relationships.
    void
    newResourceRelationships(Id notificationId, IdList resourceRelationshipIds)
    The callback for notifications of new relationships.

    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

    • newResourceRelationships

      void newResourceRelationships(Id notificationId, IdList resourceRelationshipIds)
      The callback for notifications of new relationships.
      Parameters:
      notificationId - the notification Id
      resourceRelationshipIds - the Ids of the new ResourceRelationships
      Compliance:
      mandatory - This method must be implemented.
    • changedResourceRelationships

      void changedResourceRelationships(Id notificationId, IdList resourceRelationshipIds)
      The callback for notification of updated relationships.
      Parameters:
      notificationId - the notification Id
      resourceRelationshipIds - the Ids of the updated ResourceRelationships
      Compliance:
      mandatory - This method must be implemented.
    • deletedResourceRelationships

      void deletedResourceRelationships(Id notificationId, IdList resourceRelationshipIds)
      The callback for notification of deleted relationships.
      Parameters:
      notificationId - the notification Id
      resourceRelationshipIds - the Ids of the deleted ResourceRelationships
      Compliance:
      mandatory - This method must be implemented.