Interface OrderFormService
-
- All Known Implementing Classes:
DefaultOrderFormService
public interface OrderFormServiceService to read and updateOrderFormModels.- Spring Bean ID:
- orderFormService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OrderFormModelgetOrderFormForCode(java.lang.String code)Returns the OrderForm with the specified code.java.util.List<OrderFormModel>getOrderFormsForUser(UserModel userModel)Returns a list of OrderForms for a given user.
-
-
-
Method Detail
-
getOrderFormForCode
OrderFormModel getOrderFormForCode(java.lang.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 foundjava.lang.IllegalArgumentException- if parameter code isnull
-
getOrderFormsForUser
java.util.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
-
-