com.ibm.commerce.rfq.commands
Class ModifyResponseFulfillmentTCCmdImpl
- 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.ModifyResponseFulfillmentTCCmdImpl
-
- All Implemented Interfaces:
- com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, ModifyResponseFulfillmentTCCmd, 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 ModifyResponseFulfillmentTCCmdImpl extends TaskCommandImpl implements ModifyResponseFulfillmentTCCmd
Implementation to modify an RFQ response level fulfillment centers terms and conditions.This command uses the following AccessBeans:
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
IBM copyright notice field.-
Fields inherited from interface com.ibm.commerce.rfq.commands.ModifyResponseFulfillmentTCCmd
defaultCommandClassName, NAME
-
-
Constructor Summary
Constructors Constructor and Description ModifyResponseFulfillmentTCCmdImpl()
ModifyResponseFulfillmentTCCmdImpl constructor comment.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.Hashtable
getFfmcenterObj()
Gets RFQ Response fulfillment center informationvoid
performExecute()
Process the RFQ response level fulfillment center
This method does the following:
Gets the response level fulfillment center information.void
setFfmcenterObj(java.util.Hashtable newFfmcenterObj)
Sets RFQ response fulfillment center informationvoid
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
-
-
Constructor Detail
-
ModifyResponseFulfillmentTCCmdImpl
public ModifyResponseFulfillmentTCCmdImpl()
ModifyResponseFulfillmentTCCmdImpl constructor comment.
-
-
Method Detail
-
getFfmcenterObj
public java.util.Hashtable getFfmcenterObj()
Gets RFQ Response fulfillment center information- Returns:
- java.util.Hashtable
-
performExecute
public void performExecute() throws ECException
Process the RFQ response level fulfillment center
This method does the following:
- Gets the response level fulfillment center information.
- Converts the fulfillment center into class RFQResFulfillmentTC
- If the ffmcenterId is null
- If the TCid < 0, do nothing
- If the TCid exists(>0), delete the old response
- If the ffmcenterId not null
- If the TCid < 0 , create response TCs and RfqResponseTCRelation
- If the TCid exists(>0), update the old response TCs
- Specified by:
performExecute
in interfaceECCommand
- Specified by:
performExecute
in interfacecom.ibm.websphere.command.TargetableCommand
- Overrides:
performExecute
in classAbstractECTargetableCommand
- Throws:
ECException
- if the input arguments are incorrect or the process of TCs updating fails
-
setFfmcenterObj
public void setFfmcenterObj(java.util.Hashtable newFfmcenterObj)
Sets RFQ response fulfillment center information- Specified by:
setFfmcenterObj
in interfaceModifyResponseFulfillmentTCCmd
- Parameters:
newFfmcenterObj
- java.util.Hashtable
-
setResponseId
public void setResponseId(java.lang.Long newResponseId)
Sets RFQ response ID- Specified by:
setResponseId
in interfaceModifyResponseFulfillmentTCCmd
- Parameters:
id
- java.lang.Long
-
-