Package org.openwms.transactions
Interface Persistable<T>
- Type Parameters:
T- The type to persist
- All Known Subinterfaces:
TransactionService
- All Known Implementing Classes:
TransactionServiceImpl
public interface Persistable<T>
A Persistable is able to persist instances of type
Persistable to a persistent storage.- Author:
- Heiko Scherrer
-
Method Summary
-
Method Details
-
persist
Persists the given instance.- Parameters:
obj- The instance to persist- Returns:
- The persisted instance
-
persist
Persists a list of given instances.- Parameters:
obj- The instances to persist
-