java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.utf.commands.ModifyRFQAttachmentCmdImpl
This is the default implementation of the ModifyRFQAttachmentCmd.
This command uses the following AccessBeans:
Field Summary | |
---|---|
java.lang.Long |
attachmentId Attachment Id. |
java.lang.String |
documentdesc Attachment Description. |
java.lang.String |
documentURL Document URL. |
java.lang.String |
mimeencoding Document Mime Coding. |
java.lang.String |
mimetype Document Mime Type. |
java.lang.Long |
ownerId Owner Id. |
java.lang.Long |
tradingId Trading Id. |
java.lang.String |
usage Attachment Usage. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.utf.commands. ModifyRFQAttachmentCmd |
COPYRIGHT,
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
ModifyRFQAttachmentCmdImpl() Default Constructor. |
Method Summary | |
---|---|
java.lang.Long |
getAttachmentId() |
java.lang.String |
getDocumentdesc() |
java.lang.String |
getDocumentURL() |
java.lang.String |
getMimeencoding() |
java.lang.String |
getMimetype() |
java.lang.Long |
getOwnerId() |
java.lang.Long |
getTradingId() |
java.lang.String |
getUsage() |
void |
performExecute() The business logic for this command. |
void |
reset() Reset the command. |
void |
setAttachmentId(java.lang.Long newAttachmentId) Stores the ID of the RFQ attachment. |
void |
setDocumentdesc(java.lang.String newDocumentdesc) Stores the document description of the RFQ attachment. |
void |
setDocumentURL(java.lang.String newDocumentURL) Stores the document URL of the RFQ attachment. |
void |
setMimeencoding(java.lang.String newMimeencoding) Stores the mime encoding of the RFQ attachment. |
void |
setMimetype(java.lang.String newMimetype) Stores the mime type of the RFQ attachment. |
void |
setOwnerId(java.lang.Long newOwnerId) Stores the owner ID of the RFQ attachment. |
void |
setTradingId(java.lang.Long newTradingId) Stores the trading agreement ID which is also the RFQ ID. |
void |
setUsage(java.lang.String newUsage) Stores the attachment usage. |
void |
validateParameters() Performs parameter checking. |
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 attachmentId
public java.lang.String documentdesc
public java.lang.String documentURL
public java.lang.String mimeencoding
public java.lang.String mimetype
public java.lang.Long ownerId
public java.lang.Long tradingId
public java.lang.String usage
Constructor Detail |
---|
public ModifyRFQAttachmentCmdImpl()
Method Detail |
---|
public void reset()
reset
in class
AbstractECTargetableCommand
public java.lang.Long getAttachmentId()
public java.lang.String getDocumentdesc()
public java.lang.String getDocumentURL()
public java.lang.String getMimeencoding()
public java.lang.String getMimetype()
public java.lang.Long getOwnerId()
public java.lang.Long getTradingId()
public java.lang.String getUsage()
public void performExecute() throws ECException
AbstractECTargetableCommand
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
ECCommand#performExecute()
public void setAttachmentId(java.lang.Long newAttachmentId)
ModifyRFQAttachmentCmd
setAttachmentId
in interface
ModifyRFQAttachmentCmd
newAttachmentId
- Sets new attachment Idpublic void setDocumentdesc(java.lang.String newDocumentdesc)
ModifyRFQAttachmentCmd
setDocumentdesc
in interface
ModifyRFQAttachmentCmd
newDocumentdesc
- Sets new attachment
descriptionpublic void setDocumentURL(java.lang.String newDocumentURL)
ModifyRFQAttachmentCmd
setDocumentURL
in interface
ModifyRFQAttachmentCmd
newDocumentURL
- Sets new document URLpublic void setMimeencoding(java.lang.String newMimeencoding)
ModifyRFQAttachmentCmd
setMimeencoding
in interface
ModifyRFQAttachmentCmd
newMimeencoding
- Sets new document Mime
Codingpublic void setMimetype(java.lang.String newMimetype)
ModifyRFQAttachmentCmd
setMimetype
in interface
ModifyRFQAttachmentCmd
newMimetype
- Sets new document Mime Typepublic void setOwnerId(java.lang.Long newOwnerId)
ModifyRFQAttachmentCmd
setOwnerId
in interface
ModifyRFQAttachmentCmd
newOwnerId
- Sets new Ownerpublic void setTradingId(java.lang.Long newTradingId)
ModifyRFQAttachmentCmd
setTradingId
in interface
ModifyRFQAttachmentCmd
newTradingId
- Sets new Trading Idpublic void setUsage(java.lang.String newUsage)
ModifyRFQAttachmentCmd
setUsage
in interface
ModifyRFQAttachmentCmd
newUsage
- Sets new Usagepublic void validateParameters() throws ECException
AbstractECTargetableCommand
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException
ECCommand#validateParameters()