public interface AttachmentRelationBaseDeleteCmd extends ControllerCommand
AttachmentRelationBaseDelete
command.
The AttachmentRelationBaseDelete
deletes an attachment relationship between and attachment target
and a Commerce business object; together with all the attachment relation descriptions for it. This
command must be extended from a controller command from the Commerce business object, for example,
the CatalogEntryAttachmentDelete
command.
The command can either delete the attachment relation by the attachment relation ID or delete all the attachment
relations associated with a Commerce business object.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
Define the CLASSNAME.
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
defaultCommandClassName
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getAttachmentRelationId()
Gets the attachment relation ID.
|
java.lang.Integer |
getAttachmentRelationUsageId()
Gets the attachment relation usage ID used in this attachment relation.
|
java.lang.Long |
getAttachmentTargetId()
Gets the attachment target ID used in this attachment relation.
|
java.lang.Boolean |
getDeleteByBusinessObject()
Gets the option to delete all the attachment relations by business object.
|
java.lang.String |
getURL()
Gets the redirect URL.
|
void |
setAttachmentRelationId(java.lang.Long anAttachmentRelationId)
Sets the attachment relation ID.
|
void |
setAttachmentRelationUsageId(java.lang.Integer anAttachmentRelationUsageId)
Sets the attachment relation usage ID used in this attachment relation.
|
void |
setAttachmentTargetId(java.lang.Long anAttachmentTargetId)
Sets the attachment target ID used in the attachment relation.
|
void |
setDeleteByBusinessObject(java.lang.Boolean aboolDeleteByBusinessObject)
Sets the option to delete all the attachment relations by business object.
|
void |
setURL(java.lang.String astrURL)
Sets the redirect URL.
|
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
static final java.lang.String COPYRIGHT
static final java.lang.String CLASSNAME
java.lang.Long getAttachmentRelationId()
java.lang.Integer getAttachmentRelationUsageId()
java.lang.Long getAttachmentTargetId()
java.lang.Boolean getDeleteByBusinessObject()
java.lang.String getURL()
void setAttachmentRelationId(java.lang.Long anAttachmentRelationId)
anAttachmentRelationId
- The attachment relation IDvoid setAttachmentRelationUsageId(java.lang.Integer anAttachmentRelationUsageId)
anAttachmentRelationUsageId
- The attachment relation usagevoid setAttachmentTargetId(java.lang.Long anAttachmentTargetId)
anAttachmentTargetId
- The attachment target IDvoid setDeleteByBusinessObject(java.lang.Boolean aboolDeleteByBusinessObject)
aboolDeleteByBusinessObject
- option to delete attachment relation by business objectvoid setURL(java.lang.String astrURL)
astrURL
- The redirect URL