Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.webengine.blogs.listeners
Class BlogActionListener

java.lang.Object
  extended by org.nuxeo.webengine.blogs.listeners.BlogActionListener
All Implemented Interfaces:
EventListener

public class BlogActionListener
extends Object
implements EventListener

Blog related actions listener.

Author:
Catalin Baican

Constructor Summary
BlogActionListener()
           
 
Method Summary
 void handleEvent(Event event)
          Sets the url field and the blog name (if not already set) to the name, respectively the title of the document model.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogActionListener

public BlogActionListener()
Method Detail

handleEvent

public void handleEvent(Event event)
                 throws ClientException
Sets the url field and the blog name (if not already set) to the name, respectively the title of the document model. Also the default theme settings are set depending of the received document type.

Specified by:
handleEvent in interface EventListener
Parameters:
event - the event
Throws:
ClientException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.