com.ibm.commerce.catalogmanagement.commands
Interface ProductAttributeDeleteCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand
All Known Implementing Classes:
ProductAttributeDeleteCmdImpl

public interface ProductAttributeDeleteCmd
extends ControllerCommand

The ProductAttributeDeleteCmd is a URL and controller command that:

Parameters: Access Beans: Task Commands: 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
The internal copyright field.
See Also:
Constant Field Values

CLASSNAME

public static final java.lang.String CLASSNAME
The name of this interface is "com.ibm.commerce.catalogmanagement.commands.ProductAttributeDeleteCmd".
See Also:
Constant Field Values
Method Detail

getAttributeId

public java.lang.Long getAttributeId()
Gets the attribute ID.
Returns:
the attribute ID

getCatentryId

public java.lang.Long getCatentryId()
Gets the catalog entry ID.
Returns:
the catalog entry ID

setAttributeId

public void setAttributeId(java.lang.Long anAttributeId)
Sets the attribute ID.
Parameters:
anAttributeId - the attribute ID

setAttrLangId

public void setAttrLangId(java.lang.Integer anAttrLangId)
Sets the language ID of the attribute.
Parameters:
anAttrLangId - language ID

setAttrtypeId

public void setAttrtypeId(java.lang.String astrAttrtypeId)
Sets the attribute type ID. Attribute types include:
Parameters:
astrAttrtypeId - the attribute type ID

setCatentryId

public void setCatentryId(java.lang.Long anCatentryId)
Sets the catalog entry ID.
Parameters:
anCatentryId - the catalog entry ID

setForce

public void setForce(java.lang.Integer anForce)
Sets the force delete option for the attribute:
Parameters:
anForce - the force option to be passed to CatalogEntryDeleteCmd

setDeleteItems

public void setDeleteItems(java.lang.Boolean abDeleteItems)
Sets whether or not to delete the items associated with the product when deleting the attribute: By default, it is set to true to delete items
Parameters:
abDeleteItems - the option to delete the items associated with the product attribute

setName

public void setName(java.lang.String astrName)
Sets the attribute name.
Parameters:
astrName - the attribute name

setSequence

public void setSequence(java.lang.Double anSequence)
Sets the sequence number of the attribute.
Parameters:
anSequence - the sequence number

setURL

public void setURL(java.lang.String astrURL)
Sets the redirect URL.
Parameters:
astrURL - the redirect URL