Revision 19442 trunk/libraries/libDataSource/src/org/gvsig/data/datastores/vectorial/driver/IFeaturesWriter.java

View differences:

IFeaturesWriter.java
1 1
package org.gvsig.data.datastores.vectorial.driver;
2 2

  
3
import org.gvsig.data.exception.InitializeWriterException;
4
import org.gvsig.data.exception.OpenException;
5
import org.gvsig.data.exception.ReadException;
6
import org.gvsig.data.exception.WriteException;
3 7
import org.gvsig.data.vectorial.IFeature;
4 8
import org.gvsig.data.vectorial.IFeatureType;
5 9

  
6 10
public interface IFeaturesWriter {
7 11
	public void init(IDriver driver);
8 12

  
9
	public void preProcess();
13
	public void preProcess() throws OpenException, InitializeWriterException;
10 14
	public void updateFeatureType(IFeatureType featureType);
11 15
	public void deleteFeature(IFeature feature);
12
	public void updateFeature(IFeature feature);
16
	public void updateFeature(IFeature feature) throws WriteException, ReadException;
13 17
	public void insertFeature(IFeature feature);
14
	public void postProcess();
18
	public void postProcess() throws OpenException, WriteException;
15 19

  
16 20
	public boolean isWriteAll();
17 21

  

Also available in: Unified diff