1 56 57 package org.objectstyle.cayenne.access; 58 59 import org.objectstyle.cayenne.DataObject; 60 import org.objectstyle.cayenne.DataRow; 61 import org.objectstyle.cayenne.query.GenericSelectQuery; 62 63 77 public interface DataContextDelegate { 78 79 86 public GenericSelectQuery willPerformSelect(DataContext context, GenericSelectQuery query); 87 88 95 public boolean shouldMergeChanges(DataObject object, DataRow snapshotInStore); 96 97 103 public void finishedMergeChanges(DataObject object); 104 105 116 public boolean shouldProcessDelete(DataObject object); 117 118 124 public void finishedProcessDelete(DataObject object); 125 } 126 127 | Popular Tags |