The AttributeValueAddCmd
is a URL and controller command
that:
ATTRVALUE
table except for Market Place Edition
related columns and IBM internal use columns.ATTRVALUE
table except for Market Place Edition related columns
and IBM internal use columns.ATTRVALUE
table except for Market Place Edition related columns
and IBM internal use columns.AttributeValue
AddAttributeValueCmd
Other Controller Commands: None
Mandatory Parameters: attributeId, attrtypeId, name (if catentryId no
supplied, then catentryId=0)
Additional Parameters: None
Optional Parameters: catentryId, field1, field2, field3, image1, image2, seq,
descLangId, URL, value or (integerValue, floatValue, stringValue)
Default Value: descLangId = language ID from command context, name =
value.
Field Summary | |
---|---|
static java.lang.String |
CLASSNAME The name of this interface is "com.ibm.commerce.catalogmanagement.commands.CatalogEntryDeleteCmd". |
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 for the attribute value. |
java.lang.Long |
getAttrvalueId() Gets the attribute value ID. |
java.lang.Long |
getCatentryId() Gets the catalog entry ID. |
java.lang.Double |
getSequence() Gets the sequence number for the attribute value. |
void |
setAttributeId(java.lang.Long anAttributeId) Sets the attribute ID. |
void |
setAttrtypeId(java.lang.String astrAttrtypeId) Sets the attribute type 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 for 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 |
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 |
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 java.lang.Double getSequence()
public void setAttributeId(java.lang.Long anAttributeId)
public void setAttrtypeId(java.lang.String astrAttrtypeId)
astrAttrtypeId
- the attribute type ID of the attribute
valuepublic void setAttrvalueId(java.lang.Long anAttrvalueId)
anAttrvalueId
- the attribute value IDpublic void setCatentryId(java.lang.Long anCatentryId)
anCatentryId
- the catalog entry IDpublic void setDescLanguage(java.lang.Integer anDescLanguage)
anDescLanguage
- the language IDpublic void setField1(java.lang.Integer anField1)
anField1
- customizable field 1public void setField2(java.lang.String astrField2)
astrField2
- customizable field 2public void setField3(java.lang.String astrField3)
astrField3
- customizable field 3public void setFloatvalue(java.lang.Double adFloatvalue)
adFloatvalue
- the float value of the attribute
valuepublic void setImage1(java.lang.String astrImage1)
astrImage1
- the first image of the attribute
valuepublic void setImage2(java.lang.String astrImage2)
astrImage2
- the second image of the attribute
valuepublic void setIntegervalue(java.lang.Integer anIntegervalue)
anIntegervalue
- the integer value of the attribute
valuepublic void setName(java.lang.String astrName)
astrName
- the name of the attribute valuepublic void setOID(java.lang.String astrOID)
astrOID
- the attribute value object
identifierpublic void setSequence(java.lang.Double adSequence)
adSequence
- the sequence numberpublic void setStringvalue(java.lang.String astrStringvalue)
astrStringvalue
- the string value of then attribute
valuepublic void setURL(java.lang.String astrURL)
astrURL
- the redirect URLpublic void setValue(java.lang.String astrValue)
setFloatvalue
, setIntegervalue
, or
setStringvalue
. Depending on the attribute type of the attribute
value, the value will be set correspondingly.
astrValue
- the value of the attribute
value