public class AttributeCreateControllerCmdImpl extends ToolsControllerCommandImpl implements AttributeCreateControllerCmd
{ fr_FR= { status=ADD, name=definingAttribute1_french, type=STRING, description=definingAttribute1_french_description, attributeValues=[ { status=ADD, value=valeur1, image=/image/valeur1, sequence=1, id=-1 }, { status=ADD, value=valeur2, image=image/valeur2, sequence=2, id=-2 }, { status=ADD, value=valeur3, image=/image/valeur3, sequence=3, id=-3 }], id=-1 }, XMLFile=catalog.attributeDetailCreateDialog, productrfnbr=14751, en_US= { status=ADD, name=definingAttribute1_required, type=STRING, description=definingAttribute1_description, attributeValues=[ { status=ADD, value=value1, image=/image/value1, sequence=1, id=-1 }, { status=ADD, value=value2, image=/image/value2, sequence=2, id=-2 }, { status=ADD, value=value3, image=/image/value3, sequence=3, id=-3 }], id=-1 }, isNewAttribute=true }
Constructor and Description |
---|
AttributeCreateControllerCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long | attributeValueCreate(java.lang.Long attributeId, com.ibm.commerce.tools.catalog.beans.ProductAttributeValue avalueDB)
Create the attribute values for the specified attribute id.
|
void | attributeValueUpdate(java.lang.Long attributeId, com.ibm.commerce.tools.catalog.beans.ProductAttributeValue avalueDB)
Update the attribute values for the specified attribute id.
|
void | performExecute()
Create a defining attribute and its values for a product.
|
public java.lang.Long attributeValueCreate(java.lang.Long attributeId, com.ibm.commerce.tools.catalog.beans.ProductAttributeValue avalueDB) throws ECException
public void attributeValueUpdate(java.lang.Long attributeId, com.ibm.commerce.tools.catalog.beans.ProductAttributeValue avalueDB) throws ECException
public void performExecute() throws ECException