java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.utf.commands.CreateReturnChargeTCCmdImpl
Creates terms and conditions of type "ReturnCharge".
Behaviour
Exception conditions
Field Summary | |
java.lang.String | returnApprovalPolicyName return Approval Policy Name. |
java.lang.String | returnApprovalPolicyType return Approval Policy Type. |
java.lang.String | returnApprovalStoreEntity return Approval Store Entity. |
java.lang.String | returnChargePolicyName return Charge Policy Name. |
java.lang.String | returnChargePolicyType return Charge Policy Type. |
java.lang.String | returnChargeStoreEntity return Charge Store Entity. |
java.lang.Long | tradingId Trading Id. |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.utf.commands.CreateReturnChargeTCCmd |
COPYRIGHT, defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
CreateReturnChargeTCCmdImpl() Default Constructor. |
Method Summary | |
java.lang.String | getReturnApprovalPolicyName() Retrieves the ReturnApproval policy name. |
java.lang.String | getReturnApprovalPolicyType() Retrieves the ReturnApproval policy type. |
java.lang.String | getReturnApprovalStoreEntity() Retrieves the store or storegroup ID for the ReturnApproval policy. |
java.lang.String | getReturnChargePolicyName() Retrieves the ReturnCharge policy name. |
java.lang.String | getReturnChargePolicyType() Retrieves the ReturnCharge policy type. |
java.lang.String | getReturnChargeStoreEntity() Retrieves the store or storegroup ID for the ReturnCharge policy. |
java.lang.Long | getTradingId() Retrieves the trading agreement ID. |
void | performExecute() Creates the ReturnCharge TC. |
void | reset() Reset the command. |
void | setReturnApprovalPolicyName(java.lang.String newReturnApprovalPolicyName) Stores the incoming value for the ReturnApproval policy name. |
void | setReturnApprovalPolicyType(java.lang.String newReturnApprovalPolicyType) Stores the incoming value for the ReturnApproval policy type. |
void | setReturnApprovalStoreEntity(java.lang.String newReturnApprovalStoreEntity) Stores the store entity for which the ReturnApproval policy has been specified. |
void | setReturnChargePolicyName(java.lang.String newReturnChargePolicyName) Stores the incoming value for the ReturnCharge policy name. |
void | setReturnChargePolicyType(java.lang.String newReturnChargePolicyType) Stores the incoming value for the ReturnCharge policy type. |
void | setReturnChargeStoreEntity(java.lang.String newReturnChargeStoreEntity) Stores the store entity for which the ReturnCharge policy has been specified. |
void | setTradingId(java.lang.Long newTradingId) Stores the trading agreement ID. |
void | validateParameters() This method does the following: Verifies that a trading agreement ID has been provided. Verifies that a ReturnCharge policy name has been provided. Verifies that a ReturnCharge policy type has been provided. Verifies that a store entity ID has been provided for the ReturnCharge policy. Verifies that a ReturnApproval policy name has been provided. Verifies that a ReturnApproval policy type has been provided. Verifies that a store entity ID has been provided for the ReturnApproval policy. |
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, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.Long tradingId
public java.lang.String returnApprovalPolicyName
public java.lang.String returnApprovalPolicyType
public java.lang.String returnApprovalStoreEntity
public java.lang.String returnChargePolicyName
public java.lang.String returnChargePolicyType
public java.lang.String returnChargeStoreEntity
Constructor Detail |
public CreateReturnChargeTCCmdImpl()
Method Detail |
public void reset()
public java.lang.String getReturnApprovalPolicyName()
public java.lang.String getReturnApprovalPolicyType()
public java.lang.String getReturnApprovalStoreEntity()
public java.lang.String getReturnChargePolicyName()
public java.lang.String getReturnChargePolicyType()
public java.lang.String getReturnChargeStoreEntity()
public java.lang.Long getTradingId()
public void performExecute() throws ECException
public void setReturnApprovalPolicyName(java.lang.String newReturnApprovalPolicyName)
public void setReturnApprovalPolicyType(java.lang.String newReturnApprovalPolicyType)
public void setReturnApprovalStoreEntity(java.lang.String newReturnApprovalStoreEntity)
public void setReturnChargePolicyName(java.lang.String newReturnChargePolicyName)
public void setReturnChargePolicyType(java.lang.String newReturnChargePolicyType)
public void setReturnChargeStoreEntity(java.lang.String newReturnChargeStoreEntity)
public void setTradingId(java.lang.Long newTradingId)
public void validateParameters() throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.