org.prevayler.tutorial
Class RemoveTask

java.lang.Object
  extended by org.prevayler.tutorial.RemoveTask
All Implemented Interfaces:
Serializable, Transaction<TaskList>

public class RemoveTask
extends Object
implements Transaction<TaskList>

See Also:
Serialized Form

Constructor Summary
RemoveTask(Task task)
           
 
Method Summary
 void executeOn(TaskList 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
 

Constructor Detail

RemoveTask

public RemoveTask(Task task)
Method Detail

executeOn

public void executeOn(TaskList 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<TaskList>
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.