Package com.logicaldoc.enterprise.update
Class UpdateServiceImpl
- 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.enterprise.update.UpdateServiceImpl
-
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService
,com.google.gwt.user.server.rpc.SerializationPolicyProvider
,com.logicaldoc.gui.frontend.client.services.UpdateService
,Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class UpdateServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements com.logicaldoc.gui.frontend.client.services.UpdateService
Implementation of the UploadService- Since:
- 7.3.1
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdateServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]
checkDownloadStatus()
com.logicaldoc.gui.common.client.beans.GUIPatch[]
checkPatch(String userNo, String currentRelease)
com.logicaldoc.gui.common.client.beans.GUIParameter[]
checkUpdate(String userNo, String currentRelease)
String
confirmPatch(String patchFileName)
String
confirmUpdate(String updateFileName)
void
downloadPatch(String userNo, String id, String fileName, long fileSize)
void
downloadUpdate(String userNo, String id, String fileName, long fileSize)
String[]
getPatchNotes(String patchFileName)
String[]
getUpdateNotes(String updateFileName)
-
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
getSerializationPolicy, init, processCall, processCall, processPost
-
-
-
-
Method Detail
-
checkUpdate
public com.logicaldoc.gui.common.client.beans.GUIParameter[] checkUpdate(String userNo, String currentRelease)
- Specified by:
checkUpdate
in interfacecom.logicaldoc.gui.frontend.client.services.UpdateService
-
checkPatch
public com.logicaldoc.gui.common.client.beans.GUIPatch[] checkPatch(String userNo, String currentRelease)
- Specified by:
checkPatch
in interfacecom.logicaldoc.gui.frontend.client.services.UpdateService
-
downloadUpdate
public void downloadUpdate(String userNo, String id, String fileName, long fileSize)
- Specified by:
downloadUpdate
in interfacecom.logicaldoc.gui.frontend.client.services.UpdateService
-
downloadPatch
public void downloadPatch(String userNo, String id, String fileName, long fileSize)
- Specified by:
downloadPatch
in interfacecom.logicaldoc.gui.frontend.client.services.UpdateService
-
checkDownloadStatus
public int[] checkDownloadStatus()
- Specified by:
checkDownloadStatus
in interfacecom.logicaldoc.gui.frontend.client.services.UpdateService
-
getUpdateNotes
public String[] getUpdateNotes(String updateFileName) throws com.logicaldoc.gui.common.client.ServerException
- Specified by:
getUpdateNotes
in interfacecom.logicaldoc.gui.frontend.client.services.UpdateService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
getPatchNotes
public String[] getPatchNotes(String patchFileName) throws com.logicaldoc.gui.common.client.ServerException
- Specified by:
getPatchNotes
in interfacecom.logicaldoc.gui.frontend.client.services.UpdateService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
confirmUpdate
public String confirmUpdate(String updateFileName) throws com.logicaldoc.gui.common.client.ServerException
- Specified by:
confirmUpdate
in interfacecom.logicaldoc.gui.frontend.client.services.UpdateService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
-