com.ibm.commerce.catalog.commands

Interface PackageResolveSkuCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand


    public interface PackageResolveSkuCmd
    extends TaskCommand
    This command resolves an unresolved Package and its associated package attributes and package attribute values into an orderable Package.

    The input to this command is:

    • PackageID: the ID of the Package that is to be resolved, and
    • AttributeNVPs: a hashtable of PackageAttribute Names and Values that are used to perform the resolution
    The output of the command is:
    • PackageItemId: the ID of the resolved orderable Package
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        The internal copyright field.
        See Also:
        Constant Field Values
      • NAME

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

        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

        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

        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

        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