com.ibm.commerce.utf.commands
Class CreateRFQAttachmentCmdImpl

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.TaskCommandImpl
                    |
                    +--com.ibm.commerce.utf.commands.CreateRFQAttachmentCmdImpl
All Implemented Interfaces:
CreateRFQAttachmentCmd, ECCommand, ECTargetableCommand, TaskCommand

public class CreateRFQAttachmentCmdImpl
extends TaskCommandImpl
implements CreateRFQAttachmentCmd

This is the default implementation of the CreateRFQAttachmentCmd. This command uses the following AccessBeans:

See Also:
Serialized Form

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

documentdesc

public java.lang.String documentdesc
Document Description.

documentURL

public java.lang.String documentURL
Document URL.

mimeencoding

public java.lang.String mimeencoding
Document MIME Coding.

mimetype

public java.lang.String mimetype
Document MIME Type.

tradingId

public java.lang.Long tradingId
Trading Id.

ownerId

public java.lang.Long ownerId
Owner Id.

usage

public java.lang.String usage
Document Usage.

attachmentId

public java.lang.Long attachmentId
Attachment Id.
Constructor Detail

CreateRFQAttachmentCmdImpl

public CreateRFQAttachmentCmdImpl()
Default Constructor.
Method Detail

reset

public void reset()
Reset the command.
Overrides:
reset in class AbstractECTargetableCommand

getAttachmentId

public java.lang.Long getAttachmentId()
Returns the Attachment Id
Returns:
The attachment id

getDocumentdesc

public java.lang.String getDocumentdesc()
Returns the attachment description
Returns:
The attachment description

getDocumentURL

public java.lang.String getDocumentURL()
Returns the Document URL
Returns:
The Document URL

getMimeencoding

public java.lang.String getMimeencoding()
Returns the Mime Coding
Returns:
The Mime Coding

getMimetype

public java.lang.String getMimetype()
Returns the Mime Type
Returns:
The Mime Type

getOwnerId

public java.lang.Long getOwnerId()
Returns the owner
Returns:
The owner

getTradingId

public java.lang.Long getTradingId()
Returns the Trading Id
Returns:
The Trading Id

getUsage

public java.lang.String getUsage()
Returns the Document Usage
Returns:
The Document Usage

performExecute

public void performExecute()
                    throws ECException
Performs the Create RFQ Attachment Action
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECSystemException
ECApplicationException
ECException
See Also:
ECCommand#performExecute()

setAttachmentId

public void setAttachmentId(java.lang.Long newAttachmentId)
Sets the attachment Id
Parameters:
newAttachmentId - attachment Id

setDocumentdesc

public void setDocumentdesc(java.lang.String newDocumentdesc)
Sets the attachment description
Specified by:
setDocumentdesc in interface CreateRFQAttachmentCmd
Parameters:
newDocumentdesc - attachment description

setDocumentURL

public void setDocumentURL(java.lang.String newDocumentURL)
Sets the document URL
Specified by:
setDocumentURL in interface CreateRFQAttachmentCmd
Parameters:
newDocumentURL - document URL

setMimeencoding

public void setMimeencoding(java.lang.String newMimeencoding)
Sets the document Mime Coding
Specified by:
setMimeencoding in interface CreateRFQAttachmentCmd
Parameters:
newMimeencoding - Mime Coding

setMimetype

public void setMimetype(java.lang.String newMimetype)
Sets the document Mime type
Specified by:
setMimetype in interface CreateRFQAttachmentCmd
Parameters:
newMimetype - Mime type

setOwnerId

public void setOwnerId(java.lang.Long newOwnerId)
Sets the document owner
Specified by:
setOwnerId in interface CreateRFQAttachmentCmd
Parameters:
newOwnerId - document owner

setTradingId

public void setTradingId(java.lang.Long newTradingId)
Sets the trading id
Specified by:
setTradingId in interface CreateRFQAttachmentCmd
Parameters:
newTradingId - trading id

setUsage

public void setUsage(java.lang.String newUsage)
Sets the usage
Specified by:
setUsage in interface CreateRFQAttachmentCmd
Parameters:
newUsage - usage

validateParameters

public void validateParameters()
                        throws ECException
Performs validate parameters
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECTargetableCommand
Throws:
ECException
ECApplicationException
ECSystemException
See Also:
ECCommand#validateParameters()