View Javadoc

1   /*
2   Wotonomy: OpenStep design patterns for pure Java applications.
3   Copyright (C) 2002 Israfil consulting Services Corporation
4   
5   This library is free software; you can redistribute it and/or
6   modify it under the terms of the GNU Lesser General Public
7   License as published by the Free Software Foundation; either
8   version 2.1 of the License, or (at your option) any later version.
9   
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  Lesser General Public License for more details.
14  
15  You should have received a copy of the GNU Lesser General Public
16  License along with this library; if not, see http://www.gnu.org
17  
18  $Id: EOObjectStoreCoordinator.java 894 2006-02-16 16:47:14 +0000 (Thu, 16 Feb 2006) cgruber $
19  
20  */
21  
22  package net.wotonomy.control;
23  
24  import java.util.List;
25  import java.util.Map;
26  
27  import net.wotonomy.foundation.NSArray;
28  import net.wotonomy.foundation.NSDictionary;
29  import net.wotonomy.foundation.NSNotification;
30  /***
31  * A representation of a channel of communication to the database.
32  *
33  * @author cgruber@israfil.net
34  * @author $Author: cgruber $
35  * @version $Revision: 894 $
36  */
37  
38  public class EOObjectStoreCoordinator extends EOObjectStore {
39  
40      public static final String CooperatingObjectStoreWasAddedNotification = "EOCooperatingObjectStoreWasAddedNotification";
41      public static final String CooperatingObjectStoreWasRemovedNotification = "EOCooperatingObjectStoreWasRemovedNotification";
42      public static final String CooperatingObjectStoreNeededNotification = "EOCooperatingObjectStoreNeededNotification";
43      public static final String GlobalIDKey = "globalID";
44      public static final String FetchSpecificationKey = "fetchSpecification";
45      public static final String ObjectKey = "object";
46  
47      public static synchronized EOObjectStoreCoordinator defaultCoordinator() {
48          throw new UnsupportedOperationException("Not Yet Implemented");
49      }
50  
51      public static synchronized void setDefaultCoordinator(EOObjectStoreCoordinator eoobjectstorecoordinator) {
52          throw new UnsupportedOperationException("Not Yet Implemented");
53      }
54  
55      public EOObjectStoreCoordinator() {
56          throw new UnsupportedOperationException("Not Yet Implemented");
57      }
58  
59      public void dispose() {
60          throw new UnsupportedOperationException("Not Yet Implemented");
61      }
62  
63      private NSArray _sources() {
64          throw new UnsupportedOperationException("Not Yet Implemented");
65      }
66  
67      public NSArray cooperatingObjectStores() {
68          throw new UnsupportedOperationException("Not Yet Implemented");
69      }
70  
71      public void addCooperatingObjectStore(EOCooperatingObjectStore eocooperatingobjectstore) {
72          throw new UnsupportedOperationException("Not Yet Implemented");
73      }
74  
75      public void removeCooperatingObjectStore(EOCooperatingObjectStore eocooperatingobjectstore) {
76          throw new UnsupportedOperationException("Not Yet Implemented");
77      }
78  
79      public EOCooperatingObjectStore objectStoreForGlobalID(EOGlobalID eoglobalid) {
80          throw new UnsupportedOperationException("Not Yet Implemented");
81      }
82  
83      public EOCooperatingObjectStore objectStoreForObject(EOEnterpriseObject eoenterpriseobject) {
84          throw new UnsupportedOperationException("Not Yet Implemented");
85      }
86  
87      public EOCooperatingObjectStore objectStoreForFetchSpecification(EOFetchSpecification eofetchspecification) {
88          throw new UnsupportedOperationException("Not Yet Implemented");
89      }
90  
91      EOCooperatingObjectStore objectStoreForEntityNamed(String s) {
92          throw new UnsupportedOperationException("Not Yet Implemented");
93      }
94  
95      public void forwardUpdateForObject(EOEnterpriseObject eoenterpriseobject, NSDictionary nsdictionary) {
96          throw new UnsupportedOperationException("Not Yet Implemented");
97      }
98  
99      public NSDictionary valuesForKeys(NSArray nsarray, EOEnterpriseObject eoenterpriseobject) {
100         throw new UnsupportedOperationException("Not Yet Implemented");
101     }
102 
103     public void saveChangesInEditingContext(EOEditingContext eoeditingcontext) {
104         throw new UnsupportedOperationException("Not Yet Implemented");
105     }
106 
107     public NSArray objectsWithFetchSpecification(EOFetchSpecification eofetchspecification, EOEditingContext eoeditingcontext) {
108         throw new UnsupportedOperationException("Not Yet Implemented");
109     }
110 
111     public boolean isObjectLockedWithGlobalID(EOGlobalID eoglobalid, EOEditingContext eoeditingcontext) {
112         throw new UnsupportedOperationException("Not Yet Implemented");
113     }
114 
115     public void lockObjectWithGlobalID(EOGlobalID eoglobalid, EOEditingContext eoeditingcontext) {
116         throw new UnsupportedOperationException("Not Yet Implemented");
117     }
118 
119     public /*EOEnterpriseObject*/ Object faultForGlobalID(EOGlobalID eoglobalid, EOEditingContext eoeditingcontext) {
120         throw new UnsupportedOperationException("Not Yet Implemented");
121     }
122 
123     public /*EOEnterpriseObject*/ Object faultForRawRow(NSDictionary nsdictionary, String s, EOEditingContext eoeditingcontext) {
124         throw new UnsupportedOperationException("Not Yet Implemented");
125     }
126 
127     public NSArray arrayFaultWithSourceGlobalID(EOGlobalID eoglobalid, String s, EOEditingContext eoeditingcontext) {
128         throw new UnsupportedOperationException("Not Yet Implemented");
129     }
130 
131     public void editingContextDidForgetObjectWithGlobalID(EOEditingContext eoeditingcontext, EOGlobalID eoglobalid) {
132         throw new UnsupportedOperationException("Not Yet Implemented");
133     }
134 
135     public NSArray objectsForSourceGlobalID(EOGlobalID eoglobalid, String s, EOEditingContext eoeditingcontext) {
136         throw new UnsupportedOperationException("Not Yet Implemented");
137     }
138 
139     public void invalidateObjectsWithGlobalIDs(NSArray nsarray) {
140         throw new UnsupportedOperationException("Not Yet Implemented");
141     }
142 
143     public void invalidateAllObjects() {
144         throw new UnsupportedOperationException("Not Yet Implemented");
145     }
146 
147     public void _objectsChangedInSubStore(NSNotification nsnotification) {
148         throw new UnsupportedOperationException("Not Yet Implemented");
149     }
150 
151     public void _invalidatedAllObjectsInSubStore(NSNotification nsnotification) {
152         throw new UnsupportedOperationException("Not Yet Implemented");
153     }
154 
155     public void setUserInfo(NSDictionary nsdictionary) {
156         throw new UnsupportedOperationException("Not Yet Implemented");
157     }
158 
159     public NSDictionary userInfo() {
160         throw new UnsupportedOperationException("Not Yet Implemented");
161     }
162 
163 	/***
164 	 * @see net.wotonomy.control.EOObjectStore#faultForRawRow(Map, String, EOEditingContext)
165 	 */
166 	public /*EOEnterpriseObject*/ Object faultForRawRow(
167 		Map aDictionary,
168 		String anEntityName,
169 		EOEditingContext aContext) {
170         throw new UnsupportedOperationException("Not Yet Implemented");
171 	}
172 
173 
174 	/***
175 	 * @see net.wotonomy.control.EOObjectStore#initializeObject(Object, EOGlobalID, EOEditingContext)
176 	 */
177 	public void initializeObject(
178 		Object anObject,
179 		EOGlobalID aGlobalID,
180 		EOEditingContext aContext) {
181         throw new UnsupportedOperationException("Not Yet Implemented");
182 	}
183 
184 
185 	/***
186 	 * @see net.wotonomy.control.EOObjectStore#invalidateObjectsWithGlobalIDs(List)
187 	 */
188 	public void invalidateObjectsWithGlobalIDs(List aList) {
189         throw new UnsupportedOperationException("Not Yet Implemented");
190 	}
191 
192 
193 	/***
194 	 * @see net.wotonomy.control.EOObjectStore#refaultObject(Object, EOGlobalID, EOEditingContext)
195 	 */
196 	public void refaultObject(
197 		Object anObject,
198 		EOGlobalID aGlobalID,
199 		EOEditingContext aContext) {
200         throw new UnsupportedOperationException("Not Yet Implemented");
201 	}
202 
203 
204 }