Class GoogleServiceImpl

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.google.GoogleServiceImpl
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, com.logicaldoc.gui.frontend.client.google.GoogleService, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class GoogleServiceImpl extends com.logicaldoc.web.service.AbstractRemoteService implements com.logicaldoc.gui.frontend.client.google.GoogleService
Implementation of GoogleService
Since:
7.3
Author:
Marco Meschieri - LogicalDOC
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.google.GoogleService

    com.logicaldoc.gui.frontend.client.google.GoogleService.Instance
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.logicaldoc.gui.common.client.beans.GUIDocument
    checkin(long docId, String comment, boolean major)
     
    create(String fileName)
     
    void
    delete(String fileId)
     
    void
    enableCalendar(boolean enable)
     
     
    void
    importDocuments(List<String> resourceIds, long targetFolderId, String format)
     
     
    saveSettings(String clientId, String clientSecret)
     
    List<com.logicaldoc.gui.common.client.beans.GUIDocument>
    search(String expression)
     
    void
     
    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

    Methods inherited from class java.lang.Object

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

    • GoogleServiceImpl

      public GoogleServiceImpl()
  • Method Details

    • upload

      public String upload(long docId) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      upload in interface com.logicaldoc.gui.frontend.client.google.GoogleService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • delete

      public void delete(String fileId) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      delete in interface com.logicaldoc.gui.frontend.client.google.GoogleService
      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 interface com.logicaldoc.gui.frontend.client.google.GoogleService
      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 interface com.logicaldoc.gui.frontend.client.google.GoogleService
      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 interface com.logicaldoc.gui.frontend.client.google.GoogleService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • loadSettings

      public List<String> loadSettings() throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      loadSettings in interface com.logicaldoc.gui.frontend.client.google.GoogleService
      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 interface com.logicaldoc.gui.frontend.client.google.GoogleService
      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 interface com.logicaldoc.gui.frontend.client.google.GoogleService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • create

      public String create(String fileName) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      create in interface com.logicaldoc.gui.frontend.client.google.GoogleService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • synchronizeCalendar

      public void synchronizeCalendar() throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      synchronizeCalendar in interface com.logicaldoc.gui.frontend.client.google.GoogleService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • enableCalendar

      public void enableCalendar(boolean enable) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      enableCalendar in interface com.logicaldoc.gui.frontend.client.google.GoogleService
      Throws:
      com.logicaldoc.gui.common.client.ServerException