public interface UpdateAttachmentAssetCmd extends TaskCommand
UpdateAttachmentAsset
This task command updates an attachment asset. The value of the create missing option determines whether to create
the attachment asset or not when no such attachment asset exists for update. By default, the create missing option
is set to true.
Parameters cannot be set into the task command by the request properties.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
Define the CLASSNAME.
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getAttachmentAssetId()
Gets the attachment asset ID.
|
java.lang.String |
getAttachmentAssetPath()
Gets the path for the attachment asset.
|
java.lang.Long |
getAttachmentTargetId()
Gets the attachment target ID that owns the attachment asset.
|
byte[] |
getContent()
Gets the content of the attachment asset.
|
java.lang.String |
getImage1()
Gets the image 1 of the attachment asset.
|
java.lang.String |
getImage2()
Gets the image 2 of the attachment asset.
|
java.lang.String |
getMimeType()
Gets the mime type of the attachment asset.
|
java.lang.String |
getMimeTypeEncoding()
Gets the encoding of the mime type of the attachment asset.
|
java.lang.Integer |
getStoreentId()
Gets the store entity ID.
|
void |
setAttachmentAssetId(java.lang.Long anAttachmentAssetId)
Sets the attachment asset ID.
|
void |
setAttachmentAssetPath(java.lang.String astrAttachmentAssetPath)
Sets the path of the attachment asset.
|
void |
setAttachmentTargetId(java.lang.Long anAttachmentTargetId)
Sets the attachment target ID.
|
void |
setContent(byte[] abaAssetContent)
Sets the content of the attachment asset.
|
void |
setCreateMissing(java.lang.Boolean aboolCreateMissing)
Sets the option the create missing attachment asset.
|
void |
setImage1(java.lang.String astrImage1)
Sets the image 1 of the attachment asset.
|
void |
setImage2(java.lang.String astrImage2)
Sets the image 2 of the attachment asset.
|
void |
setMimeType(java.lang.String astrMimeType)
Sets the mime type of the attachment asset.
|
void |
setMimeTypeEncoding(java.lang.String astrMimeTypeEncoding)
Sets the encoding of the mime type of the attachment asset.
|
void |
setRequestProperties(TypedProperty reqParms)
Sets the request properties.
|
void |
setStoreentId(java.lang.Integer anStoreentId)
Sets the store entity ID.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String CLASSNAME
java.lang.Long getAttachmentAssetId()
java.lang.Long getAttachmentTargetId()
java.lang.Integer getStoreentId()
java.lang.String getAttachmentAssetPath()
java.lang.String getImage1()
java.lang.String getImage2()
java.lang.String getMimeType()
java.lang.String getMimeTypeEncoding()
byte[] getContent()
void setAttachmentAssetId(java.lang.Long anAttachmentAssetId)
anAttachmentAssetId
- The attachment asset IDvoid setAttachmentTargetId(java.lang.Long anAttachmentTargetId)
anAttachmentTargetId
- The attachment target IDvoid setStoreentId(java.lang.Integer anStoreentId)
anStoreentId
- The store entity IDvoid setAttachmentAssetPath(java.lang.String astrAttachmentAssetPath)
astrAttachmentAssetPath
- The attachment asset pathvoid setImage1(java.lang.String astrImage1)
astrImage1
- The image 1void setImage2(java.lang.String astrImage2)
astrImage2
- The image 2void setMimeType(java.lang.String astrMimeType)
astrMimeType
- The attachment asset mimetypevoid setMimeTypeEncoding(java.lang.String astrMimeTypeEncoding)
astrMimeTypeEncoding
- The encoding of the attachment asset mimetypevoid setCreateMissing(java.lang.Boolean aboolCreateMissing)
aboolCreateMissing
- The create missing flagvoid setContent(byte[] abaAssetContent)
abaAssetContent
- The attachment asset contentvoid setRequestProperties(TypedProperty reqParms) throws ECApplicationException
reqParms
- The request propertiesECApplicationException