1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 package net.wotonomy.control;
23
24 import net.wotonomy.foundation.NSArray;
25 import net.wotonomy.foundation.NSDictionary;
26 import net.wotonomy.foundation.NSLocking;
27 /***
28 * A representation of a channel of communication to the database.
29 *
30 * @author cgruber@israfil.net
31 * @author $Author: cgruber $
32 * @version $Revision: 894 $
33 */
34
35 public abstract class EOCooperatingObjectStore extends EOObjectStore
36 implements NSLocking {
37
38 public EOCooperatingObjectStore() {
39 }
40
41 public abstract boolean ownsGlobalID(EOGlobalID eoglobalid);
42
43 public abstract boolean ownsObject(EOEnterpriseObject eoenterpriseobject);
44
45 public abstract boolean handlesFetchSpecification(EOFetchSpecification eofetchspecification);
46
47 public abstract void prepareForSaveWithCoordinator(EOObjectStoreCoordinator eoobjectstorecoordinator, EOEditingContext eoeditingcontext);
48
49 public abstract void recordChangesInEditingContext();
50
51 public abstract void recordUpdateForObject(EOEnterpriseObject eoenterpriseobject, NSDictionary nsdictionary);
52
53 public abstract void performChanges();
54
55 public abstract void commitChanges();
56
57 public abstract void rollbackChanges();
58
59 public abstract NSDictionary valuesForKeys(NSArray nsarray, EOEnterpriseObject eoenterpriseobject);
60
61 public abstract void lock();
62
63 public abstract void unlock();
64
65 }
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82