public class PICopyVoidCmdImpl extends AEDPPIEditCtrlCmdImpl implements PICopyCmd
PICopyCmdcontroller command.
The void implementation of commands is used when anyone is intended to disable the command while keeping the single code base. Note that please use the void implementation of all commands once you decide to disable the command implementation.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The IBM Copyright notice field.
|
BILLING_ADDRESS_ID_PROPERTY_NAME, EDP_EDIT_FORCEFLAG, POLICY_ID, PURCHASEORDER_ID_PROPERTY_NAMEdefaultCommandClassName, NAME| Constructor and Description |
|---|
PICopyVoidCmdImpl()
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, which does nothing.
|
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.
|
getAmount, getPaymentMethodID, getPiIdNull, getPolicyId, getProtocolData, getURL, setAmount, setPaymentMethodID, setPolicyId, setProtocolData, setURLgetLocale, getOrderId, getStoreId, setOrderIdcheckPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLocale, getOrderId, setOrderIdcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public void setRequestProperties(TypedProperty reqProperties) throws ECException
setRequestProperties in interface ControllerCommandsetRequestProperties in class ControllerCommandImplreqProperties - the input parameters from the requestECException - if something failspublic java.lang.Long getToOrderID()
public void setToOrderId(java.lang.Long anToOrderId)
setToOrderId in interface PICopyCmdanToOrderId - the ID of the order to be copied topublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECException - for error conditionspublic void reset()
This method resets the command fields.
After this method is invoked, and proper attributes are set, the command can be executed again.
reset in interface com.ibm.websphere.command.Commandreset in class AEDPPIEditCtrlCmdImplpublic void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException - if some required parameters is missing or invalidpublic 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.
getResources in interface ECCommandgetResources in class AEDPPIEditCtrlCmdImplECException - in the case of a failure