Revision 46279
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/fmap/dal/feature/impl/DefaultFeatureStore.java | ||
---|---|---|
126 | 126 |
import org.gvsig.fmap.dal.feature.impl.editing.memory.FeatureTypeManager; |
127 | 127 |
import org.gvsig.fmap.dal.feature.impl.editing.memory.SpatialManager; |
128 | 128 |
import org.gvsig.fmap.dal.feature.impl.featurereference.FeatureReferenceFactory; |
129 |
import org.gvsig.fmap.dal.feature.impl.featurereference.FeatureReferenceIteratorToFeatureIterator; |
|
130 | 129 |
import org.gvsig.fmap.dal.feature.impl.featureset.DefaultFeatureSet; |
131 | 130 |
import org.gvsig.fmap.dal.feature.impl.undo.DefaultFeatureCommandsStack; |
132 | 131 |
import org.gvsig.fmap.dal.feature.impl.undo.FeatureCommandsStack; |
... | ... | |
290 | 289 |
/* |
291 | 290 |
* TODO: |
292 | 291 |
* |
293 |
* - Comprobar que solo se pueden a�adir reglas de validacion sobre un
|
|
292 |
* - Comprobar que solo se pueden a�adir reglas de validacion sobre un
|
|
294 | 293 |
* EditableFeatureType. - Comprobar que solo se puede hacer un update con un |
295 | 294 |
* featureType al que se le han cambiado las reglas de validacion cuando |
296 | 295 |
* hasStrongChanges=false. |
... | ... | |
776 | 775 |
ftype = getFeatureType(defaultFeatureTypeId); |
777 | 776 |
if (ftype == null) { |
778 | 777 |
/* |
779 |
* Un error en el m�todo de PostgreSQL getName(), hace que
|
|
778 |
* Un error en el m�todo de PostgreSQL getName(), hace que
|
|
780 | 779 |
* el nombre del featureType sea valor retornado por el getProviderName() |
781 |
* De momento se pone este parche para apa�arlo y poder mantener compatibilidad
|
|
780 |
* De momento se pone este parche para apa�arlo y poder mantener compatibilidad
|
|
782 | 781 |
* con proyectos antiguos (2.1 y 2.2) |
783 | 782 |
*/ |
784 | 783 |
ftype = getFeatureType(getName()); |
... | ... | |
1489 | 1488 |
checkInEditingMode(); |
1490 | 1489 |
checkIsOwnFeature(feature); |
1491 | 1490 |
if (feature instanceof EditableFeature && !((EditableFeature)feature).isUpdatable()) { |
1492 |
//La feature no est? persistida en disco
|
|
1491 |
//La feature no está persistida en disco
|
|
1493 | 1492 |
throw new StoreDeleteEditableFeatureException(getName()); |
1494 | 1493 |
} |
1495 | 1494 |
if (notifyChange(FeatureStoreNotification.BEFORE_DELETE, feature).isCanceled()) { |
Also available in: Unified diff