java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.utf.commands.CreateRFQAttachmentCmdImpl
This is the default implementation of the CreateRFQAttachmentCmd. This command uses the following AccessBeans:
Field Summary | |
---|---|
java.lang.Long |
attachmentId Attachment Id. |
java.lang.String |
documentdesc Document 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 Document Usage. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.utf.commands. CreateRFQAttachmentCmd |
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 | |
---|---|
CreateRFQAttachmentCmdImpl() Default Constructor. |
Method Summary | |
---|---|
java.lang.Long |
getAttachmentId() Returns the Attachment Id |
java.lang.String |
getDocumentdesc() Returns the attachment description |
java.lang.String |
getDocumentURL() Returns the Document URL |
java.lang.String |
getMimeencoding() Returns the Mime Coding |
java.lang.String |
getMimetype() Returns the Mime Type |
java.lang.Long |
getOwnerId() Returns the owner |
java.lang.Long |
getTradingId() Returns the Trading Id |
java.lang.String |
getUsage() Returns the Document Usage |
void |
performExecute() Performs the Create RFQ Attachment Action |
void |
reset() Reset the command. |
void |
setAttachmentId(java.lang.Long newAttachmentId) Sets the attachment Id |
void |
setDocumentdesc(java.lang.String newDocumentdesc) Sets the attachment description |
void |
setDocumentURL(java.lang.String newDocumentURL) Sets the document URL |
void |
setMimeencoding(java.lang.String newMimeencoding) Sets the document Mime Coding |
void |
setMimetype(java.lang.String newMimetype) Sets the document Mime type |
void |
setOwnerId(java.lang.Long newOwnerId) Sets the document owner |
void |
setTradingId(java.lang.Long newTradingId) Sets the trading id |
void |
setUsage(java.lang.String newUsage) Sets the usage |
void |
validateParameters() Performs validate 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,
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.String documentdesc
public java.lang.String documentURL
public java.lang.String mimeencoding
public java.lang.String mimetype
public java.lang.Long tradingId
public java.lang.Long ownerId
public java.lang.String usage
public java.lang.Long attachmentId
Constructor Detail |
---|
public CreateRFQAttachmentCmdImpl()
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
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECSystemException
ECApplicationException
ECException
ECCommand#performExecute()
public void setAttachmentId(java.lang.Long newAttachmentId)
newAttachmentId
- attachment Idpublic void setDocumentdesc(java.lang.String newDocumentdesc)
setDocumentdesc
in interface
CreateRFQAttachmentCmd
newDocumentdesc
- attachment descriptionpublic void setDocumentURL(java.lang.String newDocumentURL)
setDocumentURL
in interface
CreateRFQAttachmentCmd
newDocumentURL
- document URLpublic void setMimeencoding(java.lang.String newMimeencoding)
setMimeencoding
in interface
CreateRFQAttachmentCmd
newMimeencoding
- Mime Codingpublic void setMimetype(java.lang.String newMimetype)
setMimetype
in interface
CreateRFQAttachmentCmd
newMimetype
- Mime typepublic void setOwnerId(java.lang.Long newOwnerId)
setOwnerId
in interface
CreateRFQAttachmentCmd
newOwnerId
- document ownerpublic void setTradingId(java.lang.Long newTradingId)
setTradingId
in interface
CreateRFQAttachmentCmd
newTradingId
- trading idpublic void setUsage(java.lang.String newUsage)
setUsage
in interface
CreateRFQAttachmentCmd
newUsage
- usagepublic void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException
ECApplicationException
ECSystemException
ECCommand#validateParameters()