|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.geodatabase.IVersionProxy com.esri.arcgis.geodatabase.IVersion2Proxy
public class IVersion2Proxy
Provides access to members for managing a version.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IVersion2Proxy()
|
|
IVersion2Proxy(Object obj)
|
protected |
IVersion2Proxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
IVersion |
createChild(String name,
IVersion pInitialStateVersion)
Creates a new child version of this version whose initial state is the current state of pInitialStateVersion. |
IVersion |
getCommonAncestor(IVersion pVersion)
Finds common ancestor version. |
boolean |
isRedefined()
Determines whether the state of the version corresponding to this version object has been redefined in the database. |
void |
removeListener(String iidStr,
Object theListener)
|
Methods inherited from class com.esri.arcgis.geodatabase.IVersionProxy |
---|
createVersion, delete, getAccess, getDescription, getVersionInfo, getVersionLocks, getVersionName, hasParent, refreshVersion, setAccess, setDescription, setVersionName |
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 |
Methods inherited from interface com.esri.arcgis.geodatabase.IVersion |
---|
createVersion, delete, getAccess, getDescription, getVersionInfo, getVersionLocks, getVersionName, hasParent, refreshVersion, setAccess, setDescription, setVersionName |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IVersion2Proxy()
public IVersion2Proxy(Object obj) throws IOException
IOException
protected IVersion2Proxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class IVersionProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class IVersionProxy
IOException
public IVersion getCommonAncestor(IVersion pVersion) throws IOException, AutomationException
getCommonAncestor
in interface IVersion2
pVersion
- A reference to a com.esri.arcgis.geodatabase.IVersion (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IVersion createChild(String name, IVersion pInitialStateVersion) throws IOException, AutomationException
This method is intended for developers who require custom workflows such as creating a version with an initial state that references a version other than that of the parent version. To create a child version with the same initial state as the parent version, use the IVersion.CreateVersion method.
createChild
in interface IVersion2
name
- The name (in)pInitialStateVersion
- A reference to a com.esri.arcgis.geodatabase.IVersion (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRedefined() throws IOException, AutomationException
isRedefined
in interface IVersion2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |