Overview | Package | Class | Deprecated | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.exist.storage
Interface UpdateListener

All Known Implementing Classes:
  XACMLUtil

public interface UpdateListener

Field Summary
`static int` | `ADD` Notification type: a document was added to a collection
`static int` | `REMOVE` Notification type: a document was removed
`static int` | `UPDATE` Notification type: a document has been updated

Method Summary
`void` | `debug()`
`void` | `documentUpdated(DocumentImpl document, int event)` Called whenever a document is updated within the database.

Field Detail

### ADD

    public static final int ADD

  Notification type: a document was added to a collection

  See Also:
    Constant Field Values

### UPDATE

    public static final int UPDATE

  Notification type: a document has been updated

  See Also:
    Constant Field Values

### REMOVE

    public static final int REMOVE

  Notification type: a document was removed

  See Also:
    Constant Field Values

Method Detail

### documentUpdated

    public void documentUpdated(DocumentImpl document,
                                int event)

  Called whenever a document is updated within the database. Parameter event specifies the event type, i.e. one of `ADD`, `UPDATE` or `REMOVE`.

  Parameters:
    `document` -
    `event` -

### debug

    public void debug()

Overview | Package | Class | Deprecated | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (C) Wolfgang Meier. All rights reserved.