Class ShareFileServiceImpl

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

public class ShareFileServiceImpl extends com.logicaldoc.web.service.AbstractRemoteService implements com.logicaldoc.gui.frontend.client.services.ShareFileService
Implementation of the ShareFileService
Since:
7.2.1
Author:
Marco Meschieri - LogicalDOC
See Also:
  • Nested Class Summary

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    authorize(String clientId, String clientSecret)
     
    boolean
    exportDocuments(String targetFolder, List<Long> folderIds, List<Long> docIds)
     
    int
    importDocuments(long targetFolder, List<String> elementIds)
     
    boolean
     
     

    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

    • ShareFileServiceImpl

      public ShareFileServiceImpl()
  • Method Details

    • exportDocuments

      public boolean exportDocuments(String targetFolder, List<Long> folderIds, List<Long> docIds) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      exportDocuments in interface com.logicaldoc.gui.frontend.client.services.ShareFileService
      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.services.ShareFileService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • isAuthorized

      public boolean isAuthorized() throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      isAuthorized in interface com.logicaldoc.gui.frontend.client.services.ShareFileService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • importDocuments

      public int importDocuments(long targetFolder, List<String> elementIds) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      importDocuments in interface com.logicaldoc.gui.frontend.client.services.ShareFileService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • authorize

      public String authorize(String clientId, String clientSecret) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      authorize in interface com.logicaldoc.gui.frontend.client.services.ShareFileService
      Throws:
      com.logicaldoc.gui.common.client.ServerException