|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.command.AbstractECCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.order.commands.PreProcessOrderCmdImpl
Fields inherited from class com.ibm.commerce.command.AbstractECCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.order.commands.PreProcessOrderCmd |
COPYRIGHT, defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.order.commands.ProcessOrderCmd |
VAL_NOTIFY_NO, VAL_NOTIFY_YES |
Constructor Summary | |
PreProcessOrderCmdImpl()
|
Method Summary | |
java.lang.String |
getAvailabilityChangeURL()
Gets the URL to redirect to when the estimated availability time plus the shipping offset for any order item moves into the future (as a result of allocating or backordering inventory) by more than the time interval specified by the setMaxAvailabilityChange method. |
java.lang.Long |
getBillToRn()
Gets the reference number of the address to bill. |
java.lang.Integer |
getField1()
Gets merchant-customizable field one. |
java.math.BigDecimal |
getField2()
Gets merchant-customizable field two. |
java.lang.String |
getField3()
Gets merchant-customizable field three. |
java.lang.Long |
getMaxAvailabilityChange()
Gets the time interval, in seconds, used with the url set by the setAvailabilityChangeURL method. |
java.lang.String |
getNoInventoryURL()
Gets the URL to redirect to if any of the order items in the order cannot be allocated or backordered. |
java.lang.Short |
getNotifyMerchant()
Determines whether the store should be notified when the order processing is complete. |
java.lang.Short |
getNotifyOrderSubmitted()
Determines whether the customer should be notified when the order is successfully submitted for processing. |
java.lang.Short |
getNotifyShopper()
Determines whether the customer should be notified when the order processing is complete. |
java.lang.Long |
getOrderRn()
Gets the order reference number. |
java.lang.String |
getQuoteExpiredURL()
Gets the URL to redirect to if the order total expired in agreement with the expiry policy set by the setQuoteExpiryPolicy method. |
java.lang.String |
getQuoteExpiryPolicy()
Gets the policy which determines the command behaviour if the order total expires or an order item's fulfillment center changes during inventory allocation. |
TypedProperty |
getResponseProperties()
Gets the response properties object for the calling controller command to use. |
boolean |
isReadyToCallExecute()
Checks the validity of the parameters |
void |
performExecute()
Main business logic |
void |
reset()
This method should be called after a command has been executed to reset its states variables. |
void |
setAvailabilityChangeURL(java.lang.String newAvailabilityChangeURL)
Sets the URL to redirect to when the estimated availability time plus the shipping offset for any order item moves into the future (as a result of allocating or backordering inventory) by more than the time interval specified by the setMaxAvailabilityChange method. |
void |
setBillToRn(java.lang.Long anBillToRn)
Sets the reference number of the address to bill. |
void |
setField1(java.lang.Integer anField1)
Sets merchant-customizable field one. |
void |
setField2(java.math.BigDecimal adField2)
Sets merchant-customizable field two. |
void |
setField3(java.lang.String astrField3)
Sets merchant-customizable field three. |
void |
setMaxAvailabilityChange(java.lang.Long newMaxAvailabilityChange)
Sets the time interval, in seconds, used with the url set by the setAvailabilityChangeURL method. |
void |
setNoInventoryURL(java.lang.String newNoInventoryURL)
Sets the URL to redirect to if any of the order items in the order cannot be allocated or backordered. |
void |
setNotifyMerchant(java.lang.Short newNotifyMerchant)
Specifies whether to notify the merchant when the order has been processed. |
void |
setNotifyOrderSubmitted(java.lang.Short newNotifyOrderSubmitted)
Specifies whether the customer should be notified when the order is successfully submitted for processing. |
void |
setNotifyShopper(java.lang.Short newNotifyShopper)
Specifies whether to notify the shopper when the order has been processed. |
void |
setOrderRn(java.lang.Long anOrderRn)
Sets the order reference number. |
void |
setQuoteExpiredURL(java.lang.String newQuoteExpiredURL)
Sets the URL to redirect to if the order total expired in agreement with the expiry policy set by the setQuoteExpiryPolicy method. |
void |
setQuoteExpiryPolicy(java.lang.String newQuoteExpiryPolicy)
Sets the behavior of the command if the order total expires or an order item's fulfillment center changes during inventory allocation. |
void |
setRequestProperties(TypedProperty reqParms)
|
void |
validateParameters()
Checks the validity of the parameters |
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Constructor Detail |
public PreProcessOrderCmdImpl()
Method Detail |
public java.lang.String getAvailabilityChangeURL()
public java.lang.Long getBillToRn()
public java.lang.Integer getField1()
public java.math.BigDecimal getField2()
public java.lang.String getField3()
public java.lang.Long getMaxAvailabilityChange()
public java.lang.String getNoInventoryURL()
public java.lang.Short getNotifyMerchant()
public java.lang.Short getNotifyOrderSubmitted()
public java.lang.Short getNotifyShopper()
public java.lang.Long getOrderRn()
public java.lang.String getQuoteExpiredURL()
public java.lang.String getQuoteExpiryPolicy()
public TypedProperty getResponseProperties()
getResponseProperties
in interface ProcessOrderCmd
public boolean isReadyToCallExecute()
isReadyToCallExecute
in class AbstractECCommand
com.ibm.commerce.command.AbstractECCommand
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in class AbstractECCommand
com.ibm.commerce.command.ECCommand
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.public void reset()
reset
in class AbstractECCommand
public void setAvailabilityChangeURL(java.lang.String newAvailabilityChangeURL)
setAvailabilityChangeURL
in interface ProcessOrderCmd
public void setBillToRn(java.lang.Long anBillToRn)
setBillToRn
in interface ProcessOrderCmd
public void setField1(java.lang.Integer anField1)
setField1
in interface ProcessOrderCmd
public void setField2(java.math.BigDecimal adField2)
setField2
in interface ProcessOrderCmd
public void setField3(java.lang.String astrField3)
setField3
in interface ProcessOrderCmd
public void setMaxAvailabilityChange(java.lang.Long newMaxAvailabilityChange)
setMaxAvailabilityChange
in interface ProcessOrderCmd
public void setNoInventoryURL(java.lang.String newNoInventoryURL)
setNoInventoryURL
in interface ProcessOrderCmd
public void setNotifyMerchant(java.lang.Short newNotifyMerchant)
setNotifyMerchant
in interface ProcessOrderCmd
public void setNotifyOrderSubmitted(java.lang.Short newNotifyOrderSubmitted)
1=Yes
0=No (default)
setNotifyOrderSubmitted
in interface ProcessOrderCmd
public void setNotifyShopper(java.lang.Short newNotifyShopper)
setNotifyShopper
in interface ProcessOrderCmd
public void setOrderRn(java.lang.Long anOrderRn)
setOrderRn
in interface ProcessOrderCmd
public void setQuoteExpiredURL(java.lang.String newQuoteExpiredURL)
setQuoteExpiredURL
in interface ProcessOrderCmd
public void setQuoteExpiryPolicy(java.lang.String newQuoteExpiryPolicy)
setQuoteExpiryPolicy
in interface ProcessOrderCmd
public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface PreProcessOrderCmd
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECCommand
com.ibm.commerce.command.ECCommand
ECException.
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |