svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.api / src / test / java / org / gvsig / fmap / dal / feature / DummyFetureStore.java @ 45521
History | View | Annotate | Download (20.2 KB)
1 | 42928 | jjdelcerro | |
---|---|---|---|
2 | package org.gvsig.fmap.dal.feature; |
||
3 | |||
4 | import java.util.Collection; |
||
5 | 45425 | jjdelcerro | import java.util.Collections; |
6 | 42928 | jjdelcerro | import java.util.Iterator; |
7 | import java.util.List; |
||
8 | 45425 | jjdelcerro | import java.util.Map; |
9 | 42928 | jjdelcerro | import java.util.Set; |
10 | 44655 | jjdelcerro | import javax.json.JsonObject; |
11 | 43152 | fdiaz | |
12 | 42928 | jjdelcerro | import org.cresques.cts.IProjection; |
13 | 44023 | jjdelcerro | import org.gvsig.expressionevaluator.Expression; |
14 | 44042 | jjdelcerro | import org.gvsig.expressionevaluator.ExpressionBuilder; |
15 | 43152 | fdiaz | |
16 | 42928 | jjdelcerro | import org.gvsig.fmap.dal.DataQuery; |
17 | import org.gvsig.fmap.dal.DataServerExplorer; |
||
18 | import org.gvsig.fmap.dal.DataSet; |
||
19 | 44253 | jjdelcerro | import org.gvsig.fmap.dal.DataStore; |
20 | 42928 | jjdelcerro | import org.gvsig.fmap.dal.DataStoreParameters; |
21 | 43152 | fdiaz | import org.gvsig.fmap.dal.DataStoreProviderFactory; |
22 | 44259 | jjdelcerro | import org.gvsig.fmap.dal.StoresRepository; |
23 | 42928 | jjdelcerro | import org.gvsig.fmap.dal.exception.DataException; |
24 | import org.gvsig.fmap.dal.exception.ValidateDataParametersException; |
||
25 | import org.gvsig.fmap.dal.feature.exception.NeedEditingModeException; |
||
26 | 43371 | fdiaz | import org.gvsig.fmap.geom.SpatialIndex; |
27 | 42928 | jjdelcerro | import org.gvsig.fmap.geom.primitive.Envelope; |
28 | import org.gvsig.metadata.exceptions.MetadataException; |
||
29 | import org.gvsig.timesupport.Interval; |
||
30 | import org.gvsig.tools.dynobject.DynClass; |
||
31 | import org.gvsig.tools.dynobject.DynObject; |
||
32 | import org.gvsig.tools.dynobject.exception.DynFieldNotFoundException; |
||
33 | import org.gvsig.tools.dynobject.exception.DynMethodException; |
||
34 | import org.gvsig.tools.exception.BaseException; |
||
35 | import org.gvsig.tools.observer.Observer; |
||
36 | import org.gvsig.tools.persistence.PersistentState; |
||
37 | import org.gvsig.tools.persistence.exception.PersistenceException; |
||
38 | import org.gvsig.tools.undo.RedoException; |
||
39 | import org.gvsig.tools.undo.UndoException; |
||
40 | 44297 | jjdelcerro | import org.gvsig.tools.resourcesstorage.ResourcesStorage; |
41 | import org.gvsig.tools.resourcesstorage.EmptyResourcesStorage; |
||
42 | 45425 | jjdelcerro | import org.gvsig.tools.util.GetItemWithSizeIsEmptyAndIterator64; |
43 | 44259 | jjdelcerro | import org.gvsig.tools.util.UnmodifiableBasicMap; |
44 | 42928 | jjdelcerro | import org.gvsig.tools.visitor.Visitor; |
45 | |||
46 | /**
|
||
47 | * This class is intended to be used in test.
|
||
48 | * Use it directly or extend it and overwrite the methods you need.
|
||
49 | * This class is maintained as part of the DAL API.
|
||
50 | */
|
||
51 | |||
52 | |||
53 | public class DummyFetureStore implements FeatureStore { |
||
54 | 45482 | fdiaz | |
55 | private int mode; |
||
56 | 42928 | jjdelcerro | |
57 | @Override
|
||
58 | public Object clone() throws CloneNotSupportedException { |
||
59 | return super.clone(); |
||
60 | } |
||
61 | |||
62 | @Override
|
||
63 | public boolean allowWrite() { |
||
64 | return false; |
||
65 | } |
||
66 | |||
67 | @Override
|
||
68 | public FeatureType getDefaultFeatureType() throws DataException { |
||
69 | return null; |
||
70 | } |
||
71 | |||
72 | @Override
|
||
73 | public FeatureType getFeatureType(String featureTypeId) throws DataException { |
||
74 | return null; |
||
75 | } |
||
76 | |||
77 | @Override
|
||
78 | public List getFeatureTypes() throws DataException { |
||
79 | return null; |
||
80 | } |
||
81 | |||
82 | @Override
|
||
83 | public DataStoreParameters getParameters() {
|
||
84 | return null; |
||
85 | } |
||
86 | |||
87 | @Override
|
||
88 | public boolean canWriteGeometry(int gvSIGgeometryType) throws DataException { |
||
89 | return false; |
||
90 | } |
||
91 | |||
92 | @Override
|
||
93 | public Envelope getEnvelope() throws DataException { |
||
94 | return null; |
||
95 | } |
||
96 | |||
97 | @Override
|
||
98 | public IProjection getSRSDefaultGeometry() throws DataException { |
||
99 | return null; |
||
100 | } |
||
101 | |||
102 | @Override
|
||
103 | 45482 | fdiaz | public void export(DataServerExplorer explorer, String provider, NewFeatureStoreParameters params, String name) throws DataException { |
104 | 42928 | jjdelcerro | |
105 | } |
||
106 | |||
107 | @Override
|
||
108 | public FeatureSet getFeatureSet() throws DataException { |
||
109 | return null; |
||
110 | } |
||
111 | |||
112 | @Override
|
||
113 | public FeatureSet getFeatureSet(FeatureQuery featureQuery) throws DataException { |
||
114 | return null; |
||
115 | } |
||
116 | |||
117 | @Override
|
||
118 | public void getFeatureSet(FeatureQuery featureQuery, Observer observer) throws DataException { |
||
119 | |||
120 | } |
||
121 | |||
122 | @Override
|
||
123 | public void getFeatureSet(Observer observer) throws DataException { |
||
124 | |||
125 | } |
||
126 | |||
127 | @Override
|
||
128 | public List<Feature> getFeatures(FeatureQuery query, int pageSize) { |
||
129 | return null; |
||
130 | } |
||
131 | |||
132 | @Override
|
||
133 | public Feature getFeatureByReference(FeatureReference reference) throws DataException { |
||
134 | return null; |
||
135 | } |
||
136 | |||
137 | @Override
|
||
138 | public Feature getFeatureByReference(FeatureReference reference, FeatureType featureType) throws DataException { |
||
139 | return null; |
||
140 | } |
||
141 | |||
142 | @Override
|
||
143 | public void edit() throws DataException { |
||
144 | 45482 | fdiaz | this.mode = MODE_FULLEDIT;
|
145 | 42928 | jjdelcerro | } |
146 | |||
147 | @Override
|
||
148 | public void edit(int mode) throws DataException { |
||
149 | 45482 | fdiaz | this.mode = mode;
|
150 | } |
||
151 | 42928 | jjdelcerro | |
152 | 45482 | fdiaz | @Override
|
153 | public int getMode() { |
||
154 | return this.mode; |
||
155 | 42928 | jjdelcerro | } |
156 | 45482 | fdiaz | |
157 | |||
158 | 42928 | jjdelcerro | |
159 | @Override
|
||
160 | public void cancelEditing() throws DataException { |
||
161 | 45482 | fdiaz | this.mode = MODE_QUERY;
|
162 | 42928 | jjdelcerro | } |
163 | |||
164 | @Override
|
||
165 | public void finishEditing() throws DataException { |
||
166 | 45482 | fdiaz | this.mode = MODE_QUERY;
|
167 | 42928 | jjdelcerro | } |
168 | |||
169 | @Override
|
||
170 | public void commitChanges() throws DataException { |
||
171 | |||
172 | } |
||
173 | |||
174 | @Override
|
||
175 | public boolean canCommitChanges() throws DataException { |
||
176 | return false; |
||
177 | } |
||
178 | |||
179 | @Override
|
||
180 | public boolean isEditing() { |
||
181 | return false; |
||
182 | } |
||
183 | |||
184 | @Override
|
||
185 | public boolean isAppending() { |
||
186 | return false; |
||
187 | } |
||
188 | |||
189 | @Override
|
||
190 | public void update(EditableFeatureType featureType) throws DataException { |
||
191 | |||
192 | } |
||
193 | |||
194 | @Override
|
||
195 | public void update(EditableFeature feature) throws DataException { |
||
196 | |||
197 | } |
||
198 | |||
199 | @Override
|
||
200 | 45425 | jjdelcerro | public void update(Object... parameters) throws DataException { |
201 | |||
202 | } |
||
203 | |||
204 | @Override
|
||
205 | 42928 | jjdelcerro | public void delete(Feature feature) throws DataException { |
206 | |||
207 | } |
||
208 | |||
209 | @Override
|
||
210 | public void insert(EditableFeature feature) throws DataException { |
||
211 | |||
212 | } |
||
213 | |||
214 | @Override
|
||
215 | public EditableFeature createNewFeature() throws DataException { |
||
216 | return null; |
||
217 | } |
||
218 | |||
219 | @Override
|
||
220 | public EditableFeature createNewFeature(FeatureType type, Feature defaultValues) throws DataException { |
||
221 | return null; |
||
222 | } |
||
223 | |||
224 | @Override
|
||
225 | public EditableFeature createNewFeature(FeatureType type, boolean defaultValues) throws DataException { |
||
226 | return null; |
||
227 | } |
||
228 | |||
229 | @Override
|
||
230 | public EditableFeature createNewFeature(boolean defaultValues) throws DataException { |
||
231 | return null; |
||
232 | } |
||
233 | |||
234 | @Override
|
||
235 | public EditableFeature createNewFeature(Feature defaultValues) throws DataException { |
||
236 | return null; |
||
237 | } |
||
238 | |||
239 | @Override
|
||
240 | 44655 | jjdelcerro | public EditableFeature createNewFeature(JsonObject defaultValues) throws DataException { |
241 | return null; |
||
242 | } |
||
243 | |||
244 | @Override
|
||
245 | 42928 | jjdelcerro | public void validateFeatures(int mode) throws DataException { |
246 | |||
247 | } |
||
248 | |||
249 | @Override
|
||
250 | public boolean isAppendModeSupported() { |
||
251 | return false; |
||
252 | } |
||
253 | |||
254 | @Override
|
||
255 | public void beginEditingGroup(String description) throws NeedEditingModeException { |
||
256 | |||
257 | } |
||
258 | |||
259 | @Override
|
||
260 | public void endEditingGroup() throws NeedEditingModeException { |
||
261 | |||
262 | } |
||
263 | |||
264 | @Override
|
||
265 | public FeatureIndex createIndex(FeatureType featureType, String attributeName, String indexName) throws DataException { |
||
266 | return null; |
||
267 | } |
||
268 | |||
269 | @Override
|
||
270 | public FeatureIndex createIndex(String indexTypeName, FeatureType featureType, String attributeName, String indexName) throws DataException { |
||
271 | return null; |
||
272 | } |
||
273 | |||
274 | @Override
|
||
275 | public FeatureIndex createIndex(FeatureType featureType, String attributeName, String indexName, Observer observer) throws DataException { |
||
276 | return null; |
||
277 | } |
||
278 | |||
279 | @Override
|
||
280 | public FeatureIndex createIndex(String indexTypeName, FeatureType featureType, String attributeName, String indexName, Observer observer) throws DataException { |
||
281 | return null; |
||
282 | } |
||
283 | |||
284 | @Override
|
||
285 | public FeatureIndexes getIndexes() {
|
||
286 | return null; |
||
287 | } |
||
288 | |||
289 | @Override
|
||
290 | public void setSelection(FeatureSet selection) throws DataException { |
||
291 | |||
292 | } |
||
293 | |||
294 | @Override
|
||
295 | public FeatureSelection createFeatureSelection() throws DataException { |
||
296 | return null; |
||
297 | } |
||
298 | |||
299 | @Override
|
||
300 | public FeatureSelection getFeatureSelection() throws DataException { |
||
301 | return null; |
||
302 | } |
||
303 | |||
304 | @Override
|
||
305 | public boolean isLocksSupported() { |
||
306 | return false; |
||
307 | } |
||
308 | |||
309 | @Override
|
||
310 | public FeatureLocks getLocks() throws DataException { |
||
311 | return null; |
||
312 | } |
||
313 | |||
314 | @Override
|
||
315 | public FeatureStoreTransforms getTransforms() {
|
||
316 | return null; |
||
317 | } |
||
318 | |||
319 | @Override
|
||
320 | public FeatureQuery createFeatureQuery() {
|
||
321 | return null; |
||
322 | } |
||
323 | |||
324 | @Override
|
||
325 | public long getFeatureCount() throws DataException { |
||
326 | return 0; |
||
327 | } |
||
328 | |||
329 | 43020 | jjdelcerro | // @Override
|
330 | // public void createCache(String name, DynObject parameters) throws DataException {
|
||
331 | //
|
||
332 | // }
|
||
333 | //
|
||
334 | // @Override
|
||
335 | // public FeatureCache getCache() {
|
||
336 | // return null;
|
||
337 | // }
|
||
338 | 42928 | jjdelcerro | |
339 | @Override
|
||
340 | public boolean isKnownEnvelope() { |
||
341 | return false; |
||
342 | } |
||
343 | |||
344 | @Override
|
||
345 | public boolean hasRetrievedFeaturesLimit() { |
||
346 | return false; |
||
347 | } |
||
348 | |||
349 | @Override
|
||
350 | public int getRetrievedFeaturesLimit() { |
||
351 | return 0; |
||
352 | } |
||
353 | |||
354 | @Override
|
||
355 | public Feature getFeature(DynObject dynobject) {
|
||
356 | return null; |
||
357 | } |
||
358 | |||
359 | @Override
|
||
360 | public Iterator iterator() { |
||
361 | return null; |
||
362 | } |
||
363 | |||
364 | @Override
|
||
365 | public String getName() { |
||
366 | return null; |
||
367 | } |
||
368 | |||
369 | @Override
|
||
370 | public String getFullName() { |
||
371 | return null; |
||
372 | } |
||
373 | |||
374 | @Override
|
||
375 | public String getProviderName() { |
||
376 | return null; |
||
377 | } |
||
378 | |||
379 | @Override
|
||
380 | public void refresh() throws DataException { |
||
381 | |||
382 | } |
||
383 | |||
384 | @Override
|
||
385 | public DataSet getDataSet() throws DataException { |
||
386 | return null; |
||
387 | } |
||
388 | |||
389 | @Override
|
||
390 | public DataSet getDataSet(DataQuery dataQuery) throws DataException { |
||
391 | return null; |
||
392 | } |
||
393 | |||
394 | @Override
|
||
395 | public void accept(Visitor visitor) throws BaseException { |
||
396 | |||
397 | } |
||
398 | |||
399 | @Override
|
||
400 | public void accept(Visitor visitor, DataQuery dataQuery) throws BaseException { |
||
401 | |||
402 | } |
||
403 | |||
404 | @Override
|
||
405 | public void getDataSet(Observer observer) throws DataException { |
||
406 | |||
407 | } |
||
408 | |||
409 | @Override
|
||
410 | public void getDataSet(DataQuery dataQuery, Observer observer) throws DataException { |
||
411 | |||
412 | } |
||
413 | |||
414 | @Override
|
||
415 | public DataSet getSelection() throws DataException { |
||
416 | return null; |
||
417 | } |
||
418 | |||
419 | @Override
|
||
420 | public void setSelection(DataSet selection) throws DataException { |
||
421 | |||
422 | } |
||
423 | |||
424 | @Override
|
||
425 | public DataSet createSelection() throws DataException { |
||
426 | return null; |
||
427 | } |
||
428 | |||
429 | @Override
|
||
430 | public DataServerExplorer getExplorer() throws DataException, ValidateDataParametersException { |
||
431 | return null; |
||
432 | } |
||
433 | |||
434 | @Override
|
||
435 | public DataQuery createQuery() {
|
||
436 | return null; |
||
437 | } |
||
438 | |||
439 | @Override
|
||
440 | public Interval getInterval() {
|
||
441 | return null; |
||
442 | } |
||
443 | |||
444 | @Override
|
||
445 | public Collection getTimes() { |
||
446 | return null; |
||
447 | } |
||
448 | |||
449 | @Override
|
||
450 | public Collection getTimes(Interval interval) { |
||
451 | return null; |
||
452 | } |
||
453 | |||
454 | @Override
|
||
455 | public void disableNotifications() { |
||
456 | |||
457 | } |
||
458 | |||
459 | @Override
|
||
460 | public void enableNotifications() { |
||
461 | |||
462 | } |
||
463 | |||
464 | @Override
|
||
465 | public void beginComplexNotification() { |
||
466 | |||
467 | } |
||
468 | |||
469 | @Override
|
||
470 | public void endComplexNotification() { |
||
471 | |||
472 | } |
||
473 | |||
474 | @Override
|
||
475 | public void addObserver(Observer obsrvr) { |
||
476 | |||
477 | } |
||
478 | |||
479 | @Override
|
||
480 | public void deleteObserver(Observer obsrvr) { |
||
481 | |||
482 | } |
||
483 | |||
484 | @Override
|
||
485 | public void deleteObservers() { |
||
486 | |||
487 | } |
||
488 | |||
489 | @Override
|
||
490 | public void saveToState(PersistentState ps) throws PersistenceException { |
||
491 | |||
492 | } |
||
493 | |||
494 | @Override
|
||
495 | public void loadFromState(PersistentState ps) throws PersistenceException { |
||
496 | |||
497 | } |
||
498 | |||
499 | @Override
|
||
500 | public Object getMetadataID() throws MetadataException { |
||
501 | return null; |
||
502 | } |
||
503 | |||
504 | @Override
|
||
505 | public String getMetadataName() throws MetadataException { |
||
506 | return null; |
||
507 | } |
||
508 | |||
509 | @Override
|
||
510 | public Set getMetadataChildren() throws MetadataException { |
||
511 | return null; |
||
512 | } |
||
513 | |||
514 | @Override
|
||
515 | public DynClass getDynClass() {
|
||
516 | return null; |
||
517 | } |
||
518 | |||
519 | @Override
|
||
520 | public void implement(DynClass dc) { |
||
521 | |||
522 | } |
||
523 | |||
524 | @Override
|
||
525 | public void delegate(DynObject d) { |
||
526 | |||
527 | } |
||
528 | |||
529 | @Override
|
||
530 | public Object getDynValue(String string) throws DynFieldNotFoundException { |
||
531 | return null; |
||
532 | } |
||
533 | |||
534 | @Override
|
||
535 | public void setDynValue(String string, Object o) throws DynFieldNotFoundException { |
||
536 | |||
537 | } |
||
538 | |||
539 | @Override
|
||
540 | public boolean hasDynValue(String string) { |
||
541 | return false; |
||
542 | } |
||
543 | |||
544 | @Override
|
||
545 | public Object invokeDynMethod(String string, Object[] os) throws DynMethodException { |
||
546 | return null; |
||
547 | } |
||
548 | |||
549 | @Override
|
||
550 | public Object invokeDynMethod(int i, Object[] os) throws DynMethodException { |
||
551 | return null; |
||
552 | } |
||
553 | |||
554 | @Override
|
||
555 | public void clear() { |
||
556 | |||
557 | } |
||
558 | |||
559 | @Override
|
||
560 | public void dispose() { |
||
561 | |||
562 | } |
||
563 | |||
564 | @Override
|
||
565 | public void undo() throws UndoException { |
||
566 | |||
567 | } |
||
568 | |||
569 | @Override
|
||
570 | public void undo(int i) throws UndoException { |
||
571 | |||
572 | } |
||
573 | |||
574 | @Override
|
||
575 | public void redo() throws RedoException { |
||
576 | |||
577 | } |
||
578 | |||
579 | @Override
|
||
580 | public void redo(int i) throws RedoException { |
||
581 | |||
582 | } |
||
583 | |||
584 | @Override
|
||
585 | public List getUndoInfos() { |
||
586 | return null; |
||
587 | } |
||
588 | |||
589 | @Override
|
||
590 | public List getRedoInfos() { |
||
591 | return null; |
||
592 | } |
||
593 | |||
594 | @Override
|
||
595 | public boolean canUndo() { |
||
596 | return false; |
||
597 | } |
||
598 | |||
599 | @Override
|
||
600 | public boolean canRedo() { |
||
601 | return false; |
||
602 | } |
||
603 | |||
604 | 43020 | jjdelcerro | @Override
|
605 | public List<Feature> getFeatures() { |
||
606 | return null; |
||
607 | 43152 | fdiaz | } |
608 | 43020 | jjdelcerro | |
609 | 43057 | jjdelcerro | @Override
|
610 | public void createCache(String name, DynObject parameters) throws DataException { |
||
611 | |||
612 | } |
||
613 | |||
614 | @Override
|
||
615 | public FeatureCache getCache() {
|
||
616 | return null; |
||
617 | } |
||
618 | |||
619 | 43152 | fdiaz | @Override
|
620 | public void useCache(String providerName, DynObject parameters) throws DataException { |
||
621 | throw new UnsupportedOperationException(); |
||
622 | } |
||
623 | |||
624 | @Override
|
||
625 | 43190 | jjdelcerro | public DataStoreProviderFactory getProviderFactory() {
|
626 | 43152 | fdiaz | return null; |
627 | } |
||
628 | |||
629 | 43215 | jjdelcerro | @Override
|
630 | public boolean isBroken() { |
||
631 | return false; |
||
632 | } |
||
633 | |||
634 | @Override
|
||
635 | public Throwable getBreakingsCause() { |
||
636 | return null; |
||
637 | } |
||
638 | |||
639 | 43246 | jjdelcerro | @Override
|
640 | public boolean hasDynMethod(String name) { |
||
641 | return false; |
||
642 | } |
||
643 | |||
644 | 43371 | fdiaz | @Override
|
645 | public SpatialIndex wrapSpatialIndex(SpatialIndex index) {
|
||
646 | return null; |
||
647 | } |
||
648 | |||
649 | 43521 | jjdelcerro | @Override
|
650 | public ExpressionBuilder createExpressionBuilder() {
|
||
651 | return null; |
||
652 | } |
||
653 | |||
654 | @Override
|
||
655 | public ExpressionBuilder createExpression() {
|
||
656 | return createExpressionBuilder();
|
||
657 | } |
||
658 | |||
659 | 43540 | jjdelcerro | @Override
|
660 | public FeatureSet getFeatureSet(String filter) throws DataException { |
||
661 | return null; |
||
662 | } |
||
663 | |||
664 | @Override
|
||
665 | public FeatureSet getFeatureSet(String filter, String sortBy) throws DataException { |
||
666 | return null; |
||
667 | } |
||
668 | |||
669 | @Override
|
||
670 | public FeatureSet getFeatureSet(String filter, String sortBy, boolean asc) throws DataException { |
||
671 | return null; |
||
672 | } |
||
673 | 43558 | jjdelcerro | |
674 | @Override
|
||
675 | public List<Feature> getFeatures(FeatureQuery query) { |
||
676 | 44023 | jjdelcerro | return null; |
677 | 43558 | jjdelcerro | } |
678 | 43628 | jjdelcerro | |
679 | @Override
|
||
680 | public List<Feature> getFeatures(String filter) { |
||
681 | 44023 | jjdelcerro | return null; |
682 | 43628 | jjdelcerro | } |
683 | |||
684 | @Override
|
||
685 | public List<Feature> getFeatures(String filter, String sortBy) { |
||
686 | 44023 | jjdelcerro | return null; |
687 | 43628 | jjdelcerro | } |
688 | |||
689 | @Override
|
||
690 | public List<Feature> getFeatures(String filter, String sortBy, boolean asc) { |
||
691 | 44023 | jjdelcerro | return null; |
692 | 43628 | jjdelcerro | } |
693 | |||
694 | @Override
|
||
695 | public Feature findFirst(String filter) throws DataException { |
||
696 | 44023 | jjdelcerro | return null; |
697 | 43628 | jjdelcerro | } |
698 | |||
699 | @Override
|
||
700 | public Feature findFirst(String filter, String sortBy) throws DataException { |
||
701 | 44023 | jjdelcerro | return null; |
702 | 43628 | jjdelcerro | } |
703 | |||
704 | @Override
|
||
705 | public Feature findFirst(String filter, String sortBy, boolean asc) throws DataException { |
||
706 | 44023 | jjdelcerro | return null; |
707 | 43628 | jjdelcerro | } |
708 | 43832 | jjdelcerro | |
709 | @Override
|
||
710 | public FeatureReference getFeatureReference(String code) { |
||
711 | 44023 | jjdelcerro | return null; |
712 | 43832 | jjdelcerro | } |
713 | |||
714 | 44023 | jjdelcerro | @Override
|
715 | public FeatureSet getFeatureSet(Expression filter) throws DataException { |
||
716 | return null; |
||
717 | } |
||
718 | |||
719 | @Override
|
||
720 | public FeatureSet getFeatureSet(Expression filter, String sortBy) throws DataException { |
||
721 | return null; |
||
722 | } |
||
723 | |||
724 | @Override
|
||
725 | public FeatureSet getFeatureSet(Expression filter, String sortBy, boolean asc) throws DataException { |
||
726 | return null; |
||
727 | } |
||
728 | |||
729 | @Override
|
||
730 | public List<Feature> getFeatures(Expression filter) { |
||
731 | return null; |
||
732 | } |
||
733 | |||
734 | @Override
|
||
735 | public List<Feature> getFeatures(Expression filter, String sortBy) { |
||
736 | return null; |
||
737 | } |
||
738 | |||
739 | @Override
|
||
740 | public List<Feature> getFeatures(Expression filter, String sortBy, boolean asc) { |
||
741 | return null; |
||
742 | } |
||
743 | |||
744 | @Override
|
||
745 | public Feature findFirst(Expression filter) throws DataException { |
||
746 | return null; |
||
747 | } |
||
748 | |||
749 | @Override
|
||
750 | public Feature findFirst(Expression filter, String sortBy) throws DataException { |
||
751 | return null; |
||
752 | } |
||
753 | |||
754 | @Override
|
||
755 | public Feature findFirst(Expression filter, String sortBy, boolean asc) throws DataException { |
||
756 | return null; |
||
757 | } |
||
758 | |||
759 | 44100 | jjdelcerro | @Override
|
760 | public Feature first() throws DataException { |
||
761 | return null; |
||
762 | } |
||
763 | |||
764 | 44111 | jjdelcerro | @Override
|
765 | public long getPendingChangesCount() { |
||
766 | return 0; |
||
767 | } |
||
768 | |||
769 | 44253 | jjdelcerro | @Override
|
770 | public ResourcesStorage getResourcesStorage() {
|
||
771 | 44297 | jjdelcerro | return new EmptyResourcesStorage(); |
772 | 44253 | jjdelcerro | } |
773 | |||
774 | @Override
|
||
775 | 44259 | jjdelcerro | public StoresRepository getStoresRepository() {
|
776 | 44253 | jjdelcerro | return null; |
777 | } |
||
778 | |||
779 | @Override
|
||
780 | 44259 | jjdelcerro | public UnmodifiableBasicMap<String, DataStore> getChildren() { |
781 | return UnmodifiableBasicMap.EMPTY_UNMODIFIABLEBASICMAP;
|
||
782 | 44253 | jjdelcerro | } |
783 | |||
784 | 44262 | jjdelcerro | @Override
|
785 | public Feature findFirst(FeatureQuery query) throws DataException { |
||
786 | return null; |
||
787 | } |
||
788 | |||
789 | 44284 | jjdelcerro | @Override
|
790 | public Feature getSampleFeature() {
|
||
791 | return null; |
||
792 | } |
||
793 | 44318 | jjdelcerro | |
794 | @Override
|
||
795 | public void copyTo(FeatureStore target) { |
||
796 | } |
||
797 | 44346 | jjdelcerro | |
798 | @Override
|
||
799 | public FeatureQuery createFeatureQuery(String filter, String sortBy, boolean asc) { |
||
800 | return null; |
||
801 | } |
||
802 | |||
803 | @Override
|
||
804 | public FeatureQuery createFeatureQuery(Expression filter, String sortBy, boolean asc) { |
||
805 | return null; |
||
806 | } |
||
807 | 44435 | jjdelcerro | |
808 | @Override
|
||
809 | public boolean supportReferences() { |
||
810 | return true; |
||
811 | } |
||
812 | 44443 | jjdelcerro | |
813 | @Override
|
||
814 | public boolean isTemporary() { |
||
815 | return false; |
||
816 | } |
||
817 | 44884 | jjdelcerro | |
818 | @Override
|
||
819 | public FeatureType getDefaultFeatureTypeQuietly() {
|
||
820 | try {
|
||
821 | return this.getDefaultFeatureType(); |
||
822 | } catch (DataException ex) {
|
||
823 | return null; |
||
824 | } |
||
825 | } |
||
826 | 45071 | jjdelcerro | |
827 | @Override
|
||
828 | public void insert(FeatureSet set) throws DataException { |
||
829 | |||
830 | } |
||
831 | 45195 | omartinez | |
832 | @Override
|
||
833 | public long size64() { |
||
834 | return 0; |
||
835 | } |
||
836 | 45308 | fdiaz | |
837 | @Override
|
||
838 | public FeatureQuery createFeatureQuery(Expression filter, Expression sortBy, boolean asc) { |
||
839 | return null; |
||
840 | } |
||
841 | |||
842 | @Override
|
||
843 | public FeatureQuery createFeatureQuery(String filter, Expression sortBy, boolean asc) { |
||
844 | return null; |
||
845 | } |
||
846 | |||
847 | @Override
|
||
848 | public Feature findFirst(String filter, Expression sortBy, boolean asc) throws DataException { |
||
849 | return null; |
||
850 | } |
||
851 | |||
852 | @Override
|
||
853 | public Feature findFirst(Expression filter, Expression sortBy, boolean asc) throws DataException { |
||
854 | return null; |
||
855 | } |
||
856 | 45425 | jjdelcerro | |
857 | @Override
|
||
858 | public boolean cancelEditingQuietly() { |
||
859 | return true; |
||
860 | } |
||
861 | |||
862 | @Override
|
||
863 | public Object getProperty(String name) { |
||
864 | return null; |
||
865 | } |
||
866 | |||
867 | @Override
|
||
868 | public void setProperty(String name, Object value) { |
||
869 | |||
870 | } |
||
871 | |||
872 | @Override
|
||
873 | public Map<String, Object> getProperties() { |
||
874 | return Collections.EMPTY_MAP; |
||
875 | } |
||
876 | |||
877 | @Override
|
||
878 | public boolean finishEditingQuietly() { |
||
879 | return true; |
||
880 | } |
||
881 | |||
882 | @Override
|
||
883 | public void delete(String filter) { |
||
884 | } |
||
885 | |||
886 | @Override
|
||
887 | public void delete(Expression filter) { |
||
888 | } |
||
889 | |||
890 | @Override
|
||
891 | public GetItemWithSizeIsEmptyAndIterator64<Feature> getFeatures64() {
|
||
892 | return this.getFeatures64(null, -1); |
||
893 | } |
||
894 | |||
895 | @Override
|
||
896 | public GetItemWithSizeIsEmptyAndIterator64<Feature> getFeatures64(String filter) { |
||
897 | return this.getFeatures64(filter, null, true); |
||
898 | } |
||
899 | |||
900 | @Override
|
||
901 | public GetItemWithSizeIsEmptyAndIterator64<Feature> getFeatures64(String filter, String sortBy, boolean asc) { |
||
902 | FeatureQuery query = this.createFeatureQuery(filter, sortBy, asc);
|
||
903 | return this.getFeatures64(query, -1); |
||
904 | } |
||
905 | |||
906 | @Override
|
||
907 | public GetItemWithSizeIsEmptyAndIterator64<Feature> getFeatures64(FeatureQuery query, int pageSize) { |
||
908 | return null; |
||
909 | } |
||
910 | |||
911 | @Override
|
||
912 | public FeatureQuery createFeatureQuery(String filter) { |
||
913 | return null; |
||
914 | } |
||
915 | |||
916 | @Override
|
||
917 | public FeatureQuery createFeatureQuery(Expression filter) { |
||
918 | return null; |
||
919 | } |
||
920 | 45426 | fdiaz | |
921 | @Override
|
||
922 | public FeatureSelection createLargeFeatureSelection() throws DataException { |
||
923 | return null; |
||
924 | } |
||
925 | |||
926 | @Override
|
||
927 | public FeatureSelection createMemoryFeatureSelection() throws DataException { |
||
928 | return null; |
||
929 | } |
||
930 | 45521 | fdiaz | |
931 | @Override
|
||
932 | public Feature getOriginalFeature(FeatureReference id) {
|
||
933 | return null; |
||
934 | } |
||
935 | |||
936 | @Override
|
||
937 | public Feature getOriginalFeature(Feature feature) {
|
||
938 | return null; |
||
939 | } |
||
940 | |||
941 | @Override
|
||
942 | public boolean isFeatureModified(FeatureReference id){ |
||
943 | return false; |
||
944 | } |
||
945 | |||
946 | @Override
|
||
947 | public boolean isFeatureModified(Feature feature){ |
||
948 | return false; |
||
949 | } |
||
950 | 44443 | jjdelcerro | |
951 | 42928 | jjdelcerro | } |