Revision 20419 trunk/libraries/libDataSource/src/org/gvsig/data/vectorial/AbstractFeatureStore.java
AbstractFeatureStore.java | ||
---|---|---|
55 | 55 |
featureManager=new FeatureManager(expansionFeatureAdapter); |
56 | 56 |
} |
57 | 57 |
|
58 |
public IDataCollection getDataCollection() throws ReadException, IsNotFeatureSettingException {
|
|
58 |
public IDataCollection getDataCollection() throws ReadException { |
|
59 | 59 |
return getDataCollection(null, null, null); |
60 | 60 |
} |
61 | 61 |
|
... | ... | |
295 | 295 |
|
296 | 296 |
} |
297 | 297 |
|
298 |
public void finishEditing() throws WriteException, ReadException, IsNotFeatureSettingException {
|
|
298 |
public void finishEditing() throws WriteException, ReadException{ |
|
299 | 299 |
if( !alterMode ) { |
300 | 300 |
//FIXME: OJO arreglar esta excepci?n!!! |
301 | 301 |
throw new RuntimeException("alterMode is false"); |
... | ... | |
324 | 324 |
|
325 | 325 |
} |
326 | 326 |
|
327 |
protected abstract void doFinishEdition() throws WriteException, ReadException, IsNotFeatureSettingException ;
|
|
327 |
protected abstract void doFinishEdition() throws WriteException, ReadException ; |
|
328 | 328 |
|
329 | 329 |
|
330 | 330 |
public Iterator getChilds() { |
... | ... | |
367 | 367 |
return alterMode; |
368 | 368 |
} |
369 | 369 |
|
370 |
protected void validateEndEditing() throws ReadException, IsNotFeatureSettingException{
|
|
370 |
protected void validateEndEditing() throws ReadException{ |
|
371 | 371 |
IFeatureCollection collection = (IFeatureCollection)this.getDataCollection(); |
372 | 372 |
Iterator iter = collection.iterator(); |
373 | 373 |
while (iter.hasNext()){ |
... | ... | |
434 | 434 |
return feature; |
435 | 435 |
} |
436 | 436 |
|
437 |
public IFeature createDefaultFeature(boolean defaultValues) throws IsNotFeatureSettingException {
|
|
437 |
public IFeature createDefaultFeature(boolean defaultValues){ |
|
438 | 438 |
IFeature feature=new CreatedFeature(getDefaultFeatureType(),defaultValues); |
439 | 439 |
return feature; |
440 | 440 |
} |
Also available in: Unified diff