com.ibm.commerce.catalog.commands
Interface ResolveSkuCmd

All Superinterfaces:
ECCommand, TaskCommand
All Known Implementing Classes:
ResolveSkuCmdImpl

public interface ResolveSkuCmd
extends TaskCommand

The purpose of this command is to resolve 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 The ItemSpecification is the interface between the Catalog and the rest of the system.
 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,
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
The internal copyright field.

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class is "com.ibm.commerce.catalog.commands.ResolveSkuCmdImpl".

NAME

public static final java.lang.String NAME
The name of this interface is "com.ibm.commerce.catalog.commands.ResolveSkuCmd".
Method Detail

getItemId

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

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:
java.lang.Long

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 - java.util.Hashtable

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 - java.lang.Long