Revision 24185

View differences:

branches/v2_0_0_prep/libraries/libFMap_data/src/org/gvsig/fmap/data/resource/spi/ResourceManagerProviderServices.java
27 27

  
28 28
	public void remove(String name) throws DataException;
29 29
	
30
	public List getResourceProvider();
30
	public List getResourceProviders();
31 31

  
32 32
}
branches/v2_0_0_prep/libraries/libFMap_data/src/org/gvsig/fmap/data/resource/impl/DefaultResourceManager.java
260 260
		return true;
261 261
	}
262 262

  
263
	public List getResourceProvider() {
263
	public List getResourceProviders() {
264 264
		// TODO Auto-generated method stub
265 265
		return null;
266 266
	}
branches/v2_0_0_prep/libraries/libFMap_data/src/org/gvsig/fmap/data/feature/FeatureStore.java
40 40

  
41 41
	/*
42 42
	 * =============================================================
43
	 * 
43
	 *
44 44
	 * information related services
45 45
	 */
46 46

  
......
181 181

  
182 182
	public void validateFeatures(int mode) throws DataException;
183 183

  
184
	public boolean isAppendModeSupported();
185

  
184 186
	/*
185 187
	 * =============================================================
186 188
	 *
branches/v2_0_0_prep/libraries/libFMap_data/src/org/gvsig/fmap/data/feature/spi/FeatureStoreProvider.java
62 62
	public int getFeatureReferenceIdType();
63 63

  
64 64

  
65
	public boolean suppotrsAppendMode();
65
	public boolean supportsAppendMode();
66 66

  
67 67
	public void beginAppend();
68 68

  
branches/v2_0_0_prep/libraries/libFMap_data/src/org/gvsig/fmap/data/feature/impl/DefaultFeatureStore.java
542 542
			if ( this.mode != MODE_QUERY ) {
543 543
				throw new AlreadyEditingException(this.getName());
544 544
			}
545
			if (!this.provider.supportsAppendMode()) {
546
				mode = MODE_FULLEDIT;
547
			}
545 548
			switch (mode) {
546 549
			case MODE_QUERY:
547 550
				throw new IllegalStateException(this.getName());
......
781 784
		// notifyChange(FeatureStoreNotification.AFTER_FINISHEDITING);
782 785
	}
783 786

  
787

  
788
	public boolean isAppendModeSupported() {
789
		return this.provider.supportsAppendMode();
790
	}
791

  
792

  
784 793
	public void export(FeatureExplorer explorer, FeatureStoreParameters params)
785 794
			throws DataException {
786 795

  
......
1103 1112
		return index;
1104 1113
	}
1105 1114

  
1115

  
1106 1116
}

Also available in: Unified diff