com.esri.adf.web.ags.tasks
Class EditingWorkspace

java.lang.Object
  extended by com.esri.adf.web.ags.tasks.EditingWorkspace
All Implemented Interfaces:
java.io.Serializable

Deprecated. This class is deprecated as of ArcGIS Java Server 9.3.1, use the editing funtionality from EditBean

@Deprecated
public class EditingWorkspace
extends java.lang.Object
implements java.io.Serializable

EditingWorkspace is a wrapper of IWorkspace. It can handle both versioned and none-versioned workspace.

See Also:
Serialized Form

Constructor Summary
EditingWorkspace(EditingResource currentResource, int layerIndex, java.lang.String wsID, java.lang.Boolean childWin, java.lang.Boolean columnLevel)
          Deprecated. Instantiates a object of EditingWorkspace.
 
Method Summary
 void discard()
          Deprecated. Discards all changes.
 boolean equals(java.lang.Object obj)
          Deprecated. Returns true if two workspaces are refer to same server workspace object.
 int getLayerID()
          Deprecated. Gets current layerID
 boolean hasEdits()
          Deprecated. Returns true if there are edits.
 boolean hasRedo()
          Deprecated. Returns true if edits can be redo.
 boolean hasUndo()
          Deprecated. Returns true if edits can be undo.
 boolean isValid()
          Deprecated. Returns true if the workspace is valid.
 void redo()
          Deprecated. Redo previous edit.
 void save()
          Deprecated. Saves changes.
 void startEditOperation()
          Deprecated. Starts editing.
 void stopEditOperation()
          Deprecated. Stops editing.
 void undo()
          Deprecated. Undo previous edit.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditingWorkspace

public EditingWorkspace(EditingResource currentResource,
                        int layerIndex,
                        java.lang.String wsID,
                        java.lang.Boolean childWin,
                        java.lang.Boolean columnLevel)
                 throws com.esri.arcgis.interop.AutomationException,
                        java.io.IOException
Deprecated. 
Instantiates a object of EditingWorkspace.

Parameters:
currentResource - current EditingResource reference.
layerIndex - layer ID
wsID - workspace ID in the configuration.
childWin - reconcile rule
columnLevel - reconcile rule
Throws:
com.esri.arcgis.interop.AutomationException
java.io.IOException
Method Detail

hasRedo

public boolean hasRedo()
Deprecated. 
Returns true if edits can be redo.

Returns:
Returns true if edits can be redo.

hasEdits

public boolean hasEdits()
Deprecated. 
Returns true if there are edits.

Returns:
Returns true if there are edits.

hasUndo

public boolean hasUndo()
Deprecated. 
Returns true if edits can be undo.

Returns:
Returns true if edits can be undo.

save

public void save()
          throws com.esri.arcgis.interop.AutomationException,
                 java.io.IOException
Deprecated. 
Saves changes.

Throws:
com.esri.arcgis.interop.AutomationException
java.io.IOException

discard

public void discard()
             throws java.lang.Throwable
Deprecated. 
Discards all changes.

Throws:
java.lang.Throwable

undo

public void undo()
          throws com.esri.arcgis.interop.AutomationException,
                 java.io.IOException
Deprecated. 
Undo previous edit.

Throws:
com.esri.arcgis.interop.AutomationException
java.io.IOException

redo

public void redo()
          throws com.esri.arcgis.interop.AutomationException,
                 java.io.IOException
Deprecated. 
Redo previous edit.

Throws:
com.esri.arcgis.interop.AutomationException
java.io.IOException

startEditOperation

public void startEditOperation()
Deprecated. 
Starts editing.


stopEditOperation

public void stopEditOperation()
                       throws java.lang.IllegalAccessException
Deprecated. 
Stops editing.

Throws:
java.lang.IllegalAccessException - when unable to delete the vertex. The number of points will be less than required for the feature.

getLayerID

public int getLayerID()
Deprecated. 
Gets current layerID


equals

public boolean equals(java.lang.Object obj)
Deprecated. 
Returns true if two workspaces are refer to same server workspace object.

Overrides:
equals in class java.lang.Object

isValid

public boolean isValid()
Deprecated. 
Returns true if the workspace is valid.