java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.rfq.commands.RespondRFQLevelAttachmentsCmdImpl
Implementation for creating RFQ level attachments in an RFQ response.
This command uses the following AccessBeans:
Field Summary | |
static java.lang.String | COPYRIGHT Copyright. |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.rfq.commands.RespondRFQLevelAttachmentsCmd |
defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
RespondRFQLevelAttachmentsCmdImpl() Constructor an instance of RespondRFQLevelAttachmentsCmdImpl. |
Method Summary | |
protected void | addTradingAttachmentRelation(java.lang.Long attachmentId) Add the RFQ response trading attachment relationship. |
protected void | deleteTradingAttachmentRelation(java.lang.Long attachmentId) Delete the RFQ response trading attachment relationship. |
java.util.Vector | getAttachmentsVector() Gets attachmentsVector |
java.lang.Long | getResponseId() Gets responseId |
boolean | isTradingAttachmentRelationFound(java.lang.Long attachmentId) Check if the trading attachment relationship is found. |
void | performExecute() Create response attachments. |
void | setAttachmentsVector(java.util.Vector newAttachmentsVector) Sets the field of attachmentsVector |
void | setResponseId(java.lang.Long newResponseId) Sets the field of responseId |
void | validateParameters() Validate response parameters. |
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 |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public RespondRFQLevelAttachmentsCmdImpl()
Method Detail |
public java.util.Vector getAttachmentsVector()
public java.lang.Long getResponseId()
protected void addTradingAttachmentRelation(java.lang.Long attachmentId) throws ECException
Behaviour
protected void deleteTradingAttachmentRelation(java.lang.Long attachmentId) throws ECException
Behaviour
public boolean isTradingAttachmentRelationFound(java.lang.Long attachmentId)
public void performExecute() throws ECApplicationException, ECException
public void setAttachmentsVector(java.util.Vector newAttachmentsVector)
public void setResponseId(java.lang.Long newResponseId)
public void validateParameters() throws ECApplicationException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.