Class WidgetPublicationListener

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.listener.Listener<String,Object>
io.meeds.ide.listener.WidgetPublicationListener
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin, org.exoplatform.services.listener.ListenerBase<String,Object>

@Component public class WidgetPublicationListener extends org.exoplatform.services.listener.Listener<String,Object>
Glue on the two publication events of the layout, and on those two alone: a publication is the one write that makes a draft's widget copies live, so it is the one event that clears their unpublished marker. Synchronous inside the publishing call, the publishing user passed on, whose own copies alone are marked published; a failure is logged and never aborts the publication, whose layout is saved already: the copy then stays marked, served to the layout's editors only.
  • Field Summary

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    onEvent(org.exoplatform.services.listener.Event<String,Object> event)
     

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.exoplatform.services.listener.ListenerBase

    getName
  • Constructor Details

    • WidgetPublicationListener

      public WidgetPublicationListener()
  • Method Details

    • init

      @PostConstruct public void init()
    • onEvent

      public void onEvent(org.exoplatform.services.listener.Event<String,Object> event)