Class 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 Detail

      • UpdateServiceImpl

        public UpdateServiceImpl()
    • Method Detail

      • checkUpdate

        public com.logicaldoc.gui.common.client.beans.GUIParameter[] checkUpdate​(String userNo,
                                                                                 String currentRelease)
        Specified by:
        checkUpdate in interface com.logicaldoc.gui.frontend.client.services.UpdateService
      • checkPatch

        public com.logicaldoc.gui.common.client.beans.GUIPatch[] checkPatch​(String userNo,
                                                                            String currentRelease)
        Specified by:
        checkPatch in interface com.logicaldoc.gui.frontend.client.services.UpdateService
      • downloadUpdate

        public void downloadUpdate​(String userNo,
                                   String id,
                                   String fileName,
                                   long fileSize)
        Specified by:
        downloadUpdate in interface com.logicaldoc.gui.frontend.client.services.UpdateService
      • downloadPatch

        public void downloadPatch​(String userNo,
                                  String id,
                                  String fileName,
                                  long fileSize)
        Specified by:
        downloadPatch in interface com.logicaldoc.gui.frontend.client.services.UpdateService
      • checkDownloadStatus

        public int[] checkDownloadStatus()
        Specified by:
        checkDownloadStatus in interface com.logicaldoc.gui.frontend.client.services.UpdateService
      • getUpdateNotes

        public String[] getUpdateNotes​(String updateFileName)
                                throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        getUpdateNotes in interface com.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 interface com.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 interface com.logicaldoc.gui.frontend.client.services.UpdateService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • confirmPatch

        public String confirmPatch​(String patchFileName)
                            throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        confirmPatch in interface com.logicaldoc.gui.frontend.client.services.UpdateService
        Throws:
        com.logicaldoc.gui.common.client.ServerException