public class ProductAttributeAddCmdImpl extends ControllerCommandImpl implements ProductAttributeAddCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
The name of this interface is "com.ibm.commerce.catalogmanagement.commands.ProductAttributeAddCmdImpl".
|
static java.lang.String | COPYRIGHT
The internal copyright field.
|
protected java.lang.Boolean | ibDeleteItems
The flag to indicate whether the items need to be deleted.
|
protected java.lang.Long | inAttributeId
Attribute ID
|
protected java.lang.Integer | inAttrLangId
Attribute language ID
|
protected java.lang.Long | inCatentryId
Catalog entry ID for attribute
|
protected java.lang.Double | inSequence
Attribute's sequence number
|
protected java.lang.String | istrAttrtypeId
Attribute type ID
|
protected java.lang.String | istrDescription
Description of the attribute
|
protected java.lang.String | istrDescription2
Secondary description of the attribute
|
protected java.lang.String | istrField1
Field 1 of the attribute
|
protected java.lang.String | istrName
Attribute Name
|
protected java.lang.String | istrOID
Attribute's Object Identifier
|
protected java.lang.String | istrURL
Redirect URL
|
protected java.lang.String | istrUsage
Attribute's usage 1 .NULL or "1" indicates SKU-resolution.
|
Constructor and Description |
---|
ProductAttributeAddCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long | getAttributeId()
Get the attribute Id
|
java.lang.Integer | getAttrLangId()
Get the attribute language Id
|
java.lang.String | getAttrtypeId()
Get the attribute type Id Attribute types included: 1.
|
java.lang.Long | getCatentryId()
Get the catalog entry Id
|
java.lang.String | getDescription()
Get the description of the attribute
|
java.lang.String | getDescription2()
Get the second description of the attribute
|
java.lang.String | getField1()
Get field 1 of the attribute
|
java.lang.String | getName()
Get the attribute name
|
java.lang.String | getOID()
Get the object identifier of the attribute
|
java.lang.Double | getSequence()
Get the sequence number
|
java.lang.String | getURL()
Get the redirect URL
|
java.lang.String | getUsage()
Get the usage of the attribute 1 .NULL or "1" indicates SKU-resolution.
|
void | performExecute()
The main program for ProductAttributeAdd command.
|
void | reset()
This method reset all the variables used in ProductAttributeAdd command
|
void | setAttributeId(java.lang.Long anAttributeId)
Set the attribute Id
|
void | setAttrLangId(java.lang.Integer anAttrLangId)
Set the 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 | setDeleteItems(java.lang.Boolean abDeleteItems)
Set whether or not to delete the items when creating the attribute By default, it is set to true
|
void | setDescription(java.lang.String astrDescription)
Set the description of the attribute
|
void | setDescription2(java.lang.String astrDescription2)
Set the second description of the attribute
|
void | setField1(java.lang.String astrField1)
Set field 1 of the attribute
|
void | setName(java.lang.String astrName)
Set the attribute name
|
void | setOID(java.lang.String astrOID)
Set the object identifier of the attribute
|
void | setRequestProperties(TypedProperty reqParms)
This method obtains the input parameters for ProductAttributeAdd command
|
void | setSequence(java.lang.Double anSequence)
Set the sequence number
|
void | setURL(java.lang.String astrURL)
Set a redirect URL
|
void | setUsage(java.lang.String astrUsage)
Set the usage of the attribute 1 .NULL or "1" indicates SKU-resolution.
|
void | validateParameters()
This method validates the parameters for ProductAttributeAdd command
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
protected java.lang.String istrURL
protected java.lang.Long inAttributeId
protected java.lang.String istrAttrtypeId
protected java.lang.Long inCatentryId
protected java.lang.String istrDescription
protected java.lang.String istrDescription2
protected java.lang.String istrField1
protected java.lang.Integer inAttrLangId
protected java.lang.String istrName
protected java.lang.String istrOID
protected java.lang.Double inSequence
protected java.lang.String istrUsage
protected java.lang.Boolean ibDeleteItems
public java.lang.Long getAttributeId()
public java.lang.Integer getAttrLangId()
public java.lang.String getAttrtypeId()
public java.lang.Long getCatentryId()
public java.lang.String getDescription()
public java.lang.String getDescription2()
public java.lang.String getField1()
public java.lang.String getName()
public java.lang.String getOID()
public java.lang.Double getSequence()
public java.lang.String getURL()
public java.lang.String getUsage()
public void performExecute() throws ECException
public void reset()
public void setAttributeId(java.lang.Long anAttributeId)
public void setAttrLangId(java.lang.Integer anAttrLangId)
public void setAttrtypeId(java.lang.String astrAttrtypeId)
public void setCatentryId(java.lang.Long anCatentryId)
public void setDeleteItems(java.lang.Boolean abDeleteItems)
public void setDescription(java.lang.String astrDescription)
public void setDescription2(java.lang.String astrDescription2)
public void setField1(java.lang.String astrField1)
public void setName(java.lang.String astrName)
public void setOID(java.lang.String astrOID)
public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
public void setSequence(java.lang.Double anSequence)
public void setURL(java.lang.String astrURL)
public void setUsage(java.lang.String astrUsage)
public void validateParameters() throws ECException