|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.adf.web.ags.tasks.EditingConfig
EditBean
@Deprecated public class EditingConfig
EditingConfig is a MBean, which contains some predefined properties of a Editing Task. It can be instantiated from a face-config.xml.
<managed-bean>
<managed-bean-name>edit1</managed-bean-name>
<managed-bean-class>com.esri.adf.web.ags.tasks.EditingTask</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>webContext</property-name>
<value>#{mapContext}</value>
</managed-property>
<managed-property>
<property-name>taskConfig</property-name>
<value>#{taskConfig1}</value>
</managed-property>
</managed-bean>
<managed-bean>
<managed-bean-name>taskConfig1</managed-bean-name>
<managed-bean-class>com.esri.adf.web.ags.tasks.EditingConfig</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
...
The configuration of a Editing task can be done through Task Manager. The manager will generate the face-config.xml
when creating a web application. You can change the face-config.xml to override those settings in the runtime.
| Constructor Summary | |
|---|---|
EditingConfig()
Deprecated. |
|
| Method Summary | |
|---|---|
java.lang.String |
getConflictMode()
Deprecated. Gets reconcile rules. |
java.lang.String |
getConflictWin()
Deprecated. Gets reconcile rules. |
java.lang.String |
getHlColor()
Deprecated. Gets the highlight color. |
java.lang.String |
getLayers()
Deprecated. Gets the editable layers. |
GISResource |
getResource()
Deprecated. Gets the Map Service for the editing task. |
java.lang.String |
getResourceId()
Deprecated. Gets the ID of the Map Resource. |
java.lang.String |
getSdLayers()
Deprecated. Gets snapping layers. |
java.lang.String |
getSeLayers()
Deprecated. Gets snapping layers. |
int |
getSnapTolerance()
Deprecated. Gets the snapping tolerance in pixels. |
java.lang.String |
getSvLayers()
Deprecated. Gets snapping layers. |
java.lang.String |
getTaskName()
Deprecated. Gets the name of the task. |
int |
getTolerance()
Deprecated. Gets the search tolerance in pixels. |
java.lang.String |
getVersions()
Deprecated. Gets the editable versions. |
java.lang.String |
getVerticesColor()
Deprecated. Gets the color of vertices. |
java.lang.String |
getWorkspaceID()
Deprecated. A workspace ID is a unique ID of workspace. |
boolean |
isAddFeatures()
Deprecated. Returns true if Add Features function is enabled. |
boolean |
isEditAttributes()
Deprecated. Returns true when Edit Feature Attributes function is enable. |
boolean |
isEditFeatures()
Deprecated. Returns true when Features Editing functions are enabled. |
void |
setAddFeatures(boolean addFeatures)
Deprecated. Sets to true to enable Add Features function. |
void |
setConflictMode(java.lang.String conflictMode)
Deprecated. Sets reconcile rules. |
void |
setConflictWin(java.lang.String conflictWin)
Deprecated. Sets reconcile rules. |
void |
setEditAttributes(boolean editAttributes)
Deprecated. Sets to true to enable Edit Feature Attributes function. |
void |
setEditFeatures(boolean editFeatures)
Deprecated. Sets to true to enable Features Editing Functions, which include move, delete, copy, and modify features. |
void |
setHlColor(java.lang.String hlColor)
Deprecated. Sets the highlight color. |
void |
setLayers(java.lang.String layers)
Deprecated. Sets the editable layers. |
void |
setResource(GISResource resource)
Deprecated. Sets a Map Service for the editing task. |
void |
setResourceId(java.lang.String resourceId)
Deprecated. Sets the ID of the Map Resource. |
void |
setSdLayers(java.lang.String sdLayers)
Deprecated. Sets snapping layers. |
void |
setSeLayers(java.lang.String seLayers)
Deprecated. Sets snapping layers. |
void |
setSnapTolerance(int snapTolerance)
Deprecated. Sets the snapping tolerance in pixels. |
void |
setSvLayers(java.lang.String svLayers)
Deprecated. Sets snapping layers. |
void |
setTaskName(java.lang.String taskName)
Deprecated. Sets the name of the task. |
void |
setTolerance(int tolerance)
Deprecated. Sets the search tolerance in pixels. |
void |
setVersions(java.lang.String versions)
Deprecated. Sets the editable versions. |
void |
setVerticesColor(java.lang.String color)
Deprecated. Sets the color of vertices. |
void |
setWorkspaceID(java.lang.String workspaceID)
Deprecated. A workspace ID is a unique ID of workspace. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EditingConfig()
| Method Detail |
|---|
public void setResource(GISResource resource)
resource - a map service instance.public GISResource getResource()
public java.lang.String getLayers()
public void setLayers(java.lang.String layers)
layers - a set of layer ID delimited by semicolumn, e.g. 2;5;public java.lang.String getResourceId()
public void setResourceId(java.lang.String resourceId)
resourceId - a map service id, e.g. arcgis_local=ss::map=july-g-editpublic java.lang.String getTaskName()
public void setTaskName(java.lang.String taskName)
taskName - the task name.public java.lang.String getVersions()
public void setVersions(java.lang.String versions)
versions - a set of version names delimited by semicolumn.public java.lang.String getWorkspaceID()
public void setWorkspaceID(java.lang.String workspaceID)
workspaceID - a ID, e.g. SDE.DEFAULT (derekw@july:5151)public boolean isAddFeatures()
public void setAddFeatures(boolean addFeatures)
addFeatures - Sets to true to enable Add Features function.public boolean isEditAttributes()
public void setEditAttributes(boolean editAttributes)
editAttributes - public boolean isEditFeatures()
public void setEditFeatures(boolean editFeatures)
editFeatures - sets to true to enable Features Editing Functions.public java.lang.String getHlColor()
public void setHlColor(java.lang.String hlColor)
hlColor - the highlight color, e.g. "255,0,0"public int getSnapTolerance()
public void setSnapTolerance(int snapTolerance)
snapTolerance - the snapping tolerance in pixels.public int getTolerance()
public void setTolerance(int tolerance)
tolerance - the search tolerance in pixels.public java.lang.String getVerticesColor()
public void setVerticesColor(java.lang.String color)
color - the color of vertices, e.g. "255,0,0"public java.lang.String getSdLayers()
public void setSdLayers(java.lang.String sdLayers)
sdLayers - a set of layers ID delimited by semicolumn, e.g. 2;3;public java.lang.String getSeLayers()
public void setSeLayers(java.lang.String seLayers)
seLayers - a set of layers ID delimited by semicolumn, e.g. 2;3;public java.lang.String getSvLayers()
public void setSvLayers(java.lang.String svLayers)
svLayers - a set of layers ID delimited by semicolumn, e.g. 2;3;public java.lang.String getConflictMode()
public void setConflictMode(java.lang.String conflictMode)
conflictMode - "0" or "1".public java.lang.String getConflictWin()
public void setConflictWin(java.lang.String conflictWin)
conflictWin - "0" or "1"
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||