public class IVersionProxy extends com.esri.arcgis.interop.Dispatch implements IVersion, java.io.Serializable
Description: 'Provides access to members for managing a version.' 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 =
Modifier and Type | Field and Description |
---|---|
boolean |
noncastable |
static java.lang.Class |
targetClass |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
IID, IID1a945841_b381_11d1_9ce6_0000f8780619
Modifier | Constructor and Description |
---|---|
|
IVersionProxy()
For internal use only
|
|
IVersionProxy(java.lang.Object obj) |
protected |
IVersionProxy(java.lang.Object obj,
java.lang.String iid) |
|
IVersionProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo) |
protected |
IVersionProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Adds a Java object to be a listener for a specific kind of event generated by the COM object.
|
void |
alterVersion(java.lang.String versionName,
java.lang.String description,
int access)
alterVersion
|
IVersion |
createChild(java.lang.String name,
IVersion initialStateVersion)
Creates a new child version of this version whose initial state is the current state of pInitialStateVersion.
|
IVersion |
createVersion(java.lang.String newName)
Creates a new version equivalent to this version.
|
IVersion |
createVersionEx(java.lang.String versionName,
java.lang.String description,
int access)
createVersionEx
|
void |
delete()
Permanently deletes the version from the database.
|
void |
deleteWithChildren()
Permanently deletes the version and all it's children from the database.
|
int |
getAccess()
The version's access permission.
|
IVersion |
getCommonAncestor(IVersion otherVersion)
Finds common ancestor version.
|
java.lang.String |
getDescription()
The version's description.
|
java.lang.String |
getOwner()
getOwner
|
IVersionInfo |
getVersionInfo()
This version's information.
|
IEnumLockInfo |
getVersionLocks()
This version's locks.
|
java.lang.String |
getVersionName()
The name of the version.
|
boolean |
hasParent()
True if this version have a parent version.
|
boolean |
isRedefined()
Determines whether the state of the version corresponding to this version object has been redefined in the database.
|
void |
refreshVersion()
Refreshes the version with the corresponding database state.
|
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Removes a Java object as a listener to events generated by a COM object.
|
void |
setAccess(int access)
The version's access permission.
|
void |
setDescription(java.lang.String description)
The version's description.
|
void |
setOwner(java.lang.String owner)
setOwner
|
void |
setVersionName(java.lang.String name)
The name of the version.
|
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
public static final java.lang.Class targetClass
public boolean noncastable
public IVersionProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
public IVersionProxy()
public IVersionProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected IVersionProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected IVersionProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.io.IOException
java.io.IOException
public void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource) throws java.io.IOException
com.esri.arcgis.interop.Dispatch
addListener
in class com.esri.arcgis.interop.Dispatch
iidStr
- the ID of the outgoing interface, implemented by the listenertheListener
- the object to be informed of the eventstheSource
- the proxy class that represents the COM class that is the source of the eventsjava.io.IOException
public void removeListener(java.lang.String iidStr, java.lang.Object theListener) throws java.io.IOException
com.esri.arcgis.interop.Dispatch
removeListener
in class com.esri.arcgis.interop.Dispatch
iidStr
- the ID of the outgoing interface, implemented by the listenertheListener
- the object that no longer wishes to be informed of the eventsjava.io.IOException
public IEnumLockInfo getVersionLocks() throws java.io.IOException, AutomationException
getVersionLocks
in interface IVersion
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IVersionInfo getVersionInfo() throws java.io.IOException, AutomationException
getVersionInfo
in interface IVersion
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getVersionName() throws java.io.IOException, AutomationException
getVersionName
in interface IVersion
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setVersionName(java.lang.String name) throws java.io.IOException, AutomationException
setVersionName
in interface IVersion
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDescription() throws java.io.IOException, AutomationException
getDescription
in interface IVersion
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDescription(java.lang.String description) throws java.io.IOException, AutomationException
setDescription
in interface IVersion
description
- The description (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getAccess() throws java.io.IOException, AutomationException
getAccess
in interface IVersion
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setAccess(int access) throws java.io.IOException, AutomationException
setAccess
in interface IVersion
access
- A com.esri.arcgis.geodatabase.esriVersionAccess constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean hasParent() throws java.io.IOException, AutomationException
hasParent
in interface IVersion
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void delete() throws java.io.IOException, AutomationException
delete
in interface IVersion
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void refreshVersion() throws java.io.IOException, AutomationException
refreshVersion
in interface IVersion
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IVersion createVersion(java.lang.String newName) throws java.io.IOException, AutomationException
createVersion
in interface IVersion
newName
- The newName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IVersion getCommonAncestor(IVersion otherVersion) throws java.io.IOException, AutomationException
getCommonAncestor
in interface IVersion
otherVersion
- A reference to a com.esri.arcgis.geodatabase.IVersion (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IVersion createChild(java.lang.String name, IVersion initialStateVersion) throws java.io.IOException, AutomationException
createChild
in interface IVersion
name
- The name (in)initialStateVersion
- A reference to a com.esri.arcgis.geodatabase.IVersion (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isRedefined() throws java.io.IOException, AutomationException
isRedefined
in interface IVersion
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deleteWithChildren() throws java.io.IOException, AutomationException
deleteWithChildren
in interface IVersion
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IVersion createVersionEx(java.lang.String versionName, java.lang.String description, int access) throws java.io.IOException, AutomationException
createVersionEx
in interface IVersion
versionName
- The versionName (in)description
- The description (in)access
- A com.esri.arcgis.geodatabase.esriVersionAccess constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void alterVersion(java.lang.String versionName, java.lang.String description, int access) throws java.io.IOException, AutomationException
alterVersion
in interface IVersion
versionName
- The versionName (in)description
- The description (in)access
- A com.esri.arcgis.geodatabase.esriVersionAccess constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getOwner() throws java.io.IOException, AutomationException
getOwner
in interface IVersion
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setOwner(java.lang.String owner) throws java.io.IOException, AutomationException
setOwner
in interface IVersion
owner
- The owner (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.