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
    • Method Detail

      • checkUpdate

        GUIParameter[] checkUpdate​(String userNo,
                                   String currentRelease)
        Check if the current installation has an update package available
        Parameters:
        userNo - The current UserNo
        currentRelease - 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 UserNo
        currentRelease - The actual release
        Returns:
        List of available patches
      • downloadUpdate

        void downloadUpdate​(String userNo,
                            String id,
                            String fileName,
                            long fileSize)
      • downloadPatch

        void downloadPatch​(String userNo,
                           String id,
                           String fileName,
                           long fileSize)
      • 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