Class ZohoServiceImpl

  • All Implemented Interfaces:
    com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, com.logicaldoc.gui.frontend.client.services.ZohoService, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class ZohoServiceImpl
    extends com.logicaldoc.web.service.AbstractRemoteService
    implements com.logicaldoc.gui.frontend.client.services.ZohoService
    Standard implementation of the @see ZohoService
    Since:
    7.5.2
    Author:
    Marco Meschieri - LogicalDOC
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.services.ZohoService

        com.logicaldoc.gui.frontend.client.services.ZohoService.Instance
    • Constructor Summary

      Constructors 
      Constructor Description
      ZohoServiceImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.logicaldoc.gui.common.client.beans.GUIDocument checkin​(long docId, String comment, boolean major)  
      void delete​(String docId)  
      boolean exportDocuments​(String targetFolderId, long[] folderIds, long[] docIds)  
      int importDocuments​(long targetFolder, String[] folderCompositeIds, String[] documentIds)  
      String[] loadSettings()  
      String saveSettings​(String clientId, String clientSecret)  
      String 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 Detail

      • ZohoServiceImpl

        public ZohoServiceImpl()
    • Method Detail

      • exportDocuments

        public boolean exportDocuments​(String targetFolderId,
                                       long[] folderIds,
                                       long[] docIds)
                                throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        exportDocuments in interface com.logicaldoc.gui.frontend.client.services.ZohoService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • importDocuments

        public int importDocuments​(long targetFolder,
                                   String[] folderCompositeIds,
                                   String[] documentIds)
                            throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        importDocuments in interface com.logicaldoc.gui.frontend.client.services.ZohoService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • upload

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

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

        public String[] loadSettings()
                              throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        loadSettings in interface com.logicaldoc.gui.frontend.client.services.ZohoService
        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.services.ZohoService
        Throws:
        com.logicaldoc.gui.common.client.ServerException