public interface CustomerProfileFactory extends KeyResolver, XMLizable
CustomerProfile
is an external
entity that promotion depends upon. An implementation of this interface is
responsible for looking up and instantiating the CustomerProfile 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 |
---|---|
CustomerProfile |
getCustomerProfile(CustomerProfileKey key)
This method returns the CustomerProfile object having this CustomerProfileKey.
|
lookup, reverseLookup
static final java.lang.String COPYRIGHT
CustomerProfile getCustomerProfile(CustomerProfileKey key) throws DependencyInstantiationException, DependencyMissingException
key
- is the customer profile key.DependencyInstantiationException
- is thrown when an error is encountered on customer profile instantiation.DependencyMissingException
- is thrown when the customer profile to get does not exist.