com.esri.arcgis.geodatabase
Class IAttachmentDataArrayProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IAttachmentDataArrayProxy
All Implemented Interfaces:
IAttachmentDataArray, Externalizable, Serializable

public class IAttachmentDataArrayProxy
extends com.esri.arcgis.interop.Dispatch
implements IAttachmentDataArray, Serializable

Array of AttachmentData objects.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IAttachmentDataArrayProxy()
           
  IAttachmentDataArrayProxy(Object obj)
           
protected IAttachmentDataArrayProxy(Object obj, String iid)
           
 
Method Summary
 void add(IAttachmentData attachment)
          Adds a attachment data.
 void addListener(String iidStr, Object theListener, Object theSource)
           
 int getCount()
          The attachment data count.
 IAttachmentData getElement(int index)
          Returns the attachment data at the specified position.
 void insert(int index, IAttachmentData attachment)
          Adds a attachment data at the specified position.
 void remove(int index)
          Removes the attachment data at the specified position.
 void removeAll()
          Removes all attachment data.
 void removeListener(String iidStr, 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

noncastable

public boolean noncastable
Constructor Detail

IAttachmentDataArrayProxy

public IAttachmentDataArrayProxy()

IAttachmentDataArrayProxy

public IAttachmentDataArrayProxy(Object obj)
                          throws IOException
Throws:
IOException

IAttachmentDataArrayProxy

protected IAttachmentDataArrayProxy(Object obj,
                                    String iid)
                             throws IOException
Throws:
IOException
Method Detail

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

getCount

public int getCount()
             throws IOException,
                    AutomationException
The attachment data count.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getCount in interface IAttachmentDataArray
Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElement

public IAttachmentData getElement(int index)
                           throws IOException,
                                  AutomationException
Returns the attachment data at the specified position.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getElement in interface IAttachmentDataArray
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IAttachmentData
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(int index)
            throws IOException,
                   AutomationException
Removes the attachment data at the specified position.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
remove in interface IAttachmentDataArray
Parameters:
index - The index (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAll

public void removeAll()
               throws IOException,
                      AutomationException
Removes all attachment data.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
removeAll in interface IAttachmentDataArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

public void add(IAttachmentData attachment)
         throws IOException,
                AutomationException
Adds a attachment data.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
add in interface IAttachmentDataArray
Parameters:
attachment - A reference to a com.esri.arcgis.geodatabase.IAttachmentData (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insert

public void insert(int index,
                   IAttachmentData attachment)
            throws IOException,
                   AutomationException
Adds a attachment data at the specified position.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
insert in interface IAttachmentDataArray
Parameters:
index - The index (in)
attachment - A reference to a com.esri.arcgis.geodatabase.IAttachmentData (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.