org.compass.core.spi
Class DirtyOperationContext

java.lang.Object
  extended by org.compass.core.spi.DirtyOperationContext

public class DirtyOperationContext
extends Object

Context object for dirty (create/save/delete) operations.

Author:
kimchy

Constructor Summary
DirtyOperationContext()
           
 
Method Summary
 void addOperatedObjects(Object obj)
          Adds the object as one that a dirty operation has been performed on.
 boolean alreadyPerformedOperation(Object obj)
          Returns true if a dirty operation has been perfomed on the object (based on the object identity).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirtyOperationContext

public DirtyOperationContext()
Method Detail

addOperatedObjects

public void addOperatedObjects(Object obj)
Adds the object as one that a dirty operation has been performed on. Note, the identity of the object is used.


alreadyPerformedOperation

public boolean alreadyPerformedOperation(Object obj)
Returns true if a dirty operation has been perfomed on the object (based on the object identity). false otherwise.



Copyright (c) 2004-2008 The Compass Project.