Class ConnectToService

java.lang.Object
com.vaadin.copilot.ConnectToService

public class ConnectToService extends Object
Utility class for connecting to a service method.
  • Field Details

  • Constructor Details

    • ConnectToService

      public ConnectToService()
  • Method Details

    • canBindFlowGridToService

      public static ConnectToService.BindingType canBindFlowGridToService(SpringBridge.ServiceMethodInfo serviceMethod)
      Checks if a Flow Grid can be bound to the given service method.
      Parameters:
      serviceMethod - the service method to check
      Returns:
      the binding type that can be used
    • canBindHillaGridToService

      public static ConnectToService.BindingType canBindHillaGridToService(SpringBridge.ServiceMethodInfo serviceMethod)
      Checks if a Hilla Grid can be bound to the given service method.
      Parameters:
      serviceMethod - the service method to check
      Returns:
      the binding type that can be used
    • canBindFlowComboBoxToService

      public static ConnectToService.BindingType canBindFlowComboBoxToService(SpringBridge.ServiceMethodInfo serviceMethod)
      Checks if a Flow ComboBox can be bound to the given service method.
      Parameters:
      serviceMethod - the service method to check
      Returns:
      the binding type that can be used
    • canBindHillaComboBoxToService

      public static ConnectToService.BindingType canBindHillaComboBoxToService(SpringBridge.ServiceMethodInfo serviceMethod)
      Checks if a Hilla ComboBox can be bound to the given service method.
      Parameters:
      serviceMethod - the service method to check
      Returns:
      the binding type that can be used