public interface OrderItemFactory extends KeyResolver, XMLizable
OrderItem
is an external
entity that promotion depends upon. An implementation of this interface is
responsible for looking up and instantiating the OrderItem external
entity. The implementation must be registered with the
ExternalEntityFactoryRegistry
.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
OrderItem |
getOrderItem(OrderItemKey key)
This method returns the OrderItem object having this OrderItemKey.
|
lookup, reverseLookup
static final java.lang.String COPYRIGHT
OrderItem getOrderItem(OrderItemKey key) throws DependencyInstantiationException, DependencyMissingException
key
- the OrderItemKey
OrderItem
corresponding to the key.DependencyInstantiationException
- is thrown when an error is encountered on order item instantiation.DependencyMissingException
- is thrown when the order item to get does not exist.