com.ibm.commerce.rfq.commands
Interface RFQAttachmentReplaceCmd
- All Superinterfaces:
- AccCommand, AttachmentUploadCmd, ControllerCommand, ECCommand, Protectable, 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.ControllerCommand |
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
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 |
COPYRIGHT
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
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
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.