1 56 57 package org.objectstyle.cayenne.access; 58 59 import java.util.List ; 60 61 import org.objectstyle.cayenne.query.Query; 62 63 70 public interface OperationObserver extends OperationHints { 73 74 77 public void nextCount(Query query, int resultCount); 78 79 82 public void nextBatchCount(Query query, int[] resultCount); 83 84 87 public void nextDataRows(Query query, List dataRows); 88 89 95 public void nextDataRows(Query q, ResultIterator it); 96 97 103 public void nextGeneratedDataRows(Query query, ResultIterator keysIterator); 104 105 109 public void nextQueryException(Query query, Exception ex); 110 111 115 public void nextGlobalException(Exception ex); 116 } 117 | Popular Tags |