|
deegree 2.4 (2010/11/11 10:47 build-27-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.io.sdeapi.Transaction
public class Transaction
the class offers access to the transactional behavior of the a connection to ArcSDE
Constructor Summary | |
---|---|
Transaction(String server,
int port,
String database,
String user,
String password)
Creates a new SpatialQuery object. |
Method Summary | |
---|---|
void |
closeConnection()
Close the current connection to the ArcSDE server throws SeException |
void |
deleteFeature(String where,
Geometry extent)
deletes a feature from the ArcSDE |
void |
insertFeature(HashMap<?,?> inRow)
inserts a feature into the ArcSDE |
void |
openConnection(String server,
int port,
String database,
String user,
String password)
Connect to the ArcSDE server throws SeException |
void |
setLayer(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 |
void |
updateFeature(HashMap<?,?> inRow,
String where,
Geometry 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 |
Constructor Detail |
---|
public Transaction(String server, int port, String database, String user, String password) throws com.esri.sde.sdk.client.SeException
server
- port
- database
- user
- password
-
com.esri.sde.sdk.client.SeException
Method Detail |
---|
public void openConnection(String server, int port, String database, String user, String password) throws com.esri.sde.sdk.client.SeException
server
- port
- database
- user
- password
-
com.esri.sde.sdk.client.SeException
public void closeConnection() throws com.esri.sde.sdk.client.SeException
com.esri.sde.sdk.client.SeException
public void setLayer(String layername) throws com.esri.sde.sdk.client.SeException
layername
-
com.esri.sde.sdk.client.SeException
public void setSpatialFilter(double minx, double miny, double maxx, double maxy) throws com.esri.sde.sdk.client.SeException
minx
- miny
- maxx
- maxy
-
com.esri.sde.sdk.client.SeException
public void insertFeature(HashMap<?,?> inRow) throws com.esri.sde.sdk.client.SeException, DeegreeSeException
inRow
- feature/row to be inserted
com.esri.sde.sdk.client.SeException
DeegreeSeException
public void updateFeature(HashMap<?,?> inRow, String where, Geometry extent) throws com.esri.sde.sdk.client.SeException, DeegreeSeException
inRow
- update datawhere
- none spatial condtions to limit the targeted rowsextent
- spatial condtion to limit the targeted rows (not considered yet)
com.esri.sde.sdk.client.SeException
DeegreeSeException
public void deleteFeature(String where, Geometry extent) throws com.esri.sde.sdk.client.SeException
where
- none spatial condtions to limit the targeted rowsextent
- spatial condtion to limit the targeted rows (not considered yet)
com.esri.sde.sdk.client.SeException
|
deegree 2.4 (2010/11/11 10:47 build-27-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org