1 19 20 package org.apache.cayenne.access; 21 22 import java.util.List ; 23 24 import org.apache.cayenne.map.DbEntity; 25 import org.apache.cayenne.query.Query; 26 27 35 public interface DataPortDelegate { 36 37 41 List willPortEntities(DataPort portTool, List entities); 42 43 49 Query willPortEntity(DataPort portTool, DbEntity entity, Query query); 50 51 55 void didPortEntity(DataPort portTool, DbEntity entity, int rowCount); 56 57 61 List willCleanData(DataPort portTool, List entities); 62 63 69 Query willCleanData(DataPort portTool, DbEntity entity, Query query); 70 71 75 void didCleanData(DataPort portTool, DbEntity entity, int rowCount); 76 } 77 | Popular Tags |