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
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public long getAttachmentOwner()
AttachmentUploadCmd
getAttachmentOwner
in interface
AttachmentUploadCmd
public long getFileSize()
AttachmentUploadCmd
getFileSize
in interface
AttachmentUploadCmd
public java.lang.Long getAttachmentId()
AttachmentUploadCmd
getAttachmentId
in interface
AttachmentUploadCmd