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.AttachmentAssetAccessBean
StoreEntityAccessBean
WriteManagedFile
AttachmentAssetHelper
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, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String CLASSNAME
public java.lang.Long getAttachmentAssetId()
getAttachmentAssetId
in interface DeleteAttachmentAssetCmd
public java.lang.Long getAttachmentTargetId()
getAttachmentTargetId
in interface DeleteAttachmentAssetCmd
public java.lang.Integer getStoreentId()
getStoreentId
in interface DeleteAttachmentAssetCmd
public java.lang.String getAttachmentAssetPath()
getAttachmentAssetPath
in interface DeleteAttachmentAssetCmd
public java.lang.Boolean getDeleteByAttachmentTarget()
getDeleteByAttachmentTarget
in interface DeleteAttachmentAssetCmd
public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException
public void performExecute() throws ECException
DeleteAttachmentAsset
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setAttachmentAssetId(java.lang.Long anAttachmentAssetId)
setAttachmentAssetId
in interface DeleteAttachmentAssetCmd
anAttachmentAssetId
- The attachment asset IDpublic void setAttachmentTargetId(java.lang.Long anAttachmentTargetId)
setAttachmentTargetId
in interface DeleteAttachmentAssetCmd
anAttachmentTargetId
- The attachment target IDpublic void setStoreentId(java.lang.Integer anStoreentId)
setStoreentId
in interface DeleteAttachmentAssetCmd
anStoreentId
- The store entity IDpublic void setAttachmentAssetPath(java.lang.String astrAttachmentAssetPath)
setAttachmentAssetPath
in interface DeleteAttachmentAssetCmd
astrAttachmentAssetPath
- The attachment asset pathpublic void setDeleteByAttachmentTarget(java.lang.Boolean aboolDeleteByAttachmentTarget)
setDeleteByAttachmentTarget
in interface DeleteAttachmentAssetCmd
aboolDeleteByAttachmentTarget
- The option value to delete the attachment assets by attachment target ID.public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface DeleteAttachmentAssetCmd
reqParms
- The request propertiesECApplicationException
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
public java.lang.String[] getCatalogIdsForCacheInvalidations() throws ECException
ECException
public java.lang.String[] getCatentryIdsForCacheInvalidations() throws ECException
ECException
public java.lang.String[] getCatgroupIdsForCacheInvalidations() throws ECException
ECException
public java.lang.String[] getCollateralIdsForCacheInvalidations() throws ECException
ECException
public java.util.Collection getEMarketingSpotNamesForCacheInvalidations() throws ECException
ECException