com.atlassian.confluence.tinymceplugin.listeners
Class PageLayoutCreateListener

java.lang.Object
  extended by com.atlassian.confluence.tinymceplugin.listeners.PageLayoutCreateListener

public class PageLayoutCreateListener
extends Object

Sends an event to the analytics server when a page/blog post is created using a page layout

Since:
v4.2

Constructor Summary
PageLayoutCreateListener(com.atlassian.event.api.EventPublisher eventPublisher, XhtmlContent xhtmlContent)
           
 
Method Summary
 void destroy()
           
 void onBlogPostCreateEvent(BlogPostCreateEvent event)
           
 void onPageCreateEvent(PageCreateEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageLayoutCreateListener

public PageLayoutCreateListener(com.atlassian.event.api.EventPublisher eventPublisher,
                                XhtmlContent xhtmlContent)
Method Detail

onPageCreateEvent

@EventListener
public void onPageCreateEvent(PageCreateEvent event)

onBlogPostCreateEvent

@EventListener
public void onBlogPostCreateEvent(BlogPostCreateEvent event)

destroy

public void destroy()
             throws Exception
Throws:
Exception


Copyright © 2003–2015 Atlassian. All rights reserved.