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.WebRequestHandlerCreated 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.Loglogstatic org.exoplatform.web.controller.QualifiedNameREQUEST_TICKET_ID.
-
Constructor Summary
Constructors Constructor Description CustomerSpaceHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute(org.exoplatform.web.ControllerContext controllerContext)StringgetHandlerName()protected booleangetRequiresLifeCycle()
-
-
-
Method Detail
-
getHandlerName
public String getHandlerName()
- Specified by:
getHandlerNamein classorg.exoplatform.web.WebRequestHandler
-
execute
public boolean execute(org.exoplatform.web.ControllerContext controllerContext) throws Exception- Specified by:
executein classorg.exoplatform.web.WebRequestHandler- Throws:
Exception
-
getRequiresLifeCycle
protected boolean getRequiresLifeCycle()
- Specified by:
getRequiresLifeCyclein classorg.exoplatform.web.WebRequestHandler
-
-