public interface ContractAttachmentAddCmd
extends com.ibm.commerce.command.ControllerCommand
ContractAttachmentAddCmdImpl
.
The ContractAttachmentAdd
URL is mapped to this command by default.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
static java.lang.String |
defaultCommandClassName
The name of default implementation class.
|
static java.lang.String |
NAME
The name of this interface.
|
Modifier and Type | Method and Description |
---|---|
void |
setMimeType(java.lang.String mimeType)
Sets the MIME type of the attachment.
|
void |
setMimeTypeEncoding(java.lang.String mimeTypeEncoding)
Sets the MIME type encoding of the attachment.
|
void |
setTradingId(java.lang.Long tradingId)
Sets the ID of the trading agreement to which the attachment will be added
|
void |
setURI(java.lang.String uri)
Sets URI of the attachment.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String defaultCommandClassName
static final java.lang.String NAME
void setMimeType(java.lang.String mimeType)
mimeType
- the MIME type for the attachmentvoid setMimeTypeEncoding(java.lang.String mimeTypeEncoding)
mimeTypeEncoding
- the MIME type encoding of the attachmentvoid setTradingId(java.lang.Long tradingId)
tradingId
- ID of the trading agreementvoid setURI(java.lang.String uri)
uri
- the attachment URI