Package com.logicaldoc.gdrive
Class GDriveServiceImpl
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.gdrive.GDriveServiceImpl
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService
,com.google.gwt.user.server.rpc.SerializationPolicyProvider
,com.logicaldoc.gui.frontend.client.services.GDriveService
,Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class GDriveServiceImpl
extends com.logicaldoc.web.service.AbstractRemoteService
implements com.logicaldoc.gui.frontend.client.services.GDriveService
Implementation of
GDriveService
- Since:
- 7.3
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.services.GDriveService
com.logicaldoc.gui.frontend.client.services.GDriveService.Instance
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.logicaldoc.gui.common.client.beans.GUIDocument
void
exportDocuments
(List<Long> ids) void
importDocuments
(List<String> resourceIds, long targetFolderId, String format) saveSettings
(String clientId, String clientSecret) List<com.logicaldoc.gui.common.client.beans.GUIDocument>
upload
(long docId) 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 Details
-
GDriveServiceImpl
public GDriveServiceImpl()
-
-
Method Details
-
upload
- Specified by:
upload
in interfacecom.logicaldoc.gui.frontend.client.services.GDriveService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
delete
- Specified by:
delete
in interfacecom.logicaldoc.gui.frontend.client.services.GDriveService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
importDocuments
public void importDocuments(List<String> resourceIds, long targetFolderId, String format) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
importDocuments
in interfacecom.logicaldoc.gui.frontend.client.services.GDriveService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
exportDocuments
public List<String> exportDocuments(List<Long> ids) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
exportDocuments
in interfacecom.logicaldoc.gui.frontend.client.services.GDriveService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
search
public List<com.logicaldoc.gui.common.client.beans.GUIDocument> search(String expression) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
search
in interfacecom.logicaldoc.gui.frontend.client.services.GDriveService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
loadSettings
- Specified by:
loadSettings
in interfacecom.logicaldoc.gui.frontend.client.services.GDriveService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
saveSettings
public String saveSettings(String clientId, String clientSecret) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
saveSettings
in interfacecom.logicaldoc.gui.frontend.client.services.GDriveService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
checkin
public com.logicaldoc.gui.common.client.beans.GUIDocument checkin(long docId, String comment, boolean major) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
checkin
in interfacecom.logicaldoc.gui.frontend.client.services.GDriveService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
create
- Specified by:
create
in interfacecom.logicaldoc.gui.frontend.client.services.GDriveService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-