Interface AuthorizationReceiver

All Superinterfaces:
OsidReceiver

public interface AuthorizationReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedAuthorizations(Id notificationId, IdList authorizationIds)
    The callback for notification of updated authorization.
    void
    deletedAuthorizations(Id notificationId, IdList authorizationIds)
    The callback for notification of deleted authorizations.
    void
    newAuthorizations(Id notificationId, IdList authorizationIds)
    The callback for notifications of new authorizations.

    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

    • newAuthorizations

      void newAuthorizations(Id notificationId, IdList authorizationIds)
      The callback for notifications of new authorizations.
      Parameters:
      notificationId - the notification Id
      authorizationIds - the Id of the new Authorizations
      Compliance:
      mandatory - This method must be implemented.
    • changedAuthorizations

      void changedAuthorizations(Id notificationId, IdList authorizationIds)
      The callback for notification of updated authorization.
      Parameters:
      notificationId - the notification Id
      authorizationIds - the Id of the updated Authorizations
      Compliance:
      mandatory - This method must be implemented.
    • deletedAuthorizations

      void deletedAuthorizations(Id notificationId, IdList authorizationIds)
      The callback for notification of deleted authorizations.
      Parameters:
      notificationId - the notification Id
      authorizationIds - the Id of the deleted Authorizations
      Compliance:
      mandatory - This method must be implemented.