Package org.nuxeo.ecm.quota
Class QuotaStatsListener
java.lang.Object
org.nuxeo.ecm.quota.QuotaStatsListener
- All Implemented Interfaces:
EventListener
Listener handling default events to update statistics through the
QuotaStatsService
.- Since:
- 5.5
- Author:
- Thomas Roger
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleEvent
(Event event) Handle the given event.protected boolean
isTrashOpEvent
(DocumentEventContext eventContext)
-
Field Details
-
EVENTS_TO_HANDLE
-
-
Constructor Details
-
QuotaStatsListener
public QuotaStatsListener()
-
-
Method Details
-
handleEvent
Description copied from interface:EventListener
Handle the given event. The listener can cancel the event by callingEvent.cancel()
- Specified by:
handleEvent
in interfaceEventListener
- Parameters:
event
- the event
-
isTrashOpEvent
-