public class DeleteOrderItemPAttributeTCCmdImpl extends TaskCommandImpl implements DeleteOrderItemPAttributeTCCmd
Behaviour
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
java.util.Vector | tcVector
Vector.
|
java.lang.Long | tradingId
Trading Id.
|
Constructor and Description |
---|
DeleteOrderItemPAttributeTCCmdImpl()
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final java.lang.String COPYRIGHT
public java.lang.Long tradingId
public java.util.Vector tcVector
public DeleteOrderItemPAttributeTCCmdImpl()
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