Package com.logicaldoc.impex
Class ImpexServiceImpl
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.impex.ImpexServiceImpl
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService
,com.google.gwt.user.server.rpc.SerializationPolicyProvider
,com.logicaldoc.gui.frontend.client.services.ImpexService
,Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class ImpexServiceImpl
extends com.logicaldoc.web.service.AbstractRemoteService
implements com.logicaldoc.gui.frontend.client.services.ImpexService
Concrete implementation of the ImpexService
- Since:
- 7.1.2
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.services.ImpexService
com.logicaldoc.gui.frontend.client.services.ImpexService.Instance
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDocuments
(long archiveId, List<Long> documentIds) void
addDocuments
(com.logicaldoc.core.security.Session session, long archiveId, List<Long> documentIds) void
addFolder
(long archiveId, long rootId) void
delete
(long archiveId) void
delete
(com.logicaldoc.core.security.Session session, long archiveId) void
deleteFolder
(String folderName) void
deleteIncremental
(long id) com.logicaldoc.gui.common.client.beans.GUIArchive
deleteVersions
(long archiveId, List<Long> versionIds) static File
getImportDirectory
(String tenantName) Retrieves the import directory in which will be copied the archive import zip filescom.logicaldoc.gui.common.client.beans.GUIArchive
load
(long archiveId) com.logicaldoc.gui.common.client.beans.GUIIncrementalArchive
loadIncremental
(long id) com.logicaldoc.gui.common.client.beans.GUIArchive
save
(com.logicaldoc.gui.common.client.beans.GUIArchive archive) com.logicaldoc.gui.common.client.beans.GUIIncrementalArchive
saveIncremental
(com.logicaldoc.gui.common.client.beans.GUIIncrementalArchive incremental) void
setStatus
(long archiveId, int status) void
setStatus
(com.logicaldoc.core.security.Session session, long archiveId, int status) void
startImport
(String name) Methods inherited from class com.logicaldoc.web.service.AbstractRemoteService
setThreadRequest
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
-
ImpexServiceImpl
public ImpexServiceImpl()
-
-
Method Details
-
delete
public void delete(com.logicaldoc.core.security.Session session, long archiveId) throws com.logicaldoc.gui.common.client.ServerException - Throws:
com.logicaldoc.gui.common.client.ServerException
-
delete
public void delete(long archiveId) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
delete
in interfacecom.logicaldoc.gui.frontend.client.services.ImpexService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
deleteVersions
public com.logicaldoc.gui.common.client.beans.GUIArchive deleteVersions(long archiveId, List<Long> versionIds) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
deleteVersions
in interfacecom.logicaldoc.gui.frontend.client.services.ImpexService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
setStatus
public void setStatus(com.logicaldoc.core.security.Session session, long archiveId, int status) throws com.logicaldoc.gui.common.client.ServerException - Throws:
com.logicaldoc.gui.common.client.ServerException
-
setStatus
public void setStatus(long archiveId, int status) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
setStatus
in interfacecom.logicaldoc.gui.frontend.client.services.ImpexService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
save
public com.logicaldoc.gui.common.client.beans.GUIArchive save(com.logicaldoc.gui.common.client.beans.GUIArchive archive) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
save
in interfacecom.logicaldoc.gui.frontend.client.services.ImpexService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
deleteIncremental
public void deleteIncremental(long id) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
deleteIncremental
in interfacecom.logicaldoc.gui.frontend.client.services.ImpexService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
loadIncremental
public com.logicaldoc.gui.common.client.beans.GUIIncrementalArchive loadIncremental(long id) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
loadIncremental
in interfacecom.logicaldoc.gui.frontend.client.services.ImpexService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
saveIncremental
public com.logicaldoc.gui.common.client.beans.GUIIncrementalArchive saveIncremental(com.logicaldoc.gui.common.client.beans.GUIIncrementalArchive incremental) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
saveIncremental
in interfacecom.logicaldoc.gui.frontend.client.services.ImpexService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
addDocuments
public void addDocuments(com.logicaldoc.core.security.Session session, long archiveId, List<Long> documentIds) throws com.logicaldoc.gui.common.client.ServerException - Throws:
com.logicaldoc.gui.common.client.ServerException
-
addDocuments
public void addDocuments(long archiveId, List<Long> documentIds) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
addDocuments
in interfacecom.logicaldoc.gui.frontend.client.services.ImpexService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
addFolder
public void addFolder(long archiveId, long rootId) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
addFolder
in interfacecom.logicaldoc.gui.frontend.client.services.ImpexService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
deleteFolder
- Specified by:
deleteFolder
in interfacecom.logicaldoc.gui.frontend.client.services.ImpexService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
startImport
- Specified by:
startImport
in interfacecom.logicaldoc.gui.frontend.client.services.ImpexService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
getImportDirectory
Retrieves the import directory in which will be copied the archive import zip files- Parameters:
tenantName
- name of the tenant- Returns:
- the import directory
-
load
public com.logicaldoc.gui.common.client.beans.GUIArchive load(long archiveId) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
load
in interfacecom.logicaldoc.gui.frontend.client.services.ImpexService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-