The ProductAttributeUpdateCmd
is a URL and controller command
that:
ProductAttributeAddCmd
will be called to create the attribute in the secondary language.ATTRIBUTE
table except for Market Place
Edition related columns and IBM internal use columns.ATTRIBUTE
table except for Market Place
Edition related columns and IBM internal use columns.AttributeAccessBean
AttributeAccessBean
UpdateAttributeCmd
Other Controller Commands: None.
Mandatory Parameters: attributeId, or catentryId and name.
Additional Parameters: None.
Optional Parameters: attrtypeId, desc, desc2, field1, descLangId, seq, URL.
Default Value: descLangId = language ID from command context.
Field Summary | |
---|---|
static java.lang.String |
CLASSNAME The name of this interface is "com.ibm.commerce.catalogmanagement.commands.ProductAttributeUpdateCmd". |
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 |
getCatentryId() Gets the catalog entry ID. |
void |
setAttributeId(java.lang.Long anAttributeId) Sets the attribute ID. |
void |
setAttrLangId(java.lang.Integer anAttrLangId) Sets the language ID of the attribute. |
void |
setCatentryId(java.lang.Long anCatentryId) Sets the catalog entry ID. |
void |
setDescription(java.lang.String astrDescription) Sets the description of the attribute. |
void |
setDescription2(java.lang.String astrDescription2) Sets the second description of the attribute. |
void |
setField1(java.lang.String astrField1) Sets field 1 of the attribute. |
void |
setName(java.lang.String astrName) Sets the attribute name. |
void |
setOID(java.lang.String astrOID) Sets the object identifier of the attribute. |
void |
setSequence(java.lang.Double anSequence) Sets the sequence number of the attribute. |
void |
setURL(java.lang.String astrURL) Sets the redirect URL. |
void |
setUsage(java.lang.String astrUsage) Sets the usage of the attribute: NULL or "1" indicates SKU-resolution. |
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 getCatentryId()
public void setAttributeId(java.lang.Long anAttributeId)
anAttributeId
- the attribute IDpublic void setAttrLangId(java.lang.Integer anAttrLangId)
anAttrLangId
- the language IDpublic void setCatentryId(java.lang.Long anCatentryId)
anCatentryId
- the catalog entry IDpublic void setDescription(java.lang.String astrDescription)
astrDescription
- the description of the
attributepublic void setDescription2(java.lang.String astrDescription2)
astrDescription2
- the second description of the
attributepublic void setField1(java.lang.String astrField1)
astrField1
- customizable field 1public void setName(java.lang.String astrName)
astrName
- the attribute namepublic void setOID(java.lang.String astrOID)
astrOID
- the attribute object identifierpublic void setSequence(java.lang.Double anSequence)
anSequence
- the sequence numberpublic void setURL(java.lang.String astrURL)
astrURL
- the redirect URLpublic void setUsage(java.lang.String astrUsage)
astrUsage
- the attribute usage