public interface ProductAttributeDeleteCmd extends ControllerCommand
ProductAttributeDeleteCmd
is a URL and controller command that:
CatalogEntryDeleteCmd
for all the items with the deleting attribute.
setDeleteItems
to false if items of the product are not to be deleted when deleting the product attribute.
CatalogEntryDeleteCmd
for all the items of the product.
setDeleteItems
to false if items of the product are not to be deleted when deleting the product attribute.
AttributeAccessBean
AttributeAccessBean
DeleteAttributeCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The name of this interface is "com.ibm.commerce.catalogmanagement.commands.ProductAttributeDeleteCmd".
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
defaultCommandClassName
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getAttributeId()
Gets the attribute ID.
|
java.lang.Long |
getCatentryId()
Gets the catalog entry ID.
|
void |
setAttributeId(java.lang.Long anAttributeId)
Sets the attribute ID.
|
void |
setAttrLangId(java.lang.Integer anAttrLangId)
Sets the language ID of the attribute.
|
void |
setAttrtypeId(java.lang.String astrAttrtypeId)
Sets the attribute type ID.
|
void |
setCatentryId(java.lang.Long anCatentryId)
Sets the catalog entry ID.
|
void |
setDeleteItems(java.lang.Boolean abDeleteItems)
Sets whether or not to delete the items associated with the product when deleting the attribute:
True = items will be deleted
False = items will not be deleted
By default, it is set to true to delete items
|
void |
setForce(java.lang.Integer anForce)
Sets the force delete option for the attribute:
0 = items will be marked for deletion.
|
void |
setName(java.lang.String astrName)
Sets the attribute name.
|
void |
setSequence(java.lang.Double anSequence)
Sets the sequence number of the attribute.
|
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 getAttributeId()
java.lang.Long getCatentryId()
void setAttributeId(java.lang.Long anAttributeId)
anAttributeId
- the attribute IDvoid setAttrLangId(java.lang.Integer anAttrLangId)
anAttrLangId
- language IDvoid setAttrtypeId(java.lang.String astrAttrtypeId)
astrAttrtypeId
- the attribute type IDvoid setCatentryId(java.lang.Long anCatentryId)
anCatentryId
- the catalog entry IDvoid setForce(java.lang.Integer anForce)
anForce
- the force option to be passed to CatalogEntryDeleteCmd
void setDeleteItems(java.lang.Boolean abDeleteItems)
abDeleteItems
- the option to delete the items associated with the product attributevoid setName(java.lang.String astrName)
astrName
- the attribute namevoid setSequence(java.lang.Double anSequence)
anSequence
- the sequence numbervoid setURL(java.lang.String astrURL)
astrURL
- the redirect URL