com.esri.arcgis.geodatabase
Class IWorkspaceEditProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IWorkspaceEditProxy
All Implemented Interfaces:
IWorkspaceEdit, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IWorkspaceEdit2Proxy

public class IWorkspaceEditProxy
extends com.esri.arcgis.interop.Dispatch
implements IWorkspaceEdit, java.io.Serializable

Internal use class Proxy for COM Interface 'IWorkspaceEdit'. Generated 3/19/2015 1:20:56 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description: 'Provides access to members that control Workspace Editing.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceEdit
IID, IID995d5c92_15c6_11d2_89ed_006097aff44e
 
Constructor Summary
  IWorkspaceEditProxy()
          For internal use only
  IWorkspaceEditProxy(java.lang.Object obj)
           
protected IWorkspaceEditProxy(java.lang.Object obj, java.lang.String iid)
           
  IWorkspaceEditProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IWorkspaceEditProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void abortEditOperation()
          Aborts an edit operation.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 void disableUndoRedo()
          Disables Undo and Redo of edit operations.
 void enableUndoRedo()
          Enables Undo and Redo of edit operations.
 void hasEdits(boolean[] hasEdits)
          True if there are any completed edit operations that need to be saved .
 void hasRedos(boolean[] hasRedos)
          True if there are any completed undos that can be redone.
 void hasUndos(boolean[] hasUndos)
          True if there are any completed edit operations that can be undone.
 boolean isBeingEdited()
          True if the workspace is being edited.
 void redoEditOperation()
          Causes a Redo to be performed on the last undo.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void startEditing(boolean withUndoRedo)
          Starts editing the workspace.
 void startEditOperation()
          Begins an edit operation.
 void stopEditing(boolean saveEdits)
          Stops editing the workspace.
 void stopEditOperation()
          Ends an edit operation.
 void undoEditOperation()
          Causes an Undo to be performed on the last edit operation.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IWorkspaceEditProxy

public IWorkspaceEditProxy(java.lang.String CLSID,
                           java.lang.String host,
                           com.esri.arcgis.interop.AuthInfo authInfo)
                    throws java.net.UnknownHostException,
                           java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

IWorkspaceEditProxy

public IWorkspaceEditProxy()
For internal use only


IWorkspaceEditProxy

public IWorkspaceEditProxy(java.lang.Object obj)
                    throws java.io.IOException
Throws:
java.io.IOException

IWorkspaceEditProxy

protected IWorkspaceEditProxy(java.lang.Object obj,
                              java.lang.String iid)
                       throws java.io.IOException
Throws:
java.io.IOException

IWorkspaceEditProxy

protected IWorkspaceEditProxy(java.lang.String CLSID,
                              java.lang.String iid,
                              java.lang.String host,
                              com.esri.arcgis.interop.AuthInfo authInfo)
                       throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

startEditing

public void startEditing(boolean withUndoRedo)
                  throws java.io.IOException,
                         AutomationException
Starts editing the workspace.

Specified by:
startEditing in interface IWorkspaceEdit
Parameters:
withUndoRedo - The withUndoRedo (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stopEditing

public void stopEditing(boolean saveEdits)
                 throws java.io.IOException,
                        AutomationException
Stops editing the workspace.

Specified by:
stopEditing in interface IWorkspaceEdit
Parameters:
saveEdits - The saveEdits (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isBeingEdited

public boolean isBeingEdited()
                      throws java.io.IOException,
                             AutomationException
True if the workspace is being edited.

Specified by:
isBeingEdited in interface IWorkspaceEdit
Returns:
The isBeingEdited
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startEditOperation

public void startEditOperation()
                        throws java.io.IOException,
                               AutomationException
Begins an edit operation.

Specified by:
startEditOperation in interface IWorkspaceEdit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stopEditOperation

public void stopEditOperation()
                       throws java.io.IOException,
                              AutomationException
Ends an edit operation.

Specified by:
stopEditOperation in interface IWorkspaceEdit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

abortEditOperation

public void abortEditOperation()
                        throws java.io.IOException,
                               AutomationException
Aborts an edit operation.

Specified by:
abortEditOperation in interface IWorkspaceEdit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hasUndos

public void hasUndos(boolean[] hasUndos)
              throws java.io.IOException,
                     AutomationException
True if there are any completed edit operations that can be undone.

Specified by:
hasUndos in interface IWorkspaceEdit
Parameters:
hasUndos - The hasUndos (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

undoEditOperation

public void undoEditOperation()
                       throws java.io.IOException,
                              AutomationException
Causes an Undo to be performed on the last edit operation.

Specified by:
undoEditOperation in interface IWorkspaceEdit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hasRedos

public void hasRedos(boolean[] hasRedos)
              throws java.io.IOException,
                     AutomationException
True if there are any completed undos that can be redone.

Specified by:
hasRedos in interface IWorkspaceEdit
Parameters:
hasRedos - The hasRedos (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

redoEditOperation

public void redoEditOperation()
                       throws java.io.IOException,
                              AutomationException
Causes a Redo to be performed on the last undo.

Specified by:
redoEditOperation in interface IWorkspaceEdit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

enableUndoRedo

public void enableUndoRedo()
                    throws java.io.IOException,
                           AutomationException
Enables Undo and Redo of edit operations.

Specified by:
enableUndoRedo in interface IWorkspaceEdit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

disableUndoRedo

public void disableUndoRedo()
                     throws java.io.IOException,
                            AutomationException
Disables Undo and Redo of edit operations.

Specified by:
disableUndoRedo in interface IWorkspaceEdit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hasEdits

public void hasEdits(boolean[] hasEdits)
              throws java.io.IOException,
                     AutomationException
True if there are any completed edit operations that need to be saved .

Specified by:
hasEdits in interface IWorkspaceEdit
Parameters:
hasEdits - The hasEdits (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.