Class DropboxServiceImpl

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.dropbox.DropboxServiceImpl
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, DropboxService, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class DropboxServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements DropboxService
Implementation of the DropboxService
Since:
7.0
Author:
Marco Meschieri - LogicalDOC
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.dropbox.DropboxService

    DropboxService.Instance
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    exportDocuments(String targetPath, List<Long> folderIds, List<Long> docIds)
    Exports documents and folders into Dropbox
    finishAuthorization(String authorizationCode)
    Ends the authorization code and saves the access token in the database
    int
    importDocuments(long targetFolder, List<String> paths)
     
    boolean
    Checks if the user has connected the LogicalDOC application to his Dropbox account
    Save the settings used by the Dropbox module
    void
    saveSettings(String apiKey, String apiSecret)
    Save the settings used by the Dropbox API
    Starts the authorization process and returns the Dropbox authorization page URL to be shown to the user
    static Session
    validateSession(javax.servlet.http.HttpServletRequest request)
     

    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