Class ServerBasedUtils

java.lang.Object
com.levigo.jadice.web.demo.enterprise.client.dnd.ServerBasedUtils

public class ServerBasedUtils extends Object
The Utils are used to generate only one server request to save the drag/drop data.
  • Constructor Details

    • ServerBasedUtils

      public ServerBasedUtils()
  • Method Details

    • saveData

      protected static String saveData(DnDParameter parameter)
      Sends a EnterpriseMessageNames.DND message to saves the selection of the current document on the server.
      Parameters:
      parameter - The used parameter containing the event.
      Returns:
      The uuid used to identify the data on the server.
    • onDone

      public static void onDone()
      Resets the utils for the next request. Needs to be called on ExportHandler.exportDone(DnDParameter)