Interface OrderActionService

All Known Implementing Classes:
OrderActionServiceImpl

public interface OrderActionService
  • Method Details

    • areOrders

      verify if all orders in selection are ready for the given action (e.g. cancelling or booking)
      Parameters:
      action - action to verify is valid for selection in their current state
      selection - the selected orders
      Returns:
      returns a string containing the errors the action would cause if executed on the selection. If it would succeed, an empty string is returned.
      Throws:
      RpcExecutionException
      PersistException
    • isAnyOrder

      boolean isAnyOrder(String action, EntityExplorerActionSelection selection)
      verify if the given $action would succeed for at least one entity in the selection
      Parameters:
      action - action to verify is valid for selection in their current state
      selection - the selected orders
      Returns:
      true if the given action is valid for at least one $selection