public class DefaultBatchSessionListener extends Object implements BatchSessionListener
BatchSessionListener
Constructor and Description |
---|
DefaultBatchSessionListener() |
Modifier and Type | Method and Description |
---|---|
void |
onRemove(BatchRemoveInfo info)
Called by the
BatchSession after a *successful* call to Node.remove() ,
but *before* an auto-save commits the change |
void |
onSave(BatchSaveInfo info)
Called by the
BatchSession after a *successful* call to the
underlying JCR Session's save() method |
public void onSave(BatchSaveInfo info)
BatchSessionListener
BatchSession
after a *successful* call to the
underlying JCR Session's save() methodonSave
in interface BatchSessionListener
info
- the BatchSaveInfo
describing the save operationpublic void onRemove(BatchRemoveInfo info)
BatchSessionListener
BatchSession
after a *successful* call to Node.remove()
,
but *before* an auto-save commits the changeonRemove
in interface BatchSessionListener
info
- the BatchRemoveInfo
describing the remove operationCopyright © 2013. All Rights Reserved.