org.prevayler.implementation
Class AppendTransaction

java.lang.Object
  extended by org.prevayler.implementation.AppendTransaction
All Implemented Interfaces:
Serializable, Transaction<StringBuffer>

public class AppendTransaction
extends Object
implements Transaction<StringBuffer>

See Also:
Serialized Form

Field Summary
 String toAdd
           
 
Constructor Summary
AppendTransaction(String toAdd)
           
 
Method Summary
 void executeOn(StringBuffer prevalentSystem, Date executionTime)
          This method is called by Prevayler.execute(Transaction) to execute this Transaction on the given Prevalent System.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

toAdd

public String toAdd
Constructor Detail

AppendTransaction

public AppendTransaction(String toAdd)
Method Detail

executeOn

public void executeOn(StringBuffer prevalentSystem,
                      Date executionTime)
Description copied from interface: Transaction
This method is called by Prevayler.execute(Transaction) to execute this Transaction on the given Prevalent System. See org.prevayler.demos for usage examples.

Specified by:
executeOn in interface Transaction<StringBuffer>
Parameters:
prevalentSystem - The system on which this Transaction will execute.
executionTime - The time at which this Transaction 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.


Copyright © 2001-2013. All Rights Reserved.