| java.lang.Object org.jaffa.persistence.Persistent org.jaffa.persistence.engines.jdbcengine.proxy.PersistentDelegate
PersistentDelegate | class PersistentDelegate extends Persistent (Code) | | The PersistentInstanceInvocationHandler delegates all calls made to the IPersistent interface, to an instance of this class.
It extends the Persistent class and overrides the actualInstance() method to return the proxy object.
|
Method Summary | |
protected IPersistent | actualInstance() This method returns the proxy object. | void | invokeAddInitialValue(String fieldName, Object initialValue) Invokes the addInitialValue() method on the base class. | void | invokeUpdate() Invokes the update() method on the base class. | public void | preAdd() This method is triggered by the UOW, before adding this object to the Add-Store, but after a UOW has been associated to the object. | public void | preUpdate() This method is triggered by the UOW, before adding this object to the Update-Store. |
actualInstance | protected IPersistent actualInstance()(Code) | | This method returns the proxy object.
the persistent instance. |
invokeAddInitialValue | void invokeAddInitialValue(String fieldName, Object initialValue)(Code) | | Invokes the addInitialValue() method on the base class.
|
preAdd | public void preAdd() throws PreAddFailedException(Code) | | This method is triggered by the UOW, before adding this object to the Add-Store, but after a UOW has been associated to the object.
This will perform the following tasks:
Will invoke the Rules Engine to perform mandatory field checks.
throws: PreAddFailedException - if any error occurs during the process. |
preUpdate | public void preUpdate() throws PreUpdateFailedException(Code) | | This method is triggered by the UOW, before adding this object to the Update-Store.
This will perform the following tasks:
Will invoke the Rules Engine to perform mandatory field checks.
throws: PreUpdateFailedException - if any error occurs during the process. |
|
|