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 SummaryNested Classes
- 
Method SummaryModifier 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 packagevoiddeletePatch(String patchFileName) Deletes a local patchvoiddeleteUpdate(String updateFileName) Deletes a local update packagevoiddownloadPatch(String id, String fileName, long fileSize) voiddownloadUpdate(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- 
checkUpdateCheck if the current installation has an update package available- Returns:
- List of informations about the available update package or null
- Throws:
- ServerException- an error happened in the server application
 
- 
checkPatchCheck if the current installation has patches available- Returns:
- List of available patches
- Throws:
- ServerException- an error happened in the server application
 
- 
downloadUpdate- Throws:
- ServerException
 
- 
downloadPatch- Throws:
- ServerException
 
- 
confirmUpdateConfirms 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
 
- 
confirmPatchConfirms 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
 
- 
getUpdateNotesRetrieves 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
 
- 
getPatchNotesRetrieves 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
 
- 
checkDownloadStatusChecks the status of the current download process- Returns:
- download status code and download progress
 
- 
loadUpdateLoads a new update package- Returns:
- a result code
- Throws:
- ServerException- an error happened in the server application
 
- 
deleteUpdateDeletes a local update package- Parameters:
- updateFileName- The update file to delete
- Throws:
- ServerException- an error happened in the server application
 
- 
loadPatchLoads a new patch- Returns:
- a result code
- Throws:
- ServerException- an error happened in the server application
 
- 
deletePatchDeletes a local patch- Parameters:
- patchFileName- The patch file to delete
- Throws:
- ServerException- an error happened in the server application
 
 
-