Class SolrContentDeletedObserver

All Implemented Interfaces:
Observer, LogEnabled, Contextualizable, Serviceable

Observes UGC content deletion in order to synchronize the solr index.
  • Constructor Details

  • Method Details

    • supports

      public boolean supports(Event event)
      Description copied from interface: Observer
      Checks if the event is supported. If true, the observe(Event) method will be called.
      Parameters:
      event - the event.
      Returns:
      true for observing this event, false otherwise.
    • _internalObserve

      protected void _internalObserve(Event event, Page rootContentPage, Content content)
      Description copied from class: AbstractContentObserver
      Do the actual work.
      Specified by:
      _internalObserve in class AbstractContentObserver
      Parameters:
      event - the observation event.
      rootContentPage - the page holding the UGC content pages
      content - the UGC content.