Class GoTo

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  GoTo.Context  
    • Constructor Summary

      Constructors 
      Constructor Description
      GoTo()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void doGet​(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)  
      void doPost​(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)  
      protected String getContentLanguage​(javax.servlet.http.HttpServletRequest request)
      Gets the content language specified into the request.
      abstract String getDestination​(String objectId, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)  
      String getDestination​(String objectId, GoTo.Context context)  
      String getObjectId​(javax.servlet.http.HttpServletRequest request)  
      String getUserId​(javax.servlet.http.HttpServletRequest req)  
      protected boolean isUserAllowed​(javax.servlet.http.HttpServletRequest req, String componentId)  
      protected boolean isUserLogin​(javax.servlet.http.HttpServletRequest req)  
      protected String sendJson​(String jsonContent)  
      protected void setGefSpaceId​(javax.servlet.http.HttpServletRequest req, String componentId)
      Set GEF and look helper space identifier
      • Methods inherited from class javax.servlet.http.HttpServlet

        doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
      • Methods inherited from class javax.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
    • Constructor Detail

      • GoTo

        public GoTo()
    • Method Detail

      • doGet

        public void doGet​(javax.servlet.http.HttpServletRequest req,
                          javax.servlet.http.HttpServletResponse res)
        Overrides:
        doGet in class javax.servlet.http.HttpServlet
      • doPost

        public void doPost​(javax.servlet.http.HttpServletRequest req,
                           javax.servlet.http.HttpServletResponse res)
        Overrides:
        doPost in class javax.servlet.http.HttpServlet
      • getDestination

        public abstract String getDestination​(String objectId,
                                              javax.servlet.http.HttpServletRequest req,
                                              javax.servlet.http.HttpServletResponse res)
                                       throws Exception
        Throws:
        Exception
      • sendJson

        protected String sendJson​(String jsonContent)
      • getObjectId

        public String getObjectId​(javax.servlet.http.HttpServletRequest request)
      • isUserLogin

        protected boolean isUserLogin​(javax.servlet.http.HttpServletRequest req)
      • isUserAllowed

        protected boolean isUserAllowed​(javax.servlet.http.HttpServletRequest req,
                                        String componentId)
      • getUserId

        public String getUserId​(javax.servlet.http.HttpServletRequest req)
      • setGefSpaceId

        protected void setGefSpaceId​(javax.servlet.http.HttpServletRequest req,
                                     String componentId)
        Set GEF and look helper space identifier
        Parameters:
        req - current HttpServletRequest
        componentId - the component identifier
      • getContentLanguage

        protected String getContentLanguage​(javax.servlet.http.HttpServletRequest request)
        Gets the content language specified into the request.