Class 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 Detail

      • log

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

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

      • CustomerSpaceHandler

        public CustomerSpaceHandler()
    • Method Detail

      • 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