This command resolves a Product and its associated Attributes and AttributeValues into an orderable Item.
The input to this command is:
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The internal copyright field. |
static java.lang.String |
defaultCommandClassName The default implementation class is "com.ibm.commerce.catalog.commands.ResolveSkuCmdImpl". |
static java.lang.String |
NAME The name of this interface is "com.ibm.commerce.catalog.commands.ResolveSkuCmd". |
Method Summary | |
---|---|
java.lang.Long |
getItemId() Returns the ItemId that represents the primary key of the resolved Item. |
java.lang.Long |
getItemSpecId() Returns the ItemspecId that represents the primary key of the resolved ItemSpecification. |
void |
setAttributeNVPs(java.util.Hashtable ahshAttrNVPs) Sets the hashtable that represents the Attribute names and values that will be used to perform the Item resolution. |
void |
setProductId(java.lang.Long anProductId)
Sets the ProductId that represents the primary key of the
CatalogEntry that is to be resolved. |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public java.lang.Long getItemId()
public java.lang.Long getItemSpecId()
public void setAttributeNVPs(java.util.Hashtable ahshAttrNVPs)
ahshAttrNVPs
- a set of name-value pairs that represent the
product attribute names and associated valuespublic void setProductId(java.lang.Long anProductId)
anProductId
- the primary key of the
product