com.esri.arcgis.geodatabase
Interface IAttachmentManager

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IAttachmentManager2
All Known Implementing Classes:
AttachmentManager, IAttachmentManager2Proxy, IAttachmentManagerProxy

public interface IAttachmentManager
extends java.io.Serializable

COM Interface 'IAttachmentManager'. Generated 3/19/2015 1:20:56 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID52067577_796d_421a_8502_8f10d4ebd1fe
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 int addAttachment(int parentObjectID, IAttachment attachment)
          Adds an attachment to the object identified by the oid.
 void deleteAttachment(int attachmentID)
          Deletes the attachment identified with attID.
 void deleteAttachmentsForParent(int parentObjectID)
          Deletes all attachments for the object with oid.
 IEnumAttachment getAttachmentsByAttachmentIDs(ILongArray attachmentIDs, boolean infosOnly)
          Returns the attachments for the attachments with the attachment ids specified in the attIDs argument.
 IEnumAttachment getAttachmentsByParentIDs(ILongArray oids, boolean infosOnly)
          Returns the attachments for the objects with the object ids specified in the oids argument.
 boolean isHasGlobalID()
          Indicates if the attachments have a global object identity field.
 void updateAttachment(IAttachment attachment)
          Updates the attachment.
 

Field Detail

IID52067577_796d_421a_8502_8f10d4ebd1fe

static final int IID52067577_796d_421a_8502_8f10d4ebd1fe
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

addAttachment

int addAttachment(int parentObjectID,
                  IAttachment attachment)
                  throws java.io.IOException,
                         AutomationException
Adds an attachment to the object identified by the oid.

Parameters:
parentObjectID - The parentObjectID (in)
attachment - A reference to a com.esri.arcgis.geodatabase.IAttachment (in)
Returns:
The attachmentID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttachmentsByParentIDs

IEnumAttachment getAttachmentsByParentIDs(ILongArray oids,
                                          boolean infosOnly)
                                          throws java.io.IOException,
                                                 AutomationException
Returns the attachments for the objects with the object ids specified in the oids argument.

Parameters:
oids - A reference to a com.esri.arcgis.system.ILongArray (in)
infosOnly - The infosOnly (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumAttachment
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttachmentsByAttachmentIDs

IEnumAttachment getAttachmentsByAttachmentIDs(ILongArray attachmentIDs,
                                              boolean infosOnly)
                                              throws java.io.IOException,
                                                     AutomationException
Returns the attachments for the attachments with the attachment ids specified in the attIDs argument.

Parameters:
attachmentIDs - A reference to a com.esri.arcgis.system.ILongArray (in)
infosOnly - The infosOnly (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumAttachment
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateAttachment

void updateAttachment(IAttachment attachment)
                      throws java.io.IOException,
                             AutomationException
Updates the attachment.

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

deleteAttachment

void deleteAttachment(int attachmentID)
                      throws java.io.IOException,
                             AutomationException
Deletes the attachment identified with attID.

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

deleteAttachmentsForParent

void deleteAttachmentsForParent(int parentObjectID)
                                throws java.io.IOException,
                                       AutomationException
Deletes all attachments for the object with oid.

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

isHasGlobalID

boolean isHasGlobalID()
                      throws java.io.IOException,
                             AutomationException
Indicates if the attachments have a global object identity field.

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