The AttributeValueUpdateCmd is a URL and controller command that updates an existing attribute value. Note that a parent attribute value is an attribute value with a store default language ID. A child attribute value is an attribute value with a language ID other than the store default language ID. A product attribute value is an attribute value where the catalog entry ID = 0, an item attribute value is an attribute value where the catalog entry ID = the catalog entry ID of an item. As a controller command, the caller can use the setProductAttributeValue(value) to find the parent product attribute value ID (for example, the command will find the attribute value ID with the specified attribute ID, catalog entry ID = 0, language ID = store default language ID, and value of the attribute value). The attribute value ID will be assigned and passed back into the command. This option is not available to the URL command.
Field Summary | |
static java.lang.String | CLASSNAME The name of this interface is "com.ibm.commerce.catalogmanagement.commands.AttributeValueUpdateCmd". |
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 | getAttrvalueId() Gets the attribute value ID. |
java.lang.Long | getCatentryId() Gets the catalog entry ID. |
void | setAttributeId(java.lang.Long anAttributeId) Sets the attribute ID. |
void | setAttrvalueId(java.lang.Long anAttrvalueId) Sets the attribute value ID. |
void | setCatentryId(java.lang.Long anCatentryId) Sets the catalog entry ID. |
void | setDescLanguage(java.lang.Integer anDescLanguage) Sets the language ID of the attribute value. |
void | setField1(java.lang.Integer anField1) Sets field 1 of the attribute value. |
void | setField2(java.lang.String astrField2) Sets field 2 of the attribute value. |
void | setField3(java.lang.String astrField3) Sets field 3 of the attribute value. |
void | setFloatvalue(java.lang.Double adFloatvalue) Sets the float value of the attribute value. |
void | setImage1(java.lang.String astrImage1) Sets the path of image 1 of the attribute value. |
void | setImage2(java.lang.String astrImage2) Sets the path of image 2 of the attribute value. |
void | setIntegervalue(java.lang.Integer anIntegervalue) Sets the integer value of the attribute value. |
void | setName(java.lang.String astrName) Sets the attribute value name. |
void | setOID(java.lang.String astrOID) Sets the object identifier of the attribute value. |
void | setProductAttributeValue(java.lang.String astrProductAttributeValue) Sets the value of the product attribute value. |
void | setSequence(java.lang.Double adSequence) Sets the sequence number of the attribute value. |
void | setStringvalue(java.lang.String astrStringvalue) Sets the string value of the attribute value. |
void | setURL(java.lang.String astrURL) Sets the redirect URL. |
void | setValue(java.lang.String astrValue) Sets the value of the attribute value. |
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 |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
Method Detail |
public java.lang.Long getAttributeId()
public java.lang.Long getAttrvalueId()
public java.lang.Long getCatentryId()
public void setAttributeId(java.lang.Long anAttributeId)
public void setAttrvalueId(java.lang.Long anAttrvalueId)
public void setCatentryId(java.lang.Long anCatentryId)
public void setDescLanguage(java.lang.Integer anDescLanguage)
public void setField1(java.lang.Integer anField1)
public void setField2(java.lang.String astrField2)
public void setField3(java.lang.String astrField3)
public void setFloatvalue(java.lang.Double adFloatvalue)
public void setImage1(java.lang.String astrImage1)
public void setImage2(java.lang.String astrImage2)
public void setIntegervalue(java.lang.Integer anIntegervalue)
public void setName(java.lang.String astrName)
public void setOID(java.lang.String astrOID)
public void setProductAttributeValue(java.lang.String astrProductAttributeValue)
public void setSequence(java.lang.Double adSequence)
public void setStringvalue(java.lang.String astrStringvalue)
public void setURL(java.lang.String astrURL)
public void setValue(java.lang.String astrValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.