com.esri.arcgis.geodatabase
Interface IAttachmentData

All Superinterfaces:
Serializable
All Known Implementing Classes:
AttachmentData

public interface IAttachmentData
extends Serializable

Provides access to members that describe an attachment.

Product Availability

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


Method Summary
 IAttachmentInfo getAttachmentInfo()
          Content type that indicates the type of the mime content.
 byte[] getData()
          Attachment as bytes.
 int getTransportType()
          Transport Type.
 String getURL()
          URL.
 void setAttachmentInfoByRef(IAttachmentInfo attachmentInfo)
          Content type that indicates the type of the mime content.
 void setData(byte[] data)
          Attachment as bytes.
 void setTransportType(int pTransportType)
          Transport Type.
 void setURL(String uRL)
          URL.
 

Method Detail

getData

byte[] getData()
               throws IOException,
                      AutomationException
Attachment as bytes.

Product Availability

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

Returns:
An unsigned byte
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setData

void setData(byte[] data)
             throws IOException,
                    AutomationException
Attachment as bytes.

Product Availability

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

Parameters:
data - An unsigned byte (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttachmentInfo

IAttachmentInfo getAttachmentInfo()
                                  throws IOException,
                                         AutomationException
Content type that indicates the type of the mime content.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.geodatabase.IAttachmentInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAttachmentInfoByRef

void setAttachmentInfoByRef(IAttachmentInfo attachmentInfo)
                            throws IOException,
                                   AutomationException
Content type that indicates the type of the mime content.

Product Availability

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

Parameters:
attachmentInfo - A reference to a com.esri.arcgis.geodatabase.IAttachmentInfo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getURL

String getURL()
              throws IOException,
                     AutomationException
URL.

Product Availability

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

Returns:
The uRL
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setURL

void setURL(String uRL)
            throws IOException,
                   AutomationException
URL.

Product Availability

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

Parameters:
uRL - The uRL (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTransportType

int getTransportType()
                     throws IOException,
                            AutomationException
Transport Type.

Product Availability

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

Returns:
A com.esri.arcgis.system.esriTransportType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTransportType

void setTransportType(int pTransportType)
                      throws IOException,
                             AutomationException
Transport Type.

Product Availability

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

Parameters:
pTransportType - A com.esri.arcgis.system.esriTransportType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.