|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.adf.web.ags.tasks.EditingTaskUtil
EditBean
@Deprecated public class EditingTaskUtil
A help class for feature level operations.
| Field Summary | |
|---|---|
static java.lang.String |
NULL_STRING
Deprecated. |
| Method Summary | |
|---|---|
static int |
addFeature(com.esri.arcgis.carto.IFeatureLayer editLayer,
com.esri.arcgis.geometry.IGeometry geom)
Deprecated. Adds a geometry to a feature layer. |
static double |
convertPixelToleranceToDistance(int pixelTol,
WebMap map,
com.esri.arcgis.geometry.ISpatialReference refTo,
AGSLocalMapResource resource)
Deprecated. Converts tolerance setting to distance in map's unit. |
static void |
deleteFeature(com.esri.arcgis.geodatabase.ISelectionSet selSet)
Deprecated. Deletes a feature from a selection set. |
static java.util.LinkedHashMap<java.lang.Object,java.lang.String> |
domainToMap(com.esri.arcgis.geodatabase.ICodedValueDomain cd)
Deprecated. Converts a ICodedValueDomain object to a map. |
static java.lang.String |
getDbAndFCRegistrationKey(com.esri.arcgis.carto.IFeatureLayer layer)
Deprecated. Creates key that uniquely distinguishes workspace connection and feature-class registration. |
static com.esri.arcgis.geometry.ILine |
getLinefromWebLine(AGSLocalMapResource currentResource,
WebPolyline wline)
Deprecated. Converts a ILine from a web line. |
static com.esri.arcgis.geometry.ISpatialReference |
getSpatialReference(com.esri.arcgis.carto.IFeatureLayer flayer)
Deprecated. Gets spatial reference from a feature layer. |
static void |
getVersionID(java.util.HashSet<java.lang.String> versions,
com.esri.arcgis.carto.IMap map,
java.util.Set<java.lang.String> verList,
com.esri.arcgis.server.IServerContext ctx,
java.lang.String wsID)
Deprecated. Retrieves versions from a map service. |
static void |
mergeFeature(com.esri.arcgis.carto.IFeatureLayer editLayer)
Deprecated. Merges selected features. |
static com.esri.arcgis.geometry.ISpatialReference |
toISpatialReference(WebSpatialReference ref,
com.esri.arcgis.server.IServerContext ctx)
Deprecated. Converts WebSpatialReference to ISpatialReference. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String NULL_STRING
| Method Detail |
|---|
public static int addFeature(com.esri.arcgis.carto.IFeatureLayer editLayer,
com.esri.arcgis.geometry.IGeometry geom)
editLayer - a feature layergeom - geometry
public static void deleteFeature(com.esri.arcgis.geodatabase.ISelectionSet selSet)
throws com.esri.arcgis.interop.AutomationException,
java.io.IOException
selSet - the selection set.
com.esri.arcgis.interop.AutomationException
java.io.IOException
public static double convertPixelToleranceToDistance(int pixelTol,
WebMap map,
com.esri.arcgis.geometry.ISpatialReference refTo,
AGSLocalMapResource resource)
pixelTol - tolerance in pixels.map - current web map reference.
public static com.esri.arcgis.geometry.ISpatialReference getSpatialReference(com.esri.arcgis.carto.IFeatureLayer flayer)
throws java.io.IOException,
com.esri.arcgis.interop.AutomationException
flayer - the layer
java.io.IOException
com.esri.arcgis.interop.AutomationException
public static void mergeFeature(com.esri.arcgis.carto.IFeatureLayer editLayer)
throws com.esri.arcgis.interop.AutomationException,
java.io.IOException
editLayer - target feature layer.
com.esri.arcgis.interop.AutomationException
java.io.IOException
public static com.esri.arcgis.geometry.ILine getLinefromWebLine(AGSLocalMapResource currentResource,
WebPolyline wline)
throws com.esri.arcgis.interop.AutomationException,
java.io.IOException
currentResource - current resourcewline - source
com.esri.arcgis.interop.AutomationException
java.io.IOException
public static com.esri.arcgis.geometry.ISpatialReference toISpatialReference(WebSpatialReference ref,
com.esri.arcgis.server.IServerContext ctx)
ref - the WebSpatialReference to convertctx -
public static java.util.LinkedHashMap<java.lang.Object,java.lang.String> domainToMap(com.esri.arcgis.geodatabase.ICodedValueDomain cd)
throws java.io.IOException,
com.esri.arcgis.interop.AutomationException
cd - domain
java.io.IOException
com.esri.arcgis.interop.AutomationExceptionpublic static java.lang.String getDbAndFCRegistrationKey(com.esri.arcgis.carto.IFeatureLayer layer)
layer - target feature layer.
public static void getVersionID(java.util.HashSet<java.lang.String> versions,
com.esri.arcgis.carto.IMap map,
java.util.Set<java.lang.String> verList,
com.esri.arcgis.server.IServerContext ctx,
java.lang.String wsID)
throws java.io.IOException,
com.esri.arcgis.interop.AutomationException
versions - the map to hold version namesmap - map object from a map service.verList - editable version list from configurationctx - current server contextwsID - workspace ID from configuration.
java.io.IOException
com.esri.arcgis.interop.AutomationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||