com.ibm.commerce.rfq.commands
Class ModifyResponseFulfillmentTCCmdImpl
java.lang.Object
CacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.rfq.commands.ModifyResponseFulfillmentTCCmdImpl
- All Implemented Interfaces:
- ECCommand, ECTargetableCommand, ModifyResponseFulfillmentTCCmd, TaskCommand
- public class ModifyResponseFulfillmentTCCmdImpl
- extends TaskCommandImpl
- implements ModifyResponseFulfillmentTCCmd
Implementation to modify an RFQ response level fulfillment center terms and conditions.
This command uses the following AccessBeans:
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
Copyright. |
Method Summary |
java.util.Hashtable |
getFfmcenterObj()
Gets RFQ Response fulfillment center information |
void |
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 information |
void |
setResponseId(java.lang.Long newResponseId)
Sets RFQ Response response id |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- Copyright.
- See Also:
- Constant Field Values
ModifyResponseFulfillmentTCCmdImpl
public ModifyResponseFulfillmentTCCmdImpl()
- ModifyResponseFulfillmentTCCmdImpl constructor comment.
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 interface ECCommand
- Overrides:
- performExecute in class AbstractECTargetableCommand
-
- Throws:
- ECException - if the input arguments are incorrect or the process of TCs updating fail
setFfmcenterObj
public void setFfmcenterObj(java.util.Hashtable newFfmcenterObj)
- Sets RFQ Response fulfillment center information
-
- Specified by:
- setFfmcenterObj in interface ModifyResponseFulfillmentTCCmd
-
- Parameters:
- newFfmcenterObj - java.util.Hashtable
setResponseId
public void setResponseId(java.lang.Long newResponseId)
- Sets RFQ Response response id
-
- Specified by:
- setResponseId in interface ModifyResponseFulfillmentTCCmd
-
- Parameters:
- newResponseId - java.lang.Long
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.