Class UIExtensionEventListener<T extends org.exoplatform.webui.core.UIComponent>


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

      • UIExtensionEventListener

        public UIExtensionEventListener()
    • Method Detail

      • execute

        public void execute​(org.exoplatform.webui.event.Event<T> event)
                     throws Exception
        Specified by:
        execute in class org.exoplatform.webui.event.EventListener<T extends org.exoplatform.webui.core.UIComponent>
        Throws:
        Exception
      • processEvent

        protected abstract void processEvent​(org.exoplatform.webui.event.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​(org.exoplatform.webui.event.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