public class LockExpirationListener extends Object implements PostCommitEventListener
| Constructor and Description |
|---|
LockExpirationListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleEvent(EventBundle eventBundle)
Handles the set of events that were raised during the life of an user operation.
|
protected void |
handleExpiredLock(CoreSession session,
Session directorySession,
DocumentModel entry) |
protected void |
handleExpiredLocks(Session directorySession) |
public LockExpirationListener()
public void handleEvent(EventBundle eventBundle)
PostCommitEventListener
The events are fired as a BundleEvent after the transaction is committed.
handleEvent in interface PostCommitEventListenereventBundle - the events to handleprotected void handleExpiredLocks(Session directorySession)
protected void handleExpiredLock(CoreSession session, Session directorySession, DocumentModel entry)
Copyright © 2019 Nuxeo. All rights reserved.