|
||||||||
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.payment.commands.ValidatePONumberCmdImpl
Default ValidatePONumber
task command implementation.
Fields inherited from class com.ibm.commerce.command.AbstractECCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.payment.commands.ValidatePONumberCmd |
COPYRIGHT, defaultCommandClassName, ERRTASK_NAME, NAME |
Constructor Summary | |
ValidatePONumberCmdImpl()
|
Method Summary | |
java.lang.Long |
getBuyerPOId()
Returns Buyer Purchase Order reference number |
java.lang.Integer |
getBuyerPOType()
Returns Buyer Purchase Order Type |
protected boolean |
getCreateFlag()
Returns the createFlag property of the command. |
protected OrderAccessBean |
getOrder()
Returns the OrderAccessBean representing the Order. |
void |
performExecute()
Performs the main business logic of the command. |
void |
reset()
This method is called after a command has been executed to reset its states variables. |
void |
setAccount(AccountAccessBean abAccount)
Sets the abAccount property of the command. |
void |
setBuyerPONumber(java.lang.String sBPONum)
Sets the sBPONum property of the command. |
void |
setCreateFlag(boolean createFlag)
Sets the createFlag property of the command. |
void |
setErrorViewName(java.lang.String sEVN)
Optional error view name passed in by the Caller. |
void |
setOrder(OrderAccessBean ab)
Sets the order property of the command. |
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
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, validateParameters |
Constructor Detail |
public ValidatePONumberCmdImpl()
Method Detail |
public java.lang.Long getBuyerPOId()
ValidatePONumberCmd
getBuyerPOId
in interface ValidatePONumberCmd
com.ibm.commerce.payment.commands.ValidatePONumberCmd
Long
containing reference number of the Buyer Purchase Order,
return null if unknownpublic java.lang.Integer getBuyerPOType()
ValidatePONumberCmd
getBuyerPOType
in interface ValidatePONumberCmd
com.ibm.commerce.payment.commands.ValidatePONumberCmd
Integer
containing type of the Buyer Purchase Order,
return null if unknownprotected boolean getCreateFlag()
setCreateFlag
protected OrderAccessBean getOrder()
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()
AbstractECCommand
reset
in class AbstractECCommand
public void setAccount(AccountAccessBean abAccount)
ValidatePONumberCmd
setAccount
in interface ValidatePONumberCmd
com.ibm.commerce.payment.commands.ValidatePONumberCmd
abAccount
- the AccountAccessBean of the Order is associated withpublic void setBuyerPONumber(java.lang.String sBPONum)
ValidatePONumberCmd
setBuyerPONumber
in interface ValidatePONumberCmd
com.ibm.commerce.payment.commands.ValidatePONumberCmd
sBPONum
- the actual Buyer Purchase Order Number input from controller command.public void setCreateFlag(boolean createFlag)
setCreateFlag
in interface ValidatePONumberCmd
public void setErrorViewName(java.lang.String sEVN)
setErrorViewName
in interface ValidatePONumberCmd
public void setOrder(OrderAccessBean ab)
ValidatePONumberCmd
setOrder
in interface ValidatePONumberCmd
com.ibm.commerce.payment.commands.ValidatePONumberCmd
abOrder
- the OrderAccessBean of the Order.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |