Class BaseOrderLogic
java.lang.Object
com.echothree.util.server.control.BaseLogic
com.echothree.model.control.order.server.logic.BaseOrderLogic
- Direct Known Subclasses:
OrderLogic,PurchaseOrderLogic,SalesOrderLogic
-
Field Summary
Fields inherited from class com.echothree.util.server.control.BaseLogic
coreControl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckItemAgainstOrderPaymentPreferences(Session session, ExecutionErrorAccumulator eea, Order order, Item item, BasePK evaluatedBy) voidcheckItemAgainstShippingMethod(Session session, ExecutionErrorAccumulator eea, OrderShipmentGroup orderShipmentGroup, Item item, BasePK evaluatedBy) createOrder(ExecutionErrorAccumulator eea, OrderType orderType, Sequence sequence, OrderPriority orderPriority, Currency currency, Boolean holdUntilComplete, Boolean allowBackorders, Boolean allowSubstitutions, Boolean allowCombiningShipments, Term term, FreeOnBoard freeOnBoard, String reference, String description, CancellationPolicy cancellationPolicy, ReturnPolicy returnPolicy, Boolean taxable, BasePK createdBy) createOrderPaymentPreference(Session session, ExecutionErrorAccumulator eea, Order order, Integer orderPaymentPreferenceSequence, PaymentMethod paymentMethod, PartyPaymentMethod partyPaymentMethod, Boolean wasPresent, Long maximumAmount, Integer sortOrder, BasePK createdBy) getItemsFromOrder(Order order) getOrderAliasTypeByName(ExecutionErrorAccumulator eea, OrderType orderType, String orderAliasTypeName) getOrderByName(ExecutionErrorAccumulator eea, String orderTypeName, String orderName) getOrderByNameForUpdate(ExecutionErrorAccumulator eea, String orderTypeName, String orderName) getOrderCurrency(Order order) getOrderName(ExecutionErrorAccumulator eea, OrderType orderType, Sequence sequence) getOrderPaymentPreferenceByName(ExecutionErrorAccumulator eea, String orderTypeName, String orderName, String orderPaymentPreferenceSequence) getOrderPaymentPreferenceByNameForUpdate(ExecutionErrorAccumulator eea, String orderTypeName, String orderName, String orderPaymentPreferenceSequence) getOrderRoleTypeByName(ExecutionErrorAccumulator eea, String orderRoleTypeName) getOrderSequence(ExecutionErrorAccumulator eea, OrderType orderType) getOrderSequenceType(ExecutionErrorAccumulator eea, OrderType orderType) getOrderTypeByName(ExecutionErrorAccumulator eea, String orderTypeName) Methods inherited from class com.echothree.util.server.control.BaseLogic
addExecutionError, addSecurityMessage, getEntityInstanceByBaseEntity, getEntityInstanceByBasePK, getSession, handleExecutionError, handleSecurityMessage, hasExecutionErrors
-
Constructor Details
-
BaseOrderLogic
protected BaseOrderLogic()
-
-
Method Details
-
getOrderCurrency
-
getOrderTypeByName
-
getOrderRoleTypeByName
public OrderRoleType getOrderRoleTypeByName(ExecutionErrorAccumulator eea, String orderRoleTypeName) -
getOrderSequenceType
-
getOrderSequence
-
getOrderName
-
createOrder
public Order createOrder(ExecutionErrorAccumulator eea, OrderType orderType, Sequence sequence, OrderPriority orderPriority, Currency currency, Boolean holdUntilComplete, Boolean allowBackorders, Boolean allowSubstitutions, Boolean allowCombiningShipments, Term term, FreeOnBoard freeOnBoard, String reference, String description, CancellationPolicy cancellationPolicy, ReturnPolicy returnPolicy, Boolean taxable, BasePK createdBy) -
getOrderAliasTypeByName
public OrderAliasType getOrderAliasTypeByName(ExecutionErrorAccumulator eea, OrderType orderType, String orderAliasTypeName) -
getOrderByName
-
getOrderByNameForUpdate
public Order getOrderByNameForUpdate(ExecutionErrorAccumulator eea, String orderTypeName, String orderName) -
getItemsFromOrder
-
createOrderPaymentPreference
public OrderPaymentPreference createOrderPaymentPreference(Session session, ExecutionErrorAccumulator eea, Order order, Integer orderPaymentPreferenceSequence, PaymentMethod paymentMethod, PartyPaymentMethod partyPaymentMethod, Boolean wasPresent, Long maximumAmount, Integer sortOrder, BasePK createdBy) -
getOrderPaymentPreferenceByName
public OrderPaymentPreference getOrderPaymentPreferenceByName(ExecutionErrorAccumulator eea, String orderTypeName, String orderName, String orderPaymentPreferenceSequence) -
getOrderPaymentPreferenceByNameForUpdate
public OrderPaymentPreference getOrderPaymentPreferenceByNameForUpdate(ExecutionErrorAccumulator eea, String orderTypeName, String orderName, String orderPaymentPreferenceSequence) -
checkItemAgainstOrderPaymentPreferences
public void checkItemAgainstOrderPaymentPreferences(Session session, ExecutionErrorAccumulator eea, Order order, Item item, BasePK evaluatedBy) -
checkItemAgainstShippingMethod
public void checkItemAgainstShippingMethod(Session session, ExecutionErrorAccumulator eea, OrderShipmentGroup orderShipmentGroup, Item item, BasePK evaluatedBy)
-