Class 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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      WebcontentUtil()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String 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.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
    • Constructor Detail

      • WebcontentUtil

        public WebcontentUtil()
    • Method Detail

      • 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