Modifier and Type | Field and Description |
---|---|
static java.lang.String | ATTRIBUTE_NAME_IMPL
XML attribute name - impl
|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
static java.lang.String | TAG_PROMOTION_REWARD_OPTION_PERSISTENCE_MANAGER
XML tag - PromotionRewardOptionPersistenceManager
|
static java.lang.String | XML_DOCUMENT_HEADER
XML document header - <?xml version=\"1.0\" encoding=\"UTF-8\"?>
|
Modifier and Type | Method and Description |
---|---|
void | createPromotionRewardOption(RewardOption aRewardOption)
Creates a PromotionRewardOption record.
|
java.util.List | findPromotionRewardOptionByOrderKey(OrderKey aOrderKey)
Finds all RewardOption with the specified OrderKey.
|
RewardOption | loadPromotionRewardOption(PromotionRewardOptionKey aPromotionRewardOptionKey)
Load a RewardOption according to the PromotionRewardOptionKey.
|
void | removePromotionRewardOption(PromotionRewardOptionKey aPromotionRewardOptionKey)
Removes the PromotionRewardOption record.
|
void | removePromotionRewardOptionByOrderKey(OrderKey aOrderKey)
Removes the PromotionRewardOption records according to the OrderKey.
|
void | resetCache()
Reset cache.
|
void | updatePromotionRewardOption(RewardOption aRewardOption)
Updates the PromotionRewardOption record.
|
void | updatePromotionRewardOptionChoice(PromotionRewardOptionKey aPromotionRewardOptionKey, RewardChoice aRewardChoice)
Updates the RewardChoice of the PromotionRewardOption.
|
static final java.lang.String COPYRIGHT
static final java.lang.String TAG_PROMOTION_REWARD_OPTION_PERSISTENCE_MANAGER
static final java.lang.String ATTRIBUTE_NAME_IMPL
static final java.lang.String XML_DOCUMENT_HEADER
RewardOption loadPromotionRewardOption(PromotionRewardOptionKey aPromotionRewardOptionKey) throws PersistenceObjectNotFoundException, PersistenceObjectReadException
java.util.List findPromotionRewardOptionByOrderKey(OrderKey aOrderKey) throws PersistenceObjectNotFoundException, PersistenceObjectReadException
void createPromotionRewardOption(RewardOption aRewardOption) throws PersistenceObjectAlreadyExistsException, PersistenceCreateException
void updatePromotionRewardOption(RewardOption aRewardOption) throws PersistenceObjectNotFoundException, PersistenceObjectWriteException
void updatePromotionRewardOptionChoice(PromotionRewardOptionKey aPromotionRewardOptionKey, RewardChoice aRewardChoice) throws PersistenceObjectNotFoundException, PersistenceObjectWriteException
void removePromotionRewardOption(PromotionRewardOptionKey aPromotionRewardOptionKey) throws PersistenceObjectNotFoundException, PersistenceRemoveException
void removePromotionRewardOptionByOrderKey(OrderKey aOrderKey) throws PersistenceObjectNotFoundException, PersistenceRemoveException
void resetCache()