com.ibm.commerce.rfq.commands
Interface RFQResponsePattributeAttachmentAddCmd
-
- All Superinterfaces:
- AccCommand, AttachmentUploadCmd, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, UploadToStreamCmd
- All Known Implementing Classes:
- RFQResponsePattributeAttachmentAddCmdImpl
public interface RFQResponsePattributeAttachmentAddCmd extends AttachmentUploadCmd
Adds an attachment to an item in an RFQ response.
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
IBM copyright notice fieldstatic java.lang.String
defaultCommandClassName
Default class namestatic java.lang.String
NAME
Controller command name
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description 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.websphere.command.CacheableCommand
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
-
Methods inherited from interface com.ibm.websphere.command.TargetableCommand
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
-
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, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
-
-
-
-
Field Detail
-
COPYRIGHT
static final java.lang.String COPYRIGHT
IBM copyright notice field- See Also:
- Constant Field Values
-
NAME
static final java.lang.String NAME
Controller command name- See Also:
- Constant Field Values
-
defaultCommandClassName
static final java.lang.String defaultCommandClassName
Default class name- See Also:
- Constant Field Values
-
-
Method Detail
-
getAttachmentOwner
long getAttachmentOwner()
Gets the owner_id of the creator of the uploaded attachment. the owner is the one who logs into the store and perform the command.- Specified by:
getAttachmentOwner
in interfaceAttachmentUploadCmd
- Specified by:
getAttachmentOwner
in interfaceUploadToStreamCmd
- Returns:
- owner_id
-
getFileSize
long getFileSize()
Gets the filesize if the uploaded file .- Specified by:
getFileSize
in interfaceAttachmentUploadCmd
- Specified by:
getFileSize
in interfaceUploadToStreamCmd
- Returns:
- filesize
-
-