public interface TransactionService<T extends Transaction<O>,O extends Order> extends ChangeGenerator<T>
Modifier and Type | Method and Description |
---|---|
T |
load(String transactionId)
Load the Transaction with the given Id
|
List<T> |
query(Query<T> query)
|
T |
save(O order,
T transaction)
Update the Order and ensure the
Transaction is also saved |
T |
save(T transaction)
Update the the
Transaction only |
addChangeListener, getListeners, notifyAllListeners, setListeners
T save(O order, T transaction)
Transaction
is also savedorder
- as Otransaction
- as TT save(T transaction)
Transaction
onlytransaction
- as TT load(String transactionId)
transactionId
- as StringCopyright © 2018. All rights reserved.