com.ibm.commerce.catalog.commands
Interface ResolveSkuCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
ResolveSkuCmdImpl

public interface ResolveSkuCmd
extends TaskCommand

This command resolves a Product and its associated Attributes and AttributeValues into an orderable Item.

The input to this command is:

The output of the 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
The internal copyright field.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The name of this interface is "com.ibm.commerce.catalog.commands.ResolveSkuCmd".
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class is "com.ibm.commerce.catalog.commands.ResolveSkuCmdImpl".
See Also:
Constant Field Values
Method Detail

getItemId

public java.lang.Long getItemId()
Returns the ItemId that represents the primary key of the resolved Item.
Returns:
the primary key of the resolved item

getItemSpecId

public java.lang.Long getItemSpecId()
Returns the ItemspecId that represents the primary key of the resolved ItemSpecification. The ItemSpecification is the interface between the Catalog and the rest of the system.
Returns:
the primary key of the specified item

setAttributeNVPs

public 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.
Parameters:
ahshAttrNVPs - a set of name-value pairs that represent the product attribute names and associated values

setProductId

public void setProductId(java.lang.Long anProductId)
Sets the ProductId that represents the primary key of the CatalogEntry that is to be resolved.
Parameters:
anProductId - the primary key of the product