|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.bigbross.bossa.BossaTransaction
This class represents all transactions applied to a Bossa engine.
| Constructor Summary | |
BossaTransaction()
|
|
| Method Summary | |
abstract Object |
execute(Bossa bossa)
Executes a transaction in a Bossa engine. |
Object |
executeAndQuery(Object system,
Date time)
Executes a transaction in a prevalent system. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BossaTransaction()
| Method Detail |
public Object executeAndQuery(Object system,
Date time)
throws Exception
This method sets the engine time source to the time provided. It should only be called by the prevayler instance providing persistence to the engine.
executeAndQuery in interface org.prevayler.TransactionWithQueryExceptionTransactionWithQuery.executeAndQuery(Object, Date)
public abstract Object execute(Bossa bossa)
throws BossaException
This method uses the time currently set in the engine time source.
bossa - the Bossa engine.
BossaException - if a Bossa error occurs.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||