java.lang.Object
pt.unl.fct.di.novasys.babel.generic.ProtoNotification

public class StatusNotification extends CommonDataNotification
A notification informing the storage layer of a change in a specific object. This change can be raised upon an update on the object, such as a DELETE, that doesn't contain any payload.
  • Field Details

  • Constructor Details

    • StatusNotification

      public StatusNotification(CommonOperationType type, String keySpaceID, String collectionID, String objectID)
      Constructs a StatusNotification with the operation type that altered the object status, the keySpace identifier, the collection identifier, and the object identifier associated with the change.
      Parameters:
      type - the operation type that altered the object status.
      keySpaceID - the keySpace identifier
      collectionID - the collection identifier.
      objectID - the object identifier.
    • StatusNotification

      public StatusNotification(CommonOperationType type, String keySpaceID, String collectionID, String objectID, String message)
      Constructs a StatusNotification with the operation type that altered the object status, the keySpace identifier, the collection identifier, and the object identifier associated with the change. Additionally, the notification also stores a message describing the changes on the object.
      Parameters:
      type - the operation type that altered the object status.
      keySpaceID - the keySpace identifier
      collectionID - the collection identifier.
      objectID - the object identifier.
      message - describes the changes in the object.