Class WebcontentUtil

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
com.logicaldoc.web.service.AbstractRemoteService
com.logicaldoc.webcontent.WebcontentUtil
All Implemented Interfaces:
com.google.gwt.user.server.rpc.SerializationPolicyProvider, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class WebcontentUtil extends com.logicaldoc.web.service.AbstractRemoteService
Some utility methods to be invoked from jsp.
Since:
6.8.1
Author:
Marco Meschieri - LogicalDOC
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getContentAsString(javax.servlet.http.HttpServletRequest request, long docId)
     
    void
    updateDocument(javax.servlet.http.HttpServletRequest request, long docId, String fileName, String content)
     

    Methods inherited from class com.logicaldoc.web.service.AbstractRemoteService

    setThreadRequest

    Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet

    getSerializationPolicy, init, processCall, processCall, processPost

    Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet

    doPost

    Methods inherited from class javax.servlet.http.HttpServlet

    service

    Methods inherited from class javax.servlet.GenericServlet

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

    Methods inherited from class java.lang.Object

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

    • WebcontentUtil

      public WebcontentUtil()
  • Method Details

    • getContentAsString

      public String getContentAsString(javax.servlet.http.HttpServletRequest request, long docId) throws com.logicaldoc.gui.common.client.ServerException
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • updateDocument

      public void updateDocument(javax.servlet.http.HttpServletRequest request, long docId, String fileName, String content) throws com.logicaldoc.gui.common.client.ServerException
      Throws:
      com.logicaldoc.gui.common.client.ServerException