org.jaffa.persistence.engines.jdbcengine.interceptor
Class DeleteInterceptor
java.lang.Object
   org.jaffa.persistence.engines.jdbcengine.interceptor.AbstractInterceptor
org.jaffa.persistence.engines.jdbcengine.interceptor.AbstractInterceptor
       org.jaffa.persistence.engines.jdbcengine.interceptor.DeleteInterceptor
org.jaffa.persistence.engines.jdbcengine.interceptor.DeleteInterceptor
- public class DeleteInterceptor- extends AbstractInterceptor
This is the Interceptor which deletes Persistent objects from the database.
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DeleteInterceptor
public DeleteInterceptor()
invoke
public Object invoke(PersistentTransaction pt)
              throws UOWException
- Performs the logic associated with deleting Persistent objects from the database.
 This will delete each object in the PersistentTransaction's DELETE collection from the database, utilising the JdbcBridge.
 It will then pass on the control to the next Interceptor in the chain.
 
- 
- Specified by:
- invokein class- AbstractInterceptor
 
- 
- Parameters:
- pt- The PersistentTransaction object, on which the Interceptor is to be executed.
- Returns:
- the output from the next Interceptor in the chain.
- Throws:
- UOWException- if any error occurs.
 
Copyright © 2002-2004 JAFFA Project.