com.ibm.commerce.attachment.commands
Interface AttachmentDeleteCmd
-
- All Superinterfaces:
- AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand
- All Known Implementing Classes:
- AttachmentDeleteCmdImpl
public interface AttachmentDeleteCmd extends ControllerCommand
Interface forAttachmentDelete
command
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
CLASSNAME
Define the CLASSNAME.static java.lang.String
COPYRIGHT
The internal copyright field.-
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.Long
getAttachmentTargetId()
Gets the attachment target ID.java.lang.String
getIdentifier()
Gets the identifier of the attachment target.java.lang.Long
getMemberId()
Gets the owner of the attachment target.java.lang.Integer
getStoreentId()
Gets the store entity ID that owns the attachment target.void
setAttachmentAssetsForDelete(java.util.Vector avAttachmentAssetDataBeansForDelete)
Sets the vector ofAttachmentAssetDataBean
as the attachment assets to be deleted from the attachment target.void
setAttachmentTargetId(java.lang.Long anAttachmentTargetId)
Sets the attachment target ID.void
setDeleteAssetsOnly(boolean abFlag)
Sets the flag to indicate that it will only deletes the assets indicated but not the target.void
setIdentifier(java.lang.String astrIdentifier)
Sets the identifier of the attachment target.void
setMemberId(java.lang.Long anMemberId)
Sets the owner ID of the attachment target.void
setStoreentId(java.lang.Integer anStoreentId)
Sets the store entity ID.void
setURL(java.lang.String astrURL)
Sets the redirect URL.-
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
-
Methods inherited from interface com.ibm.websphere.command.CacheableCommand
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
-
Methods inherited from interface com.ibm.websphere.command.TargetableCommand
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
-
Methods inherited from interface com.ibm.commerce.command.AccCommand
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
-
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
-
-
-
-
Field Detail
-
COPYRIGHT
static final java.lang.String COPYRIGHT
The internal copyright field.- See Also:
- Constant Field Values
-
CLASSNAME
static final java.lang.String CLASSNAME
Define the CLASSNAME.- See Also:
- Constant Field Values
-
-
Method Detail
-
getAttachmentTargetId
java.lang.Long getAttachmentTargetId()
Gets the attachment target ID.- Returns:
- The attachment target ID
-
getStoreentId
java.lang.Integer getStoreentId()
Gets the store entity ID that owns the attachment target.- Returns:
- The store entity ID
-
getMemberId
java.lang.Long getMemberId()
Gets the owner of the attachment target.- Returns:
- The owner ID of the attachment target
-
getIdentifier
java.lang.String getIdentifier()
Gets the identifier of the attachment target.- Returns:
- The identifier of the attachment target
-
setAttachmentTargetId
void setAttachmentTargetId(java.lang.Long anAttachmentTargetId)
Sets the attachment target ID.- Parameters:
anAttachmentTargetId
- The attachment target ID
-
setStoreentId
void setStoreentId(java.lang.Integer anStoreentId)
Sets the store entity ID.- Parameters:
anStoreentId
- The store entity ID
-
setMemberId
void setMemberId(java.lang.Long anMemberId)
Sets the owner ID of the attachment target.- Parameters:
anMemberId
- The owner of the attachment target
-
setIdentifier
void setIdentifier(java.lang.String astrIdentifier)
Sets the identifier of the attachment target.- Parameters:
astrIdentifier
- The identifier of the attachment target
-
setURL
void setURL(java.lang.String astrURL)
Sets the redirect URL.- Parameters:
astrURL
- The redirect URL
-
setAttachmentAssetsForDelete
void setAttachmentAssetsForDelete(java.util.Vector avAttachmentAssetDataBeansForDelete)
Sets the vector ofAttachmentAssetDataBean
as the attachment assets to be deleted from the attachment target.- Parameters:
avAttachmentAssetDataBeansForDelete
- The list ofAttachmentAssetDataBean
as the attachment assets for delete.
-
setDeleteAssetsOnly
void setDeleteAssetsOnly(boolean abFlag)
Sets the flag to indicate that it will only deletes the assets indicated but not the target.- Parameters:
abFlag
- the value of the flag.
-
-