com.ibm.commerce.catalog.commands
Interface PackageResolveSkuCmd

All Superinterfaces:
TaskCommand

public interface PackageResolveSkuCmd
extends TaskCommand

This command resolves an unresolved Package and its associated PackageAttributes and PackageAttributeValues into an orderable Package.

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.PackageResolveSkuCmdImpl".
static java.lang.String NAME
          The name of this interface is "com.ibm.commerce.catalog.commands.PackageResolveSkuCmd".
 
Method Summary
 java.lang.Long getPackageItemId()
          Returns the PackageId that represents the primary key of the resolved Package.
 void setAttributeNVPs(java.util.Hashtable ahshAttrNVPs)
          Sets the hashtable that represents the PackageAttribute names and values that will be used to perform the Package resolution.
 void setPackageId(java.lang.Long anPackageId)           Sets the PackageId that represents the primary key of the Package 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.PackageResolveSkuCmd".
See Also:
Constant Field Values

defaultCommandClassName

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

getPackageItemId

public java.lang.Long getPackageItemId()
Returns the PackageId that represents the primary key of the resolved Package.
Returns:
the primary key of the resolved package

setAttributeNVPs

public void setAttributeNVPs(java.util.Hashtable ahshAttrNVPs)
Sets the hashtable that represents the PackageAttribute names and values that will be used to perform the Package resolution.
Parameters:
ahshAttrNVPs - a set of name-value pairs that represent the package attribute names and associated values

setPackageId

public void setPackageId(java.lang.Long anPackageId)
Sets the PackageId that represents the primary key of the Package that is to be resolved,
Parameters:
anPackageId - the primary key of the unresolved package