public class DelegatingDiffTrigger
extends org.exist.collections.triggers.SAXTrigger
CREATE_COLLECTION_EVENT, LOG, MOVE_COLLECTION_EVENT, MOVE_DOCUMENT_EVENT, OLD_EVENTS, REMOVE_COLLECTION_EVENT, REMOVE_DOCUMENT_EVENT, RENAME_COLLECTION_EVENT, RENAME_DOCUMENT_EVENT, STORE_DOCUMENT_EVENT, UPDATE_COLLECTION_EVENT, UPDATE_DOCUMENT_EVENT| Constructor and Description |
|---|
DelegatingDiffTrigger() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCopyDocument(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.dom.persistent.DocumentImpl document,
org.exist.xmldb.XmldbURI xmldbURI) |
void |
afterCreateDocument(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.dom.persistent.DocumentImpl document) |
void |
afterDeleteDocument(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.xmldb.XmldbURI xmldbURI) |
void |
afterMoveDocument(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.dom.persistent.DocumentImpl document,
org.exist.xmldb.XmldbURI xmldbURI) |
void |
afterUpdateDocument(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.dom.persistent.DocumentImpl document) |
void |
afterUpdateDocumentMetadata(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.dom.persistent.DocumentImpl document) |
void |
beforeCopyDocument(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.dom.persistent.DocumentImpl document,
org.exist.xmldb.XmldbURI xmldbURI) |
void |
beforeCreateDocument(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.xmldb.XmldbURI xmldbURI) |
void |
beforeDeleteDocument(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.dom.persistent.DocumentImpl document) |
void |
beforeMoveDocument(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.dom.persistent.DocumentImpl document,
org.exist.xmldb.XmldbURI xmldbURI) |
void |
beforeUpdateDocument(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.dom.persistent.DocumentImpl document) |
void |
beforeUpdateDocumentMetadata(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.dom.persistent.DocumentImpl document) |
void |
configure(org.exist.storage.DBBroker dbBroker,
org.exist.collections.Collection parent,
Map<String,List<?>> parameters) |
protected Trigger |
getTrigger()
find the trigger instance associated with this delegation.
|
String |
getTriggerName() |
void |
setTriggerName(String triggerId) |
characters, comment, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, error, fatalError, getCollection, ignorableWhitespace, isValidating, next, next, processingInstruction, setDocumentLocator, setValidating, skippedEntity, startCDATA, startDocument, startDTD, startElement, startEntity, startPrefixMapping, warningpublic void configure(org.exist.storage.DBBroker dbBroker,
org.exist.collections.Collection parent,
Map<String,List<?>> parameters)
throws org.exist.collections.triggers.TriggerException
configure in interface org.exist.collections.triggers.Triggerconfigure in class org.exist.collections.triggers.SAXTriggerorg.exist.collections.triggers.TriggerExceptionSAXTrigger.configure(org.exist.storage.DBBroker, org.exist.collections.Collection,
java.util.Map)protected Trigger getTrigger()
public String getTriggerName()
public void setTriggerName(String triggerId)
public void beforeCreateDocument(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.xmldb.XmldbURI xmldbURI)
throws org.exist.collections.triggers.TriggerException
org.exist.collections.triggers.TriggerExceptionpublic void afterCreateDocument(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.dom.persistent.DocumentImpl document)
throws org.exist.collections.triggers.TriggerException
org.exist.collections.triggers.TriggerExceptionpublic void beforeUpdateDocument(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.dom.persistent.DocumentImpl document)
throws org.exist.collections.triggers.TriggerException
org.exist.collections.triggers.TriggerExceptionpublic void afterUpdateDocument(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.dom.persistent.DocumentImpl document)
throws org.exist.collections.triggers.TriggerException
org.exist.collections.triggers.TriggerExceptionpublic void beforeUpdateDocumentMetadata(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.dom.persistent.DocumentImpl document)
throws org.exist.collections.triggers.TriggerException
org.exist.collections.triggers.TriggerExceptionpublic void afterUpdateDocumentMetadata(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.dom.persistent.DocumentImpl document)
throws org.exist.collections.triggers.TriggerException
org.exist.collections.triggers.TriggerExceptionpublic void beforeCopyDocument(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.dom.persistent.DocumentImpl document,
org.exist.xmldb.XmldbURI xmldbURI)
throws org.exist.collections.triggers.TriggerException
org.exist.collections.triggers.TriggerExceptionpublic void afterCopyDocument(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.dom.persistent.DocumentImpl document,
org.exist.xmldb.XmldbURI xmldbURI)
throws org.exist.collections.triggers.TriggerException
org.exist.collections.triggers.TriggerExceptionpublic void beforeMoveDocument(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.dom.persistent.DocumentImpl document,
org.exist.xmldb.XmldbURI xmldbURI)
throws org.exist.collections.triggers.TriggerException
org.exist.collections.triggers.TriggerExceptionpublic void afterMoveDocument(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.dom.persistent.DocumentImpl document,
org.exist.xmldb.XmldbURI xmldbURI)
throws org.exist.collections.triggers.TriggerException
org.exist.collections.triggers.TriggerExceptionpublic void beforeDeleteDocument(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.dom.persistent.DocumentImpl document)
throws org.exist.collections.triggers.TriggerException
org.exist.collections.triggers.TriggerExceptionpublic void afterDeleteDocument(org.exist.storage.DBBroker dbBroker,
org.exist.storage.txn.Txn txn,
org.exist.xmldb.XmldbURI xmldbURI)
throws org.exist.collections.triggers.TriggerException
org.exist.collections.triggers.TriggerExceptionCopyright © 2026. All rights reserved.