Package org.nuxeo.ecm.quota
Class QuotaStatsListener
- java.lang.Object
-
- org.nuxeo.ecm.quota.QuotaStatsListener
-
- All Implemented Interfaces:
EventListener
public class QuotaStatsListener extends Object implements EventListener
Listener handling default events to update statistics through theQuotaStatsService
.- Since:
- 5.5
- Author:
- Thomas Roger
-
-
Field Summary
Fields Modifier and Type Field Description static Set<String>
EVENTS_TO_HANDLE
-
Constructor Summary
Constructors Constructor Description QuotaStatsListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleEvent(Event event)
Handle the given event.protected boolean
isTrashOpEvent(DocumentEventContext eventContext)
-
-
-
Method Detail
-
handleEvent
public void handleEvent(Event event)
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
protected boolean isTrashOpEvent(DocumentEventContext eventContext)
-
-