HistoryListener¶
-
public class
HistoryListener
extends BaseListener<HistoryService> implements StoreLifecycleListener¶ The history listener which listens to store events. After the object gets stored this listener will create its history using the
org.motechproject.mds.service.HistoryService
. Listener operations are executed in one transaction with the actual store.
Methods¶
getServiceClass¶
-
protected Class<HistoryService>
getServiceClass
()¶
postStore¶
-
public void
postStore
(InstanceLifecycleEvent event)¶
preStore¶
-
public void
preStore
(InstanceLifecycleEvent event)¶