Package com.logicaldoc.sharefile
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
exportDocuments
(String targetFolder, Long[] folderIds, Long[] docIds) int
importDocuments
(long targetFolder, String[] elementIds) boolean
String[]
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
-
ShareFileServiceImpl
public ShareFileServiceImpl()
-
-
Method Details
-
exportDocuments
public boolean exportDocuments(String targetFolder, Long[] folderIds, Long[] docIds) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
exportDocuments
in interfacecom.logicaldoc.gui.frontend.client.services.ShareFileService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
loadSettings
- Specified by:
loadSettings
in interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.logicaldoc.gui.frontend.client.services.ShareFileService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-