]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.util/src/org/argeo/util/transaction/TransactionStatusAdapter.java
Introduce guided form to replace wizards
[lgpl/argeo-commons.git] / org.argeo.util / src / org / argeo / util / transaction / TransactionStatusAdapter.java
1 package org.argeo.util.transaction;
2
3 /** Abstract the various approaches to represent transaction status. */
4 public interface TransactionStatusAdapter<T> {
5 T getActiveStatus();
6
7 T getPreparingStatus();
8
9 T getMarkedRollbackStatus();
10
11 T getPreparedStatus();
12
13 T getCommittingStatus();
14
15 T getCommittedStatus();
16
17 T getRollingBackStatus();
18
19 T getRolledBackStatus();
20
21 T getNoTransactionStatus();
22 }