com.ibm.commerce.catalog.commands
Interface PackageResolveSkuCmd

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

public interface PackageResolveSkuCmd
extends TaskCommand

The purpose of this command is to resolve 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,
 
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.PackageResolveSkuCmdImpl".

NAME

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

getPackageItemId

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

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

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