Class CmsUgcEditService

    • Field Summary

      • Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet

        perThreadRequest, perThreadResponse
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkPermissions​(CmsObject cms)
      Checks the permissions of the current user to match the required security level.
      void destroySession​(CmsUUID sessionId)
      Destroys the given session.
      void error​(java.lang.Throwable t)
      Logs and re-throws the given exception for RPC responses.
      CmsUgcContent getContent​(CmsUUID sessionId)
      Loads the form content for an existing session.
      java.lang.String getLink​(java.lang.String path)
      Gets the link corresponding to a given site path.
      protected void handleUpload​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Handles all multipart requests.
      java.util.Map<java.lang.String,​java.lang.String> saveContent​(CmsUUID sessionId, java.util.Map<java.lang.String,​java.lang.String> contentValues)
      Saves the given content values to the edited content.
      protected void service​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      java.util.Map<java.lang.String,​java.lang.String> uploadFiles​(CmsUUID sessionId, java.util.Set<java.lang.String> fieldNames, java.lang.String formDataId)
      Uploads multiple files.
      java.util.Map<java.lang.String,​java.lang.String> validateContent​(CmsUUID sessionId, java.util.Map<java.lang.String,​java.lang.String> contentValues)
      Validates the new content values for a content loaded in the given session.
      • Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet

        checkPermutationStrongName, getCodeServerPolicyUrl, getRequestModuleBasePath, getSerializationPolicy, init, loadPolicyFromCodeServer, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processCall, processPost, shouldCompressResponse
      • Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet

        doPost, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
      • Methods inherited from class javax.servlet.http.HttpServlet

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

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait