public interface PromotionArgumentPersistenceManager extends XMLizable
PromotionArgument
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright
|
Modifier and Type | Method and Description |
---|---|
void |
create(PromotionArgument arg)
Creates a promotion argument
|
void |
delete(OrderKey okey)
Removes a promotion argument
|
PromotionArgument |
load(OrderKey okey)
Loads promotion argument from persistence storage
|
void |
save(PromotionArgument arg)
Saves a promotion argument
|
static final java.lang.String COPYRIGHT
PromotionArgument load(OrderKey okey) throws PersistenceObjectNotFoundException, PersistenceObjectReadException
okey
- key of the order associated with this promotion argumentPersistenceObjectNotFoundException
- when the object does not existPersistenceObjectReadException
- when read operation failsvoid save(PromotionArgument arg) throws PersistenceObjectNotFoundException, PersistenceObjectWriteException
arg
- the argument to be savedPersistenceObjectNotFoundException
- when the object does not existPersistenceObjectWriteException
- when the write process failsvoid create(PromotionArgument arg) throws PersistenceObjectAlreadyExistsException, PersistenceCreateException
arg
- the argument to be createdPersistenceObjectAlreadyExistsException
- when the argument already existsPersistenceCreateException
- when creation failsvoid delete(OrderKey okey) throws PersistenceObjectNotFoundException, PersistenceRemoveException
okey
- key of the order with which the promotion argument is associatedPersistenceObjectNotFoundException
- when the promotion argument object to be deleted does not exist.PersistenceRemoveException
- when removal fails