org.salespointframework.core.data.database
Interface Recoverable
- All Known Implementing Classes:
- AbstractCurrency, CatalogImpl, CatalogItemImpl, CountingStockImpl, CurrencyImpl, CurrencyItemImpl, EUROCurrencyImpl, MoneyBagImpl, StockImpl, StockItemImpl, StoringStockImpl, User
public interface Recoverable
Implement this interface if you wish the recover(Map, Object, boolean)
method to be called on object recovery
- Since:
- 4.0
- Author:
- Thomas Kissinger
Method Summary |
void |
recover(java.util.Map<java.lang.String,java.lang.Object> data,
java.lang.Object recoveryContext,
boolean reInit)
perform additional tasks after recovery. a re-initialization occurs if the object was recovered from object cache
but maybe changed its data. |
recover
void recover(java.util.Map<java.lang.String,java.lang.Object> data,
java.lang.Object recoveryContext,
boolean reInit)
- perform additional tasks after recovery. a re-initialization occurs if the object was recovered from object cache
but maybe changed its data.
- Parameters:
data
- field to value mappingrecoveryContext
- reInit
- true, id recover was called more than one time on this object