com.ibm.commerce.rfq.commands
Class ModifyResponsePAttributeCmdImpl
- java.lang.Object
-
- com.ibm.websphere.command.TargetableCommandImpl
-
- com.ibm.websphere.command.CacheableCommandImpl
-
- com.ibm.commerce.command.MeasuredCacheableCommandImpl
-
- com.ibm.commerce.command.AbstractECTargetableCommand
-
- com.ibm.commerce.command.TaskCommandImpl
-
- com.ibm.commerce.rfq.commands.ModifyResponsePAttributeCmdImpl
-
- All Implemented Interfaces:
- com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, ModifyResponsePAttributeCmd, 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 ModifyResponsePAttributeCmdImpl extends TaskCommandImpl implements ModifyResponsePAttributeCmd
Implementation used to modify an RFQ response product personalization attribute.This command calls the following TaskCommands:
This command uses the following AccessBeans:OperatorAccessBean
PAttrValueAccessBean
RFQResponsePAttributeRelAccessBean
RFQResponseProductAccessBean
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
IBM copyright notice field.static java.lang.Integer
VALUE_CHANGE_FLAG
Change flag.-
Fields inherited from interface com.ibm.commerce.rfq.commands.ModifyResponsePAttributeCmd
defaultCommandClassName, NAME
-
-
Constructor Summary
Constructors Constructor and Description ModifyResponsePAttributeCmdImpl()
ModifyResponsePAttributeCmdImpl constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
performExecute()
Processes the products and related personalization attributes of an RFQ response This method does the following:
Gets all products Modifies the product price,quantity,currency and unit for each product Modifies the product level comments and specifications if they existvoid
setProductVector(java.util.Vector newProductVector)
Sets RFQ Response product list.void
setRequestId(java.lang.Long newRequestId)
Sets RFQ requestIdvoid
setResponseId(java.lang.Long newResponseId)
Sets RFQ Response id-
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
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.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.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
-
-
-
Field Detail
-
COPYRIGHT
public static final java.lang.String COPYRIGHT
IBM copyright notice field.- See Also:
- Constant Field Values
-
VALUE_CHANGE_FLAG
public static java.lang.Integer VALUE_CHANGE_FLAG
Change flag.
-
-
Constructor Detail
-
ModifyResponsePAttributeCmdImpl
public ModifyResponsePAttributeCmdImpl()
ModifyResponsePAttributeCmdImpl constructor.
-
-
Method Detail
-
performExecute
public void performExecute() throws ECException
Processes the products and related personalization attributes of an RFQ response This method does the following:
- Gets all products
- Modifies the product price,quantity,currency and unit for each product
- Modifies the product level comments and specifications if they exist
- Specified by:
performExecute
in interfaceECCommand
- Specified by:
performExecute
in interfacecom.ibm.websphere.command.TargetableCommand
- Overrides:
performExecute
in classAbstractECTargetableCommand
- Throws:
ECApplicationException
- if using RFQResponseProductAccessBean fail.or modify item level pattribute failECSystemException
- if System error happenECException
-
setProductVector
public void setProductVector(java.util.Vector newProductVector)
Sets RFQ Response product list.- Specified by:
setProductVector
in interfaceModifyResponsePAttributeCmd
- Parameters:
newProductVector
- The RFQ Response product list.
-
setRequestId
public void setRequestId(java.lang.Long newRequestId)
Sets RFQ requestId- Specified by:
setRequestId
in interfaceModifyResponsePAttributeCmd
- Parameters:
newRequestId
- The RFQ request ID.
-
setResponseId
public void setResponseId(java.lang.Long newResponseId)
Sets RFQ Response id- Specified by:
setResponseId
in interfaceModifyResponsePAttributeCmd
- Parameters:
newResponseId
- The RFQ response ID.
-
-