public class PICopyCmdImpl extends AEDPPIEditCtrlCmdImpl implements PICopyCmd
This is the default implementation of the PICopyCmdcontroller command.
Name | XPath | Description |
---|---|---|
orderId | /XML/orderId | The identifier of the order from which payment methods should be copied (the source order). Mandatory. |
toOrderId | /XML/toOrderId | The identifier of the order from which payment methods should be copied (the source order). Mandatory. |
URL | /XML/URL | The URL to be called when the command completes successfully. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM Copyright notice field.
|
Constructor and Description |
---|
PICopyCmdImpl()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
AccessVector | getResources()
This method gets the vector of resources accessed by this command.
|
java.lang.Long | getToOrderID()
This method gets the ID of the order to be copied to.
|
void | performExecute()
This method contains the actual business logic of the command.
|
void | reset()
This method resets the command fields.
|
void | setRequestProperties(TypedProperty reqProperties)
This method sets the input parameters from the request.
|
void | setToOrderId(java.lang.Long anToOrderId)
This method sets the ID of the order to be copied to
|
void | validateParameters()
This method verifies input parameters.
|
public static final java.lang.String COPYRIGHT
public void setRequestProperties(TypedProperty reqProperties) throws ECException
public java.lang.Long getToOrderID()
public void setToOrderId(java.lang.Long anToOrderId)
public void performExecute() throws ECException
public void reset()
This method resets the command fields.
After this method is invoked, and proper attributes are set, the command can be executed again.
public void validateParameters() throws ECException
public AccessVector getResources() throws ECException
This method gets the vector of resources accessed by this command.
This uses the order access bean for resource access control.