public class DeleteAttachmentAssetCmdImpl extends TaskCommandImpl implements DeleteAttachmentAssetCmd
WriteManagedFile will be called. This will remove the association
between the asset and the managed file.WriteManagedFile will be called. This will remove the association
between the asset and the managed file.AttachmentAssetAccessBeanStoreEntityAccessBean WriteManagedFileAttachmentAssetHelper| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSNAME
Define the CLASSNAME.
|
| Constructor and Description |
|---|
DeleteAttachmentAssetCmdImpl() |
| 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 list of catalog IDs for cache invalidations.
|
java.lang.String[] |
getCatentryIdsForCacheInvalidations()
Gets the list of catalog entry IDs for cache invalidations.
|
java.lang.String[] |
getCatgroupIdsForCacheInvalidations()
Gets the list of catalog group IDs for cache invalidations.
|
java.lang.String[] |
getCollateralIdsForCacheInvalidations()
Gets the list of collateral IDs for cache invalidations.
|
java.lang.Boolean |
getDeleteByAttachmentTarget()
Gets option value for deleting the attachment assets by attachment target ID.
|
java.util.Collection |
getEMarketingSpotNamesForCacheInvalidations()
Gets the list of e-Marketing Spot names for cache invalidations.
|
AccessVector |
getResources()
Gets the access vector accessed by this command.
|
java.lang.Integer |
getStoreentId()
Gets the store entity ID.
|
void |
performExecute()
Main execution for
DeleteAttachmentAsset |
void |
reset()
Resets all the parameters
|
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 |
setDeleteByAttachmentTarget(java.lang.Boolean aboolDeleteByAttachmentTarget)
Sets option value for deleting the attachment assets by attachment target ID.
|
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 DeleteAttachmentAssetCmdpublic java.lang.Long getAttachmentTargetId()
getAttachmentTargetId in interface DeleteAttachmentAssetCmdpublic java.lang.Integer getStoreentId()
getStoreentId in interface DeleteAttachmentAssetCmdpublic java.lang.String getAttachmentAssetPath()
getAttachmentAssetPath in interface DeleteAttachmentAssetCmdpublic java.lang.Boolean getDeleteByAttachmentTarget()
getDeleteByAttachmentTarget in interface DeleteAttachmentAssetCmdpublic AccessVector getResources() throws ECException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECExceptionpublic void performExecute()
throws ECException
DeleteAttachmentAssetperformExecute 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 setAttachmentAssetId(java.lang.Long anAttachmentAssetId)
setAttachmentAssetId in interface DeleteAttachmentAssetCmdanAttachmentAssetId - The attachment asset IDpublic void setAttachmentTargetId(java.lang.Long anAttachmentTargetId)
setAttachmentTargetId in interface DeleteAttachmentAssetCmdanAttachmentTargetId - The attachment target IDpublic void setStoreentId(java.lang.Integer anStoreentId)
setStoreentId in interface DeleteAttachmentAssetCmdanStoreentId - The store entity IDpublic void setAttachmentAssetPath(java.lang.String astrAttachmentAssetPath)
setAttachmentAssetPath in interface DeleteAttachmentAssetCmdastrAttachmentAssetPath - The attachment asset pathpublic void setDeleteByAttachmentTarget(java.lang.Boolean aboolDeleteByAttachmentTarget)
setDeleteByAttachmentTarget in interface DeleteAttachmentAssetCmdaboolDeleteByAttachmentTarget - The option value to delete the attachment assets by attachment target ID.public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties in interface DeleteAttachmentAssetCmdreqParms - 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