Class UIExtensionEventListener<T extends UIComponent>

java.lang.Object
org.exoplatform.webui.event.EventListener<T>
org.exoplatform.webui.ext.UIExtensionEventListener<T>

public abstract class UIExtensionEventListener<T extends UIComponent> extends EventListener<T>
The event listener dedicated to UIExtension Created by The eXo Platform SAS Author : eXoPlatform nicolas.filotto@exoplatform.com May 05, 2009
  • Constructor Details

    • UIExtensionEventListener

      public UIExtensionEventListener()
  • Method Details

    • execute

      public void execute(Event<T> event) throws Exception
      Specified by:
      execute in class EventListener<T extends UIComponent>
      Throws:
      Exception
    • processEvent

      protected abstract void processEvent(Event<T> event) throws Exception
      All the filters passed so in this method, we can process the event without checking anything
      Parameters:
      event - the event to process
      Throws:
      Exception - if an exception occurs
    • createContext

      protected abstract Map<String,Object> createContext(Event<T> event) throws Exception
      Create the context from the given event
      Parameters:
      event - the event to convert into a context
      Returns:
      the context
      Throws:
      Exception - if an exception occurs
    • getExtensionType

      protected abstract String getExtensionType()
      Gives the type of the extension
      Returns:
      the type of the extension