com.ibm.commerce.rfq.commands
Interface RFQAttachmentReplaceCmd

All Superinterfaces:
AccCommand, AttachmentUploadCmd, ControllerCommand, ECCommand, UploadToStreamCmd
All Known Implementing Classes:
RFQAttachmentReplaceCmdImpl

public interface RFQAttachmentReplaceCmd
extends AttachmentUploadCmd

Replaces an attachment in an RFQ.


Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field
static java.lang.String defaultCommandClassName
          default class name
static java.lang.String NAME
          Controller command name
 
Method Summary
 java.lang.Long getAttachmentId()
          Gets the id of the attachment object in database
 long getAttachmentOwner()
          Gets the owner_id of the creator of the uploaded attachment.
 long getFileSize()
          Gets the filesize if the uploaded file .
 
Methods inherited from interface com.ibm.commerce.command. AttachmentUploadCmd
setPersistDB
 
Methods inherited from interface com.ibm.commerce.command. UploadToStreamCmd
getAttachmentStream, getFileName, getUrl
 
Methods inherited from interface com.ibm.commerce.command. ControllerCommand
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
 
Methods inherited from interface com.ibm.commerce.command. AccCommand
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command. ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM copyright notice field
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
Controller command name
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
default class name
See Also:
Constant Field Values
Method Detail

getAttachmentOwner

public long getAttachmentOwner()
Description copied from interface: AttachmentUploadCmd
Gets the owner_id of the creator of the uploaded attachment. the owner is the one who logs into the store and perform the commmand.
Specified by:
getAttachmentOwner in interface AttachmentUploadCmd
Returns:
owner_id

getFileSize

public long getFileSize()
Description copied from interface: AttachmentUploadCmd
Gets the filesize if the uploaded file .
Specified by:
getFileSize in interface AttachmentUploadCmd
Returns:
filesize

getAttachmentId

public java.lang.Long getAttachmentId()
Description copied from interface: AttachmentUploadCmd
Gets the id of the attachment object in database
Specified by:
getAttachmentId in interface AttachmentUploadCmd
Returns:
Long attachment_id