Class 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.google.gwt.user.server.rpc.RemoteServiceServlet
    implements com.logicaldoc.gui.frontend.client.services.ShareFileService
    Implementation of the ShareFileService
    Since:
    7.2.1
    Author:
    Marco Meschieri - LogicalDOC
    See Also:
    Serialized Form
    • Nested Class Summary

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String authorize​(String clientId, String clientSecret)  
      boolean exportDocuments​(String targetFolder, long[] folderIds, long[] docIds)  
      int importDocuments​(long targetFolder, String[] elementIds)  
      boolean isAuthorized()  
      String[] loadSettings()  
      • 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

      • ShareFileServiceImpl

        public ShareFileServiceImpl()
    • Method Detail

      • exportDocuments

        public boolean exportDocuments​(String targetFolder,
                                       long[] folderIds,
                                       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 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,
                                   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