org.neuclear.ledger.prevalent
Class PostHeldTransaction

java.lang.Object
  extended byorg.neuclear.ledger.prevalent.PostHeldTransaction
All Implemented Interfaces:
java.io.Serializable, org.prevayler.TransactionWithQuery

public class PostHeldTransaction
extends java.lang.Object
implements org.prevayler.TransactionWithQuery

Created by IntelliJ IDEA. User: pelleb Date: Mar 20, 2004 Time: 1:31:57 PM To change this template use File | Settings | File Templates.

See Also:
Serialized Form

Method Summary
 java.lang.Object executeAndQuery(java.lang.Object prevalentSystem, java.util.Date executionTime)
          Performs the necessary modifications on the given prevalentSystem and also returns an Object or throws an Exception.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

executeAndQuery

public java.lang.Object executeAndQuery(java.lang.Object prevalentSystem,
                                        java.util.Date executionTime)
                                 throws java.lang.Exception
Performs the necessary modifications on the given prevalentSystem and also returns an Object or throws an Exception. This method is called by Prevayler.execute(TransactionWithQuery) to execute this TransactionWithQuery on the given Prevalent System. See org.prevayler.demos for usage examples.

Specified by:
executeAndQuery in interface org.prevayler.TransactionWithQuery
Parameters:
prevalentSystem - The system on which this TransactionWithQuery will execute.
executionTime - The time at which this TransactionWithQuery is being executed. Every Transaction executes completely within a single moment in time. Logically, a Prevalent System's time does not pass during the execution of a Transaction.
Throws:
java.lang.Exception


Copyright © 2003-2004 Antilles Software Ventures SA. All Rights Reserved.