Package org.exist.collections.triggers

Examples of org.exist.collections.triggers.DocumentTriggers


   */
  private void prepareTrigger(Txn transaction, DocumentImpl doc) throws TriggerException {
           
      final Collection col = doc.getCollection();
         
            final DocumentTrigger trigger = new DocumentTriggers(broker, col);
           
            trigger.beforeUpdateDocument(broker, transaction, doc);
            triggers.put(doc.getDocId(), trigger);
  }
View Full Code Here


  private void prepareTrigger(Txn transaction, DocumentImpl doc) throws TriggerException {

      final Collection col = doc.getCollection();
            final DBBroker broker = context.getBroker();
           
            final DocumentTrigger trigger = new DocumentTriggers(broker, col);
           
            //prepare the trigger
            trigger.beforeUpdateDocument(context.getBroker(), transaction, doc);
            triggers.put(doc.getDocId(), trigger);
  }
View Full Code Here

TOP

Related Classes of org.exist.collections.triggers.DocumentTriggers

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.