public interface IDocumentStoreListener
Modifier and Type | Method and Description |
---|---|
void |
afterStore(String key,
Object entityInstance,
RavenJObject metadata)
Invoked after the store request is sent to the server.
|
boolean |
beforeStore(String key,
Object entityInstance,
RavenJObject metadata,
RavenJObject original)
Invoked before the store request is sent to the server.
|
boolean beforeStore(String key, Object entityInstance, RavenJObject metadata, RavenJObject original)
key
- The key.entityInstance
- The entity instance.metadata
- The metadata.original
- The original document that was loaded from the servervoid afterStore(String key, Object entityInstance, RavenJObject metadata)
key
- The key.entityInstance
- The entity instance.metadata
- The metadataCopyright © 2016. All Rights Reserved.