public class RFQAttachmentViewCmdImpl extends AttachmentViewCmdImpl implements RFQAttachmentViewCmd
RFQAttachmentViewCmdImpl will retrieve an attachment object
and return to a browser.
This is the default implementation of the RFQAttachmentViewCmd. This command uses the following AccessBeans:
defaultCommandClassName, NAME| Constructor and Description |
|---|
RFQAttachmentViewCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getPAttrValueId()
Gets the PAttribute Value Id
|
AccessVector |
getResources()
Gets the access vector accessed by this command.
|
java.lang.Long |
getResponseId()
Gets the response Id
|
java.lang.Long |
getRfqId()
Gets the rfq Id
|
boolean |
isTradingAttachmentRelationFound(java.lang.Long tradingId,
java.lang.Long attachmentId)
Check if the trading attachment relationship is found.
|
void |
performExecute()
This method will call super.performExecute to perform the job
and uploaded the file.
|
void |
reset()
Reset the command
|
void |
setPAttrValueId(java.lang.Long newPAttrValueId)
Sets the PAttribute Value Id
|
void |
setRequestProperties(TypedProperty reqParms)
Calls super.RequestProperties to retrieve all the identifier.
|
void |
setResponseId(java.lang.Long newResponseId)
Sets the response Id
|
void |
setRfqId(java.lang.Long newRfqId)
Sets the rfq Id
|
void |
validateParameters()
Checks if the attachmentId has been set, and if specified
attachment exist.
|
performAccessCheck, setAttachmentIdcheckPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitperformAccessCheck, setAttachmentIdcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic AccessVector getResources() throws ECException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECExceptionECCommand#getResources()public java.lang.Long getPAttrValueId()
public java.lang.Long getResponseId()
public java.lang.Long getRfqId()
public boolean isTradingAttachmentRelationFound(java.lang.Long tradingId,
java.lang.Long attachmentId)
tradingId - java.lang.LongattachmentId - java.lang.Longpublic void setRequestProperties(TypedProperty reqParms) throws ECException
setRequestProperties in interface ControllerCommandsetRequestProperties in class AttachmentViewCmdImplcom.ibm.commerce.datatype.TypedProperty - request parametersECExceptionControllerCmd#setRequestProperties(TypedProperty)public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AttachmentViewCmdImplECExceptionECCommand#performExecute()public void setPAttrValueId(java.lang.Long newPAttrValueId)
newPAttrValueId - The PAttribute Value Id to set.public void setResponseId(java.lang.Long newResponseId)
newResponseId - The response Id to setpublic void setRfqId(java.lang.Long newRfqId)
newRfqId - The rfqId to setpublic void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException.ECExceptionECCommand#validateParameters()