Package org.apache.ofbiz.order.order
Class OrderChangeHelper
- java.lang.Object
-
- org.apache.ofbiz.order.order.OrderChangeHelper
-
public final class OrderChangeHelper extends java.lang.Object
Order Helper - Helper Methods For Non-Read Actions
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
approveOrder(LocalDispatcher dispatcher, GenericValue userLogin, java.lang.String orderId)
static boolean
approveOrder(LocalDispatcher dispatcher, GenericValue userLogin, java.lang.String orderId, boolean holdOrder)
static void
cancelInventoryReservations(LocalDispatcher dispatcher, GenericValue userLogin, java.lang.String orderId)
static boolean
cancelOrder(LocalDispatcher dispatcher, GenericValue userLogin, java.lang.String orderId)
static boolean
completeOrder(LocalDispatcher dispatcher, GenericValue userLogin, java.lang.String orderId)
static void
createOrderInvoice(LocalDispatcher dispatcher, GenericValue userLogin, java.lang.String orderId)
static void
createReceivedPayments(LocalDispatcher dispatcher, GenericValue userLogin, java.lang.String orderId)
static void
orderStatusChanges(LocalDispatcher dispatcher, GenericValue userLogin, java.lang.String orderId, java.lang.String orderStatus, java.lang.String fromItemStatus, java.lang.String toItemStatus, java.lang.String digitalItemStatus)
static boolean
rejectOrder(LocalDispatcher dispatcher, GenericValue userLogin, java.lang.String orderId)
static void
releasePaymentAuthorizations(LocalDispatcher dispatcher, GenericValue userLogin, java.lang.String orderId)
-
-
-
Method Detail
-
approveOrder
public static boolean approveOrder(LocalDispatcher dispatcher, GenericValue userLogin, java.lang.String orderId)
-
approveOrder
public static boolean approveOrder(LocalDispatcher dispatcher, GenericValue userLogin, java.lang.String orderId, boolean holdOrder)
-
rejectOrder
public static boolean rejectOrder(LocalDispatcher dispatcher, GenericValue userLogin, java.lang.String orderId)
-
completeOrder
public static boolean completeOrder(LocalDispatcher dispatcher, GenericValue userLogin, java.lang.String orderId)
-
cancelOrder
public static boolean cancelOrder(LocalDispatcher dispatcher, GenericValue userLogin, java.lang.String orderId)
-
orderStatusChanges
public static void orderStatusChanges(LocalDispatcher dispatcher, GenericValue userLogin, java.lang.String orderId, java.lang.String orderStatus, java.lang.String fromItemStatus, java.lang.String toItemStatus, java.lang.String digitalItemStatus) throws GenericServiceException
- Throws:
GenericServiceException
-
cancelInventoryReservations
public static void cancelInventoryReservations(LocalDispatcher dispatcher, GenericValue userLogin, java.lang.String orderId) throws GenericServiceException
- Throws:
GenericServiceException
-
releasePaymentAuthorizations
public static void releasePaymentAuthorizations(LocalDispatcher dispatcher, GenericValue userLogin, java.lang.String orderId) throws GenericServiceException
- Throws:
GenericServiceException
-
createReceivedPayments
public static void createReceivedPayments(LocalDispatcher dispatcher, GenericValue userLogin, java.lang.String orderId) throws GenericServiceException
- Throws:
GenericServiceException
-
createOrderInvoice
public static void createOrderInvoice(LocalDispatcher dispatcher, GenericValue userLogin, java.lang.String orderId) throws GenericServiceException
- Throws:
GenericServiceException
-
-