1 package org.cateproject.view.mock;
2
3 import java.beans.PropertyEditor;
4 import java.io.Serializable;
5
6 import org.springmodules.cache.CacheException;
7 import org.springmodules.cache.CachingModel;
8 import org.springmodules.cache.FlushingModel;
9 import org.springmodules.cache.provider.CacheModelValidator;
10 import org.springmodules.cache.provider.CacheProviderFacade;
11
12 public class MockCacheProvider implements CacheProviderFacade {
13
14 public void cancelCacheUpdate(Serializable arg0) throws CacheException {
15
16
17 }
18
19 public void flushCache(FlushingModel arg0) throws CacheException {
20
21
22 }
23
24 public PropertyEditor getCachingModelEditor() {
25
26 return null;
27 }
28
29 public PropertyEditor getFlushingModelEditor() {
30
31 return null;
32 }
33
34 public Object getFromCache(Serializable arg0, CachingModel arg1)
35 throws CacheException {
36
37 return null;
38 }
39
40 public boolean isFailQuietlyEnabled() {
41
42 return false;
43 }
44
45 public CacheModelValidator modelValidator() {
46
47 return null;
48 }
49
50 public void putInCache(Serializable arg0, CachingModel arg1, Object arg2)
51 throws CacheException {
52
53
54 }
55
56 public void removeFromCache(Serializable arg0, CachingModel arg1)
57 throws CacheException {
58
59
60 }
61
62 public void afterPropertiesSet() throws Exception {
63
64
65 }
66
67 }