Interface UpdateService
- All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService
@RemoteServiceRelativePath("update")
public interface UpdateService
extends com.google.gwt.user.client.rpc.RemoteService
The client side stub for the Document Service. This service allows r/w
operations on documents.
- Since:
- 7.3.1
- Author:
- Marco Meschieri - LogicalDOC
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionChecks the status of the current download processCheck if the current installation has patches availableCheck if the current installation has an update package availableconfirmPatch
(String patchFileName) Confirms a patchconfirmUpdate
(String updateFileName) Confirms an update packagevoid
deletePatch
(String patchFileName) Deletes a local patchvoid
deleteUpdate
(String updateFileName) Deletes a local update packagevoid
downloadPatch
(String id, String fileName, long fileSize) void
downloadUpdate
(String id, String fileName, long fileSize) getPatchNotes
(String patchFileName) Retrieves more informations from the patchgetUpdateNotes
(String updateFileName) Retrieves more informations from the updateLoads a new patchLoads a new update package
-
Method Details
-
checkUpdate
List<GUIParameter> checkUpdate()Check if the current installation has an update package available- Returns:
- List of informations about the available update package or null
-
checkPatch
Check if the current installation has patches available- Returns:
- List of available patches
-
downloadUpdate
-
downloadPatch
-
confirmUpdate
Confirms an update package- Parameters:
updateFileName
- The update file to confirm- Returns:
- The path of the update folder
- Throws:
ServerException
- an error happened in the server application
-
confirmPatch
Confirms a patch- Parameters:
patchFileName
- The patch file to confirm- Returns:
- The path of the patch folder
- Throws:
ServerException
- an error happened in the server application
-
getUpdateNotes
Retrieves more informations from the update- Parameters:
updateFileName
- File name of the downloaded update package- Returns:
- ChangeLog and Install file contents
- Throws:
ServerException
- an error happened in the server application
-
getPatchNotes
Retrieves more informations from the patch- Parameters:
patchFileName
- File name of the downloaded patch package- Returns:
- ChangeLog and Install file contents
- Throws:
ServerException
- an error happened in the server application
-
checkDownloadStatus
Checks the status of the current download process- Returns:
- download status code and download progress
-
loadUpdate
Loads a new update package- Returns:
- a result code
- Throws:
ServerException
- an error happened in the server application
-
deleteUpdate
Deletes a local update package- Parameters:
updateFileName
- The update file to delete- Throws:
ServerException
- an error happened in the server application
-
loadPatch
Loads a new patch- Returns:
- a result code
- Throws:
ServerException
- an error happened in the server application
-
deletePatch
Deletes a local patch- Parameters:
patchFileName
- The patch file to delete- Throws:
ServerException
- an error happened in the server application
-