Class ItemUpdatedEvent

    • Field Detail

      • TYPE

        public static final String TYPE
        The item updated event type.
    • Constructor Detail

      • ItemUpdatedEvent

        protected ItemUpdatedEvent​(String topic,
                                   String payload,
                                   ItemDTO item,
                                   ItemDTO oldItem)
        Constructs a new item updated event object.
        topic - the topic
        payload - the payload
        item - the item data transfer object
        oldItem - the old item data transfer object
    • Method Detail

      • getType

        public String getType()
        Description copied from interface: Event
        Gets the event type.
        the event type
      • getOldItem

        public ItemDTO getOldItem()
        Gets the old item.
        the oldItem