Class OnlyOfficeIndex

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.logicaldoc.onlyoffice.controllers.OnlyOfficeIndex
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

@WebServlet(name="OnlyOfficeIndex", urlPatterns="/onlyoffice/index") public class OnlyOfficeIndex extends jakarta.servlet.http.HttpServlet
See Also:
  • Field Summary

    Fields inherited from class jakarta.servlet.http.HttpServlet

    LEGACY_DO_HEAD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.logicaldoc.core.document.Document
    getDocument(long docId, com.logicaldoc.core.security.user.User user)
     
     

    Methods inherited from class jakarta.servlet.http.HttpServlet

    init, service

    Methods inherited from class jakarta.servlet.GenericServlet

    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OnlyOfficeIndex

      public OnlyOfficeIndex()
  • Method Details

    • getDocument

      public static com.logicaldoc.core.document.Document getDocument(long docId, com.logicaldoc.core.security.user.User user) throws com.logicaldoc.core.PersistenceException, FileNotFoundException
      Throws:
      com.logicaldoc.core.PersistenceException
      FileNotFoundException
    • getServletInfo

      public String getServletInfo()
      Specified by:
      getServletInfo in interface jakarta.servlet.Servlet
      Overrides:
      getServletInfo in class jakarta.servlet.GenericServlet