Class CustomerSpaceHandler

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.web.WebRequestHandler
org.exoplatform.cs.portal.handler.CustomerSpaceHandler
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class CustomerSpaceHandler extends org.exoplatform.web.WebRequestHandler
Created by eXo Platform SAS. This handler will redirect requests for tickets from /portal/support/Ticket-Nbre to the right URL in the space forum This Handler needs to get added to the controller.xml file by adding this snippet : <!-- Customer space handler --> <route path="/support/{gtn:ticketID}"> <route-param qname="gtn:handler"> <value>customerspace</value> </route-param> </route>
Since:
15/11/17 10:15
Author:
Ali Hamdi
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static org.exoplatform.services.log.Log
     
    static final org.exoplatform.web.controller.QualifiedName
    .

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    execute(org.exoplatform.web.ControllerContext controllerContext)
     
     
    protected boolean
     

    Methods inherited from class org.exoplatform.web.WebRequestHandler

    onDestroy, onInit

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • log

      protected static org.exoplatform.services.log.Log log
    • REQUEST_TICKET_ID

      public static final org.exoplatform.web.controller.QualifiedName REQUEST_TICKET_ID
      .
  • Constructor Details

    • CustomerSpaceHandler

      public CustomerSpaceHandler()
  • Method Details

    • getHandlerName

      public String getHandlerName()
      Specified by:
      getHandlerName in class org.exoplatform.web.WebRequestHandler
    • execute

      public boolean execute(org.exoplatform.web.ControllerContext controllerContext) throws Exception
      Specified by:
      execute in class org.exoplatform.web.WebRequestHandler
      Throws:
      Exception
    • getRequiresLifeCycle

      protected boolean getRequiresLifeCycle()
      Specified by:
      getRequiresLifeCycle in class org.exoplatform.web.WebRequestHandler