# Uses of Interface
com.university.bookstore.observer.MaterialEvent

Packages that use MaterialEvent
Package
Description
com.university.bookstore.observer

- ## Uses of MaterialEvent in com.university.bookstore.observer

  Classes in com.university.bookstore.observer that implement MaterialEvent
  Modifier and Type
  Class
  Description
  `class`
  `MaterialAddedEvent`
  Event that occurs when a material is added to the system.
  `class`
  `PriceChangedEvent`
  Event that occurs when a material's price changes.
  Methods in com.university.bookstore.observer with parameters of type MaterialEvent
  Modifier and Type
  Method
  Description
  `void`
  MaterialEventPublisher.`notifyObservers(MaterialEvent event)`
  `void`
  MaterialSubject.`notifyObservers(MaterialEvent event)`
  Notifies all observers of a material event.
  `void`
  AnalyticsObserver.`onEvent(MaterialEvent event)`
  `void`
  AuditLogObserver.`onEvent(MaterialEvent event)`
  `void`
  InventoryObserver.`onEvent(MaterialEvent event)`
  `void`
  MaterialObserver.`onEvent(MaterialEvent event)`
  Called when a material event occurs.
  `void`
  MaterialEventPublisher.`publishEvent(MaterialEvent event)`
  Publishes a custom material event.