svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.db / org.gvsig.fmap.dal.db.jdbc / src / main / java / org / gvsig / fmap / dal / store / jdbc / Appender.java @ 44348
History | View | Annotate | Download (801 Bytes)
1 |
|
---|---|
2 |
|
3 |
package org.gvsig.fmap.dal.store.jdbc; |
4 |
|
5 |
import java.sql.Connection; |
6 |
import java.sql.PreparedStatement; |
7 |
import java.sql.SQLException; |
8 |
import java.util.ArrayList; |
9 |
import java.util.List; |
10 |
import org.gvsig.fmap.dal.exception.DataException; |
11 |
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor; |
12 |
import org.gvsig.fmap.dal.feature.exception.PerformEditingException; |
13 |
import org.gvsig.fmap.dal.feature.spi.FeatureProvider; |
14 |
import org.gvsig.fmap.dal.store.jdbc.exception.JDBCPreparingSQLException; |
15 |
import org.slf4j.Logger; |
16 |
import org.slf4j.LoggerFactory; |
17 |
|
18 |
public interface Appender { |
19 |
|
20 |
public void begin() throws DataException; |
21 |
|
22 |
public void end() throws DataException; |
23 |
|
24 |
public void abort() throws DataException ; |
25 |
|
26 |
public void append(FeatureProvider feature) throws DataException ; |
27 |
} |