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
Nested Classes Modifier and Type Interface Description static class
UpdateService.Instance
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int[]
checkDownloadStatus()
Checks the status of the current download processGUIPatch[]
checkPatch(String userNo, String currentRelease)
Check if the current installation has patches availableGUIParameter[]
checkUpdate(String userNo, String currentRelease)
Check if the current installation has an update package availableString
confirmPatch(String patchFileName)
Confirms a patchString
confirmUpdate(String updateFileName)
Confirms an update packagevoid
downloadPatch(String userNo, String id, String fileName, long fileSize)
void
downloadUpdate(String userNo, String id, String fileName, long fileSize)
String[]
getPatchNotes(String patchFileName)
Retrieves more informations from the patchString[]
getUpdateNotes(String updateFileName)
Retrieves more informations from the update
-
-
-
Method Detail
-
checkUpdate
GUIParameter[] checkUpdate(String userNo, String currentRelease)
Check if the current installation has an update package available- Parameters:
userNo
- The current UserNocurrentRelease
- The actual release- Returns:
- List of informations about the available update package or null
-
checkPatch
GUIPatch[] checkPatch(String userNo, String currentRelease)
Check if the current installation has patches available- Parameters:
userNo
- The current UserNocurrentRelease
- The actual release- Returns:
- List of available patches
-
confirmUpdate
String confirmUpdate(String updateFileName) throws ServerException
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
String confirmPatch(String patchFileName) throws ServerException
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
String[] getUpdateNotes(String updateFileName) throws ServerException
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
String[] getPatchNotes(String patchFileName) throws ServerException
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
int[] checkDownloadStatus()
Checks the status of the current download process- Returns:
- download status code and download progress
-
-