| java.lang.Object org.ofbiz.order.shoppinglist.ShoppingListServices
ShoppingListServices | public class ShoppingListServices (Code) | | Shopping List Services
|
Method Summary | |
public static Map | createListReorders(DispatchContext dctx, Map context) | public static Map | makeListFromOrder(DispatchContext dctx, Map context) | public static ShoppingCart | makeShoppingListCart(LocalDispatcher dispatcher, GenericValue shoppingList, Locale locale) | public static ShoppingCart | makeShoppingListCart(LocalDispatcher dispatcher, String shoppingListId, Locale locale) | public static Map | setShoppingListRecurrence(DispatchContext dctx, Map context) | public static Map | splitShipmentMethodString(DispatchContext dctx, Map context) | public static Map | updateShoppingListQuantitiesFromOrder(DispatchContext ctx, Map context) Given an orderId, this service will look through all its OrderItems and for each shoppingListItemId
and shoppingListItemSeqId, update the quantity purchased in the ShoppingListItem entity. |
resource_error | final public static String resource_error(Code) | | |
updateShoppingListQuantitiesFromOrder | public static Map updateShoppingListQuantitiesFromOrder(DispatchContext ctx, Map context)(Code) | | Given an orderId, this service will look through all its OrderItems and for each shoppingListItemId
and shoppingListItemSeqId, update the quantity purchased in the ShoppingListItem entity. Used for
tracking how many of shopping list items are purchased. This service is mounted as a seca on storeOrder.
Parameters: ctx - - The DispatchContext that this service is operating in Parameters: context - - Map containing the input parameters Map with the result of the service, the output parameters |
|
|