com.esri.arcgis.geodatabase
Class IRowChangesProxy
java.lang.Object
com.esri.arcgis.interop.Dispatch
com.esri.arcgis.geodatabase.IRowChangesProxy
- All Implemented Interfaces:
- IRowChanges, Externalizable, Serializable
public class IRowChangesProxy
- extends com.esri.arcgis.interop.Dispatch
- implements IRowChanges, Serializable
Provides access to members that return information about changed values and the original value in a row.
Remarks
The IRowChanges interface allows clients of a row object to determine the values that were changed for the row object within a Store cycle. Once the Store method call returns to the calling application program, the information regarding the values that were changed is cleared and is no longer available. This information may be made use of by a custom object in its OnChanged or OnNew implementation and also by a related object in its implementation of the RelatedObjectChanged method.
The ValueChanged method returns true if the value for the specified field was changed since the last call to Store on the row object.
The OriginalValue method returns the value for the specified field as it existed prior to the first update made to the row object since the last call to Store on the row object.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Supported Platforms
Windows, Solaris, Linux
- See Also:
- Serialized Form
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E |
| 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, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke |
IRowChangesProxy
public IRowChangesProxy()
IRowChangesProxy
public IRowChangesProxy(Object obj)
throws IOException
- Throws:
IOException
IRowChangesProxy
protected IRowChangesProxy(Object obj,
String iid)
throws IOException
- Throws:
IOException
addListener
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
- Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
- Throws:
IOException
removeListener
public void removeListener(String iidStr,
Object theListener)
throws IOException
- Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
- Throws:
IOException
isValueChanged
public boolean isValueChanged(int index)
throws IOException,
AutomationException
- Indicates whether the value of the field at the specified index has changed since the last call to Store on the Row object.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
- Specified by:
isValueChanged in interface IRowChanges
- Parameters:
index - The index (in)
- Returns:
- The changed
- Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
getOriginalValue
public Object getOriginalValue(int index)
throws IOException,
AutomationException
- The value of the field at the specified index immediately after the last call to Store on the Row object.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
- Specified by:
getOriginalValue in interface IRowChanges
- Parameters:
index - The index (in)
- Returns:
- A Variant
- Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable- Overrides:
writeExternal in class com.esri.arcgis.interop.Dispatch
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable- Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
- Throws:
IOException
ClassNotFoundException