Class 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 -
Method Summary
Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setNameMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.exoplatform.services.listener.ListenerBase
getName
-
Constructor Details
-
WidgetPublicationListener
public WidgetPublicationListener()
-
-
Method Details
-
init
@PostConstruct public void init() -
onEvent
-