public class SoftDeleteCleanupListener extends Object implements EventListener
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_DELAY |
static String |
DEFAULT_DELAY_PROP
Property for the minimum delay (in seconds) since when a document must have been soft-deleted before it can be
hard-deleted.
|
static int |
DEFAULT_MAX |
static String |
DEFAULT_MAX_PROP
Property for the maximum number of documents to delete in one call.
|
Constructor and Description |
---|
SoftDeleteCleanupListener() |
public static final int DEFAULT_MAX
public static final String DEFAULT_MAX_PROP
public static final int DEFAULT_DELAY
public static final String DEFAULT_DELAY_PROP
public void handleEvent(Event event)
EventListener
Event.cancel()
handleEvent
in interface EventListener
event
- the eventCopyright © 2015 Nuxeo SA. All rights reserved.