com.ibm.commerce.rfq.commands
Interface RFQResponsePattributeAttachmentAddCmd

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

public interface RFQResponsePattributeAttachmentAddCmd
extends AttachmentUploadCmd

Adds an attachment to an item in an RFQ response.


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
 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
getAttachmentId, 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