com.arsdigita.persistence
Class DataHandler

java.lang.Object
  extended bycom.arsdigita.persistence.DataHandler

public abstract class DataHandler
extends Object

The DataHandler can be used to override the behavior of the persistence layer when it performs certain operations. Currently only delete is supported since the primary use for this class is to override hard deletes and turn them into soft deletes under certain circumstances.

Version:
$Revision: #7 $ $Date: 2004/04/07 $
Author:
rhs@mit.edu

Field Summary
static String versionId
           
 
Constructor Summary
DataHandler()
           
 
Method Summary
 void doDelete(DataObject data)
          This method is called in order to delete a data object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

DataHandler

public DataHandler()
Method Detail

doDelete

public void doDelete(DataObject data)
This method is called in order to delete a data object. By default this executes the SQL defined in the object type definition for the given data object. In the common case this does a hard delete.



Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC