|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Command Name: ProductAttributeAdd Command Type: URL and controller command Description: 1. Adds a new product attribute to an exisiting catalog entry (Product) at the store default language. 2. Adds the product attribute to an existing catalog entry (Product) at a language other than the store default language. Product attribute at the store default language must exists before the attribute can be created at the secondary language. Parameters: 1. Unique index of the attribute table must be speicified. Most fields in the Attribute table except for MPE related columns and IBM internal use columns. A new attribute ID will be returned at the end of successfully calling the command. 2. Attribute ID and Language ID must be supplied. Most fields in the Attribute table except for MPE related columns and IBM internal use columns. Tables: 1. Attribute 2. Attribute Task Commands: AddAttributeCmd Other Controller Commands: None Mandatory Parameters: catentryId, name, attrtypeId, Additional Parameters: Optional Parameters: desc, desc2, field1, descLangId, seq, usage, URL Default Value: descLanguageId = langauge ID fromcommand contect.
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 |
java.lang.String |
getName()
Get the attribute name |
void |
setAttributeId(java.lang.Long anAttributeId)
Set the 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 |
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 name of the attribute |
void |
setOID(java.lang.String astrOID)
Set the object identifier of the attribute |
void |
setSequence(java.lang.Double anSequence)
Set the sequence number of the attribute |
void |
setURL(java.lang.String astrURL)
Set the redirect URL |
void |
setUsage(java.lang.String astrUsage)
Set the usage of the attribute 1 .NULL or "1" indicates SKU-resolution. |
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 |
public static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
Method Detail |
public java.lang.Long getAttributeId()
public java.lang.Long getCatentryId()
public java.lang.String getName()
public void setAttributeId(java.lang.Long anAttributeId)
public void setAttrLangId(java.lang.Integer anAttrLangId)
anAttrLangId
- java.lang.Integerpublic void setAttrtypeId(java.lang.String astrAttrtypeId)
astrAttrtypeId
- java.lang.Stringpublic void setCatentryId(java.lang.Long anCatentryId)
anCatentryId
- java.lang.Longpublic void setDescription(java.lang.String astrDescription)
astrDescription
- java.lang.Stringpublic void setDescription2(java.lang.String astrDescription2)
astrDescription
- java.lang.Stringpublic void setField1(java.lang.String astrField1)
astrField1
- java.lang.Stringpublic void setName(java.lang.String astrName)
astrName
- java.lang.Stringpublic void setOID(java.lang.String astrOID)
astrOID
- java.lang.Stringpublic void setSequence(java.lang.Double anSequence)
anSequence
- java.lang.Doublepublic void setURL(java.lang.String astrURL)
astrURL
- java.lang.Stringpublic void setUsage(java.lang.String astrUsage)
astrUsage
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |