com.esri.arcgis.geodatabase
Class IVersionEditProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IVersionEditProxy
All Implemented Interfaces:
IVersionEdit, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IVersionEdit2Proxy

public class IVersionEditProxy
extends com.esri.arcgis.interop.Dispatch
implements IVersionEdit, java.io.Serializable

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

Description: 'Provides access to members that return information about versions and posting of versions.' 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.IVersionEdit
IID, IID2393b65d_74d4_11d2_aad9_00c04fa37585
 
Constructor Summary
  IVersionEditProxy()
          For internal use only
  IVersionEditProxy(java.lang.Object obj)
           
protected IVersionEditProxy(java.lang.Object obj, java.lang.String iid)
           
  IVersionEditProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IVersionEditProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 boolean canPost()
          Returns a boolean if the version can be posted to the reconcile version.
 IVersion getCommonAncestorVersion()
          The common ancestor of this version and the reconcile version.
 IEnumConflictClass getConflictClasses()
          All objects which contain conflicts between the current and reconciled versions.
 IEnumBSTR getModifiedClasses()
          All objects modified by the current and reconciled versions.
 IVersion getPreReconcileVersion()
          The version prior to reconciliation.
 IVersion getReconcileVersion()
          The version that the current version is reconciling against.
 IVersion getStartEditingVersion()
          The version prior to any edits.
 void post(java.lang.String versionName)
          Posts the current version to the reconcilled version.
 boolean reconcile(java.lang.String versionName)
          Reconciles the current version with a target version.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 
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

IVersionEditProxy

public IVersionEditProxy(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

IVersionEditProxy

public IVersionEditProxy()
For internal use only


IVersionEditProxy

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

IVersionEditProxy

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

IVersionEditProxy

protected IVersionEditProxy(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

getModifiedClasses

public IEnumBSTR getModifiedClasses()
                             throws java.io.IOException,
                                    AutomationException
All objects modified by the current and reconciled versions.

Specified by:
getModifiedClasses in interface IVersionEdit
Returns:
A reference to a com.esri.arcgis.system.IEnumBSTR
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConflictClasses

public IEnumConflictClass getConflictClasses()
                                      throws java.io.IOException,
                                             AutomationException
All objects which contain conflicts between the current and reconciled versions.

Specified by:
getConflictClasses in interface IVersionEdit
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumConflictClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReconcileVersion

public IVersion getReconcileVersion()
                             throws java.io.IOException,
                                    AutomationException
The version that the current version is reconciling against.

Specified by:
getReconcileVersion in interface IVersionEdit
Returns:
A reference to a com.esri.arcgis.geodatabase.IVersion
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStartEditingVersion

public IVersion getStartEditingVersion()
                                throws java.io.IOException,
                                       AutomationException
The version prior to any edits.

Specified by:
getStartEditingVersion in interface IVersionEdit
Returns:
A reference to a com.esri.arcgis.geodatabase.IVersion
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPreReconcileVersion

public IVersion getPreReconcileVersion()
                                throws java.io.IOException,
                                       AutomationException
The version prior to reconciliation.

Specified by:
getPreReconcileVersion in interface IVersionEdit
Returns:
A reference to a com.esri.arcgis.geodatabase.IVersion
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCommonAncestorVersion

public IVersion getCommonAncestorVersion()
                                  throws java.io.IOException,
                                         AutomationException
The common ancestor of this version and the reconcile version.

Specified by:
getCommonAncestorVersion in interface IVersionEdit
Returns:
A reference to a com.esri.arcgis.geodatabase.IVersion
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reconcile

public boolean reconcile(java.lang.String versionName)
                  throws java.io.IOException,
                         AutomationException
Reconciles the current version with a target version.

Specified by:
reconcile in interface IVersionEdit
Parameters:
versionName - The versionName (in)
Returns:
The foundConflicts
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canPost

public boolean canPost()
                throws java.io.IOException,
                       AutomationException
Returns a boolean if the version can be posted to the reconcile version.

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

post

public void post(java.lang.String versionName)
          throws java.io.IOException,
                 AutomationException
Posts the current version to the reconcilled version.

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