1 56 package org.objectstyle.cayenne.access; 57 58 import java.util.List ; 59 import org.objectstyle.cayenne.map.DbEntity; 60 import org.objectstyle.cayenne.query.GenericSelectQuery; 61 import org.objectstyle.cayenne.query.Query; 62 63 71 public interface DataPortDelegate { 72 73 77 List willPortEntities(DataPort portTool, List entities); 78 79 85 GenericSelectQuery willPortEntity( 86 DataPort portTool, 87 DbEntity entity, 88 GenericSelectQuery query); 89 90 94 void didPortEntity(DataPort portTool, DbEntity entity, int rowCount); 95 96 100 List willCleanData(DataPort portTool, List entities); 101 102 108 Query willCleanData(DataPort portTool, DbEntity entity, Query query); 109 110 114 void didCleanData(DataPort portTool, DbEntity entity, int rowCount); 115 } 116 117 | Popular Tags |