|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.io.sdeapi.Transaction
the class offers access to the transactional behavior of the a connection to ArcSDE
Field Summary | |
private java.util.HashMap |
colDefs
|
private java.util.ArrayList |
colDefsList
|
private SeConnection |
conn
|
private SeLayer |
layer
|
private SeShape |
spatialFilter
|
Constructor Summary | |
Transaction(java.lang.String server,
int port,
java.lang.String database,
java.lang.String user,
java.lang.String password)
Creates a new SpatialQuery object. |
Method Summary | |
void |
closeConnection()
Close the current connection to the ArcSDE server throws SeException |
void |
deleteFeature(java.lang.String where,
GM_Object extent)
deletes a feature from the ArcSDE |
void |
insertFeature(java.util.HashMap inRow)
inserts a feature into the ArcSDE |
void |
openConnection(java.lang.String server,
int port,
java.lang.String database,
java.lang.String user,
java.lang.String password)
Connect to the ArcSDE server throws SeException |
void |
setLayer(java.lang.String layername)
Set a SDE layer to work on and appropriate table throws SeException |
void |
setSpatialFilter(double minx,
double miny,
double maxx,
double maxy)
Set a SpatialFilter to Query (BoundingBox) throws SeException |
private SeRow |
setValue(SeRow row,
int pos,
int type,
java.lang.Object value,
SeCoordinateReference crs)
fills the passed row with the also passed value considering its type |
void |
updateFeature(java.util.HashMap inRow,
java.lang.String where,
GM_Object extent)
updates a feature of the ArcSDE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private SeConnection conn
private SeLayer layer
private java.util.HashMap colDefs
private java.util.ArrayList colDefsList
private SeShape spatialFilter
Constructor Detail |
public Transaction(java.lang.String server, int port, java.lang.String database, java.lang.String user, java.lang.String password) throws SeException
server
- port
- database
- user
- password
-
SeException
Method Detail |
public void openConnection(java.lang.String server, int port, java.lang.String database, java.lang.String user, java.lang.String password) throws SeException
SeException
public void closeConnection() throws SeException
SeException
public void setLayer(java.lang.String layername) throws SeException
SeException
public void setSpatialFilter(double minx, double miny, double maxx, double maxy) throws SeException
SeException
public void insertFeature(java.util.HashMap inRow) throws SeException
inRow
- feature/row to be inserted
SeException
private SeRow setValue(SeRow row, int pos, int type, java.lang.Object value, SeCoordinateReference crs) throws SeException
row
- SDE row to insertpos
- position where to set the value in the rowtype
- value typevalue
- value to insert
SeException
public void updateFeature(java.util.HashMap inRow, java.lang.String where, GM_Object extent) throws SeException
inRow
- update datawhere
- none spatial condtions to limit the targeted rowsextent
- spatial condtion to limit the targeted rows (not considered yet)
SeException
public void deleteFeature(java.lang.String where, GM_Object extent) throws SeException
where
- none spatial condtions to limit the targeted rowsextent
- spatial condtion to limit the targeted rows (not considered yet)
SeException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |