com.sptci.prevayler.transaction
Class Save<P extends PrevalentObject>
java.lang.Object
com.sptci.prevayler.transaction.Transaction<P>
com.sptci.prevayler.transaction.Save<P>
- All Implemented Interfaces:
- Serializable, TransactionWithQuery
public class Save<P extends PrevalentObject>
- extends Transaction<P>
A transaction for adding a new prevalent object instance to the prevalent
system. This transaction merely makes it more convenient to add a new
prevalent object than directly invoking Transaction.
© Copyright 2008 Sans Pareil
Technologies, Inc.
- Version:
- $Id: Save.java 15 2008-07-12 13:39:16Z sptrakesh $
- Author:
- Rakesh Vidyadharan 2008-05-24
- See Also:
- Serialized Form
|
Constructor Summary |
Save(P object)
Create a new instance of the transaction using the specified prevalent
object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
METHOD
private static final String METHOD
- The name of the method in
PrevalentSystem
that is invoked in this transaction.
- See Also:
- Constant Field Values
Save
public Save(P object)
- Create a new instance of the transaction using the specified prevalent
object.
- Parameters:
object - The new prevalent object to add to the system.