org.silverpeas.servlets
Class GoToDocument

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.silverpeas.peasUtil.GoTo
              extended by org.silverpeas.servlets.GoToDocument
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
GoToVersion

public class GoToDocument
extends GoTo

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.silverpeas.peasUtil.GoTo
util
 
Constructor Summary
GoToDocument()
           
 
Method Summary
 String getDestination(String objectId, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 String redirectToFile(SimpleDocument version, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 
Methods inherited from class com.silverpeas.peasUtil.GoTo
displayError, doGet, doPost, getContentLanguage, getObjectId, getUserId, isUserAllowed, isUserLogin, setGefSpaceId
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoToDocument

public GoToDocument()
Method Detail

getDestination

public String getDestination(String objectId,
                             javax.servlet.http.HttpServletRequest req,
                             javax.servlet.http.HttpServletResponse res)
                      throws Exception
Specified by:
getDestination in class GoTo
Throws:
Exception

redirectToFile

public String redirectToFile(SimpleDocument version,
                             javax.servlet.http.HttpServletRequest req,
                             javax.servlet.http.HttpServletResponse res)
                      throws Exception
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.