Interface OrderFormService

All Known Implementing Classes:
DefaultOrderFormService

public interface OrderFormService
Service to read and update OrderFormModels.
Spring Bean ID:
orderFormService
  • Method Details

    • getOrderFormForCode

      OrderFormModel getOrderFormForCode(String code)
      Returns the OrderForm with the specified code.
      Parameters:
      code - the code of the OrderForm
      Returns:
      the OrderForm with the specified code.
      Throws:
      UnknownIdentifierException - if no OrderForm with the specified code is found
      IllegalArgumentException - if parameter code is null
    • getOrderFormsForUser

      List<OrderFormModel> getOrderFormsForUser(UserModel userModel)
      Returns a list of OrderForms for a given user.
      Parameters:
      userModel - the user who owns the order forms
      Returns:
      a list of OrderForm models