|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Command Name: ProductAttributeUpdate Command Type: URL and controller command Description: 1. Updates an existing attribute, note that attribute type cannot be changed. 2. If a new language ID is supplied, then ProductAttributeAdd will be called to create a an attribute of secondary language. Parameters: 1. Most fields in the attribute table except for MPE related columns and IBM internal use columns. 2. Most fields in the attribute table except for MPE related columns and IBM internal use columns. Tables: 1. Attribute 2. Attribute Task Commands: UpdateAttributeCmd Other Controller Commands: None Mandatory Parameters: attributeId, or catentryId + name Additional Parameters: Optional Parameters: attrtypeId, desc, desc2, field1, descLangId, seq, URL, Default Value: descLangId = language ID from command context.
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 the attribute Id |
void |
setAttrLangId(java.lang.Integer anAttrLangId)
Set attribute language Id of the attribute |
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 attribute name |
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 void setAttributeId(java.lang.Long anAttributeId)
anAttributeId
- java.lang.Longpublic void setAttrLangId(java.lang.Integer anAttrLangId)
anAttrLangId
- java.lang.Integerpublic 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)
astrDescription2
- 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)
public 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 |