com.ibm.commerce.catalogmanagement.commands
Interface ProductAttributeDeleteCmd

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

public interface ProductAttributeDeleteCmd
extends ControllerCommand

Command Name: ProductAttributeDelete Command Type: URL and Controller Command Description: 1. If the Attribute Id is supplied, 1.1. Delete an existing Product Attribute 1.2. Call CatEntryDelete for all the items with the deleted Attribute. 2. If the Catalog Entry Id for the product is supplied 2.1. Delete all Product Attributes related to that Catalog Entry 2.2. Call CatEntryDelete for all the items with the deleted Attribute. Parameters: 1. Attribute Id 2. Catalog Entry Id Tables: 1. 1.1. Attribute 1.2. See CatalogEntryDelete 2. 2.1. Attribute 2.2. See CatalogEntryDelete Task Commands: DeleteAttributeCmd Other Controller Commands: None Mandatory Parameters: attributeId, or catentryId + name Additional Parameters: Optional Parameters: descLangId, force, URL


Field Summary
static java.lang.String CLASSNAME
           
static java.lang.String COPYRIGHT
           
 
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
 
Method Summary
 java.lang.Long getAttributeId()
          Get the attribute Id
 java.lang.Long getCatentryId()
          Get the catalog entry Id
 void setAttributeId(java.lang.Long anAttributeId)
          Set a attribute Id
 void setAttrLangId(java.lang.Integer anAttrLangId)
          Set the attribute language Id of the attribute
 void setAttrtypeId(java.lang.String astrAttrtypeId)
          Set the attribute type Id Attribute types included: 1.
 void setCatentryId(java.lang.Long anCatentryId)
          Set the catalog entry Id
 void setForce(java.lang.Integer anForce)
          Set the force delete option for the attribute
 void setName(java.lang.String astrName)
          Set the attribute name
 void setSequence(java.lang.Double anSequence)
          Set the sequence number of the attribute
 void setURL(java.lang.String astrURL)
          Set the redirect URL
 
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
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, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

CLASSNAME

public static final java.lang.String CLASSNAME

COPYRIGHT

public static final java.lang.String COPYRIGHT
Method Detail

getAttributeId

public java.lang.Long getAttributeId()
Get the attribute Id
Returns:
java.lang.Long

getCatentryId

public java.lang.Long getCatentryId()
Get the catalog entry Id
Returns:
java.lang.Long

setAttributeId

public void setAttributeId(java.lang.Long anAttributeId)
Set a attribute Id
Parameters:
anAttributeId - java.lang.Long

setAttrLangId

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

setAttrtypeId

public void setAttrtypeId(java.lang.String astrAttrtypeId)
Set the attribute type Id Attribute types included: 1. String 2. Integer 3. Float
Parameters:
astrAttrtypeId - java.lang.String

setCatentryId

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

setForce

public void setForce(java.lang.Integer anForce)
Set the force delete option for the attribute
Parameters:
anForce - java.lang.Integer

setName

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

setSequence

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

setURL

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