01: package net.sourceforge.jaxor.api;
02:
03: import net.sourceforge.jaxor.QueryParams;
04:
05: import java.util.List;
06:
07: /*
08: * User: Mike
09: * Date: Oct 18, 2002
10: * Time: 10:10:38 PM
11: */
12:
13: public interface QueryCache extends java.io.Serializable {
14: List get(Class clzz, String method, QueryParams param);
15:
16: void put(Class cl, String method, QueryParams params, List result);
17:
18: void remove(EntityInterface abstractEntity);
19:
20: void clear(Class aClass);
21:
22: /**
23: * clears all query results
24: */
25: void clear();
26: }
|