com.ibm.commerce.edp.commands
Class PIRemoveVoidCmdImpl
- java.lang.Object
-
- com.ibm.websphere.command.TargetableCommandImpl
-
- com.ibm.websphere.command.CacheableCommandImpl
-
- com.ibm.commerce.command.MeasuredCacheableCommandImpl
-
- All Implemented Interfaces:
- AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, AEDPCtrlCmd, PIRemoveCmd, Protectable, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable
public class PIRemoveVoidCmdImpl extends AEDPPIEditCtrlCmdImpl implements PIRemoveCmd
This is the void implementation of thePIRemoveCmd
controller 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.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
The IBM Copyright notice field.-
Fields inherited from class com.ibm.commerce.edp.commands.AEDPPIEditCtrlCmdImpl
BILLING_ADDRESS_ID_PROPERTY_NAME, EDP_EDIT_FORCEFLAG, POLICY_ID, PURCHASEORDER_ID_PROPERTY_NAME
-
Fields inherited from interface com.ibm.commerce.edp.commands.PIRemoveCmd
defaultCommandClassName, NAME, PAYMENT_INSTRUCTION_ERROR_VIEW
-
-
Constructor Summary
Constructors Constructor and Description PIRemoveVoidCmdImpl()
The default Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
performExecute()
This method contains the actual business logic of the command, which does nothing.void
reset()
This method resets the command fields.void
setPIIDs(java.lang.Long[] aPIIDs)
This method sets the list of IDs of payment instructions to be canceled.void
setRequestProperties(TypedProperty reqProperties)
This method sets the input parameters from the request, which does nothing here.void
validateParameters()
This method verifies input parameters.-
Methods inherited from class com.ibm.commerce.edp.commands.AEDPPIEditCtrlCmdImpl
getAmount, getPaymentMethodID, getPiIdNull, getPolicyId, getProtocolData, getResources, getURL, setAmount, setPaymentMethodID, setPolicyId, setProtocolData, setURL
-
Methods inherited from class com.ibm.commerce.edp.commands.AEDPCtrlCmdImpl
getLocale, getOrderId, getStoreId, setOrderId
-
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
-
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
-
Methods inherited from class com.ibm.websphere.command.CacheableCommandImpl
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
-
Methods inherited from class com.ibm.websphere.command.TargetableCommandImpl
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.ibm.commerce.edp.commands.PIRemoveCmd
setURL
-
Methods inherited from interface com.ibm.commerce.edp.commands.AEDPCtrlCmd
getLocale, getOrderId, setOrderId
-
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
-
Methods inherited from interface com.ibm.websphere.command.CacheableCommand
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
-
Methods inherited from interface com.ibm.websphere.command.TargetableCommand
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
-
Methods inherited from interface com.ibm.commerce.command.AccCommand
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
-
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
-
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
-
-
-
-
Field Detail
-
COPYRIGHT
public static final java.lang.String COPYRIGHT
The IBM Copyright notice field.- See Also:
- Constant Field Values
-
-
Method Detail
-
setPIIDs
public void setPIIDs(java.lang.Long[] aPIIDs)
This method sets the list of IDs of payment instructions to be canceled.
- Specified by:
setPIIDs
in interfacePIRemoveCmd
- Parameters:
aPIIDs
- the list of payment instruction IDs to be canceled.
-
setRequestProperties
public void setRequestProperties(TypedProperty reqProperties) throws ECException
This method sets the input parameters from the request, which does nothing here.- Specified by:
setRequestProperties
in interfaceControllerCommand
- Overrides:
setRequestProperties
in classControllerCommandImpl
- Parameters:
reqProperties
- the input parameters from the request- Throws:
ECException
- if something fails
-
performExecute
public void performExecute() throws ECException
This method contains the actual business logic of the command, which does nothing.- Specified by:
performExecute
in interfaceECCommand
- Specified by:
performExecute
in interfacecom.ibm.websphere.command.TargetableCommand
- Overrides:
performExecute
in classAbstractECTargetableCommand
- Throws:
ECException
- for error conditions
-
reset
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.
- Specified by:
reset
in interfacecom.ibm.websphere.command.Command
- Overrides:
reset
in classAEDPPIEditCtrlCmdImpl
-
validateParameters
public void validateParameters() throws ECException
This method verifies input parameters.- Specified by:
validateParameters
in interfaceECCommand
- Overrides:
validateParameters
in classAbstractECTargetableCommand
- Throws:
ECException
- if some required parameters are missing or invalid
-
-