java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.utf.commands.DeleteOrderItemPAttributeTCCmdImpl
Deletes terms and conditions of type "OrderItemPAttribute".
Behaviour
Field Summary | |
java.util.Vector | tcVector Vector. |
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.DeleteOrderItemPAttributeTCCmd |
COPYRIGHT, defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
DeleteOrderItemPAttributeTCCmdImpl() Default Constructor. |
Method Summary | |
void | deleteAllOrderItemPAttributeTCs() Finds all the terms and conditions of type "OrderPAttribute" for the given trading agreement ID and deletes them. |
void | deleteIncomingTCs() Finds all the terms and conditions of type "OrderItemPAttribute" for the given trading agreement ID. |
java.util.Vector | getTcVector() Retrieves the list of IDs of terms and conditions to be deleted. |
java.lang.Long | getTradingId() Retrieves the trading agreement ID. |
void | performExecute() Calls the deleteAllOrderItemPAttributeTCs method if the incoming tcVector is null. |
void | reset() Reset the command. |
void | setTcVector(java.util.Vector newTcVector) Stores the list of IDs corresponding to the term and conditions to be deleted. |
void | setTradingId(java.lang.Long newTradingId) Stores the trading ID. |
void | validateParameters() Checks for an incoming trading agreement 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, 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.util.Vector tcVector
Constructor Detail |
public DeleteOrderItemPAttributeTCCmdImpl()
Method Detail |
public void reset()
public void deleteAllOrderItemPAttributeTCs() throws ECException
public void deleteIncomingTCs() throws ECException
public java.util.Vector getTcVector()
public java.lang.Long getTradingId()
public void performExecute() throws ECException
public void setTcVector(java.util.Vector newTcVector)
public void setTradingId(java.lang.Long newTradingId)
public void validateParameters() throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.