java.lang.Object | +--CacheableCommandImpl | +--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
attachmentId
- java.lang.LongECException
- if any error happens.protected void deleteTradingAttachmentRelation(java.lang.Long attachmentId) throws ECException
Behaviour
attachmentId
- java.lang.LongECException
- if any error happens.public boolean isTradingAttachmentRelationFound(java.lang.Long attachmentId)
attachmentId
- java.lang.Longpublic void performExecute() throws ECApplicationException, ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECApplicationException
ECException
public void setAttachmentsVector(java.util.Vector newAttachmentsVector)
setAttachmentsVector
in interface
RespondRFQLevelAttachmentsCmd
newAttachmentsVector
- java.util.Vectorpublic void setResponseId(java.lang.Long newResponseId)
setResponseId
in interface
RespondRFQLevelAttachmentsCmd
newResponseId
- java.lang.Longpublic void validateParameters() throws ECApplicationException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECApplicationException