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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ShareFileServiceImpl()
-
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
-
-
-
-
Method Detail
-
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
public String[] loadSettings() throws com.logicaldoc.gui.common.client.ServerException
- 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
-
-