public class AddAttachmentAssetCmdImpl extends TaskCommandImpl implements AddAttachmentAssetCmd
WriteManagedFile command will be called. This will create the Managed File.AttachmentAssetAccessBeanStoreEntityAccessBeanManagedFileAccessBeanWriteManagedFileAttachmentHelperAttachmentAssetHelper| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSNAME
Define the CLASSNAME.
|
| Constructor and Description |
|---|
AddAttachmentAssetCmdImpl() |
| 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.
|
java.lang.String[] |
getCatalogIdsForCacheInvalidations()
Gets the array of catalog IDs for cache invalidations.
|
java.lang.String[] |
getCatentryIdsForCacheInvalidations()
Gets the array of catalog entry IDs for cache invalidations.
|
java.lang.String[] |
getCatgroupIdsForCacheInvalidations()
Gets the array of catalog group IDs for cache invalidations.
|
java.lang.String[] |
getCollateralIdsForCacheInvalidations()
Gets the list of collateral IDs for cache invalidations.
|
byte[] |
getContent()
Gets the content of the attachment asset.
|
java.util.Collection |
getEMarketingSpotNamesForCacheInvalidations()
Gets the list of e-Marketing Spot names for cache invalidations.
|
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.
|
AccessVector |
getResources()
Gets the access vector accessed by this command.
|
java.lang.Integer |
getStoreentId()
Gets the store entity ID.
|
void |
performExecute()
Main execution for
AddAttachmentAsset |
void |
reset()
Resets all the parameters
|
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 |
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.
|
void |
validateParameters()
Validates the parameters.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiespublic static final java.lang.String CLASSNAME
public java.lang.Long getAttachmentAssetId()
getAttachmentAssetId in interface AddAttachmentAssetCmdpublic java.lang.Long getAttachmentTargetId()
getAttachmentTargetId in interface AddAttachmentAssetCmdpublic java.lang.Integer getStoreentId()
getStoreentId in interface AddAttachmentAssetCmdpublic java.lang.String getAttachmentAssetPath()
getAttachmentAssetPath in interface AddAttachmentAssetCmdpublic java.lang.String getImage1()
getImage1 in interface AddAttachmentAssetCmdpublic java.lang.String getImage2()
getImage2 in interface AddAttachmentAssetCmdpublic java.lang.String getMimeType()
getMimeType in interface AddAttachmentAssetCmdpublic java.lang.String getMimeTypeEncoding()
getMimeTypeEncoding in interface AddAttachmentAssetCmdpublic byte[] getContent()
getContent in interface AddAttachmentAssetCmdpublic AccessVector getResources() throws ECException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECExceptionpublic void performExecute()
throws ECException
AddAttachmentAssetperformExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setAttachmentTargetId(java.lang.Long anAttachmentTargetId)
setAttachmentTargetId in interface AddAttachmentAssetCmdanAttachmentTargetId - The attachment target IDpublic void setStoreentId(java.lang.Integer anStoreentId)
setStoreentId in interface AddAttachmentAssetCmdanStoreentId - The store entity IDpublic void setAttachmentAssetPath(java.lang.String astrAttachmentAssetPath)
setAttachmentAssetPath in interface AddAttachmentAssetCmdastrAttachmentAssetPath - The attachment asset pathpublic void setImage1(java.lang.String astrImage1)
setImage1 in interface AddAttachmentAssetCmdastrImage1 - The image 1public void setImage2(java.lang.String astrImage2)
setImage2 in interface AddAttachmentAssetCmdastrImage2 - The image 2public void setMimeType(java.lang.String astrMimeType)
setMimeType in interface AddAttachmentAssetCmdastrMimeType - The attachment asset mimetypepublic void setMimeTypeEncoding(java.lang.String astrMimeTypeEncoding)
setMimeTypeEncoding in interface AddAttachmentAssetCmdastrMimeTypeEncoding - The encoding of the attachment asset mimetypepublic void setContent(byte[] abaAssetContent)
setContent in interface AddAttachmentAssetCmdabaAssetContent - The attachment asset contentpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties in interface AddAttachmentAssetCmdreqParms - The request propertiesECApplicationExceptionpublic void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECExceptionpublic java.lang.String[] getCatalogIdsForCacheInvalidations()
throws ECException
ECExceptionpublic java.lang.String[] getCatentryIdsForCacheInvalidations()
throws ECException
ECExceptionpublic java.lang.String[] getCatgroupIdsForCacheInvalidations()
throws ECException
ECExceptionpublic java.lang.String[] getCollateralIdsForCacheInvalidations()
throws ECException
ECExceptionpublic java.util.Collection getEMarketingSpotNamesForCacheInvalidations()
throws ECException
ECException