The 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
Other Controller Commands: None.
Mandatory Parameters: attributeId, or catentryId and name.
Additional Parameters: None.
Optional Parameters: descLangId, force, URL.
Field Summary | |
---|---|
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. |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Method Summary | |
---|---|
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. |
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.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,
getResources,
getStoreId,
getUser,
getUserId,
performExecute,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
Method Detail |
---|
public java.lang.Long getAttributeId()
public java.lang.Long getCatentryId()
public void setAttributeId(java.lang.Long anAttributeId)
anAttributeId
- the attribute IDpublic void setAttrLangId(java.lang.Integer anAttrLangId)
anAttrLangId
- language IDpublic void setAttrtypeId(java.lang.String astrAttrtypeId)
astrAttrtypeId
- the attribute type IDpublic void setCatentryId(java.lang.Long anCatentryId)
anCatentryId
- the catalog entry IDpublic void setForce(java.lang.Integer anForce)
anForce
- the force option to be passed to
CatalogEntryDeleteCmd
public void setDeleteItems(java.lang.Boolean abDeleteItems)
abDeleteItems
- the option to delete the items associated with
the product attributepublic void setName(java.lang.String astrName)
astrName
- the attribute namepublic void setSequence(java.lang.Double anSequence)
anSequence
- the sequence numberpublic void setURL(java.lang.String astrURL)
astrURL
- the redirect URL