com.esri.arcgis.geodatabase
Interface IAttachmentManager2

All Superinterfaces:
IAttachmentManager, java.io.Serializable
All Known Implementing Classes:
IAttachmentManager2Proxy

public interface IAttachmentManager2
extends IAttachmentManager, java.io.Serializable

COM Interface 'IAttachmentManager2'. 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_8f10d4ebd787
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.geodatabase.IAttachmentManager
IID52067577_796d_421a_8502_8f10d4ebd1fe
 
Method Summary
 int addAttachmentByGlobalID(java.lang.String parentGlobalID, IAttachment attachment)
          Adds an attachment to the object identified by the oid.
 void deleteAttachmentByGlobalID(java.lang.String globalID)
          Deletes the attachment identified with attID.
 void deleteAttachmentsForParentByGlobalID(java.lang.String parentGlobalID)
          Deletes all attachments for the object with oid.
 IEnumAttachment getAttachmentsByAttachmentGlobalIDs(IStringArray attachmentGlobalIDs, boolean infosOnly)
          Returns the attachments for the attachments with the attachment ids specified in the attIDs argument.
 IEnumAttachment getAttachmentsByParentGlobalIDs(IStringArray parentGlobalIDs, boolean infosOnly)
          Returns the attachments for the objects with the object ids specified in the oids argument.
 
Methods inherited from interface com.esri.arcgis.geodatabase.IAttachmentManager
addAttachment, deleteAttachment, deleteAttachmentsForParent, getAttachmentsByAttachmentIDs, getAttachmentsByParentIDs, isHasGlobalID, updateAttachment
 

Field Detail

IID52067577_796d_421a_8502_8f10d4ebd787

static final int IID52067577_796d_421a_8502_8f10d4ebd787
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

addAttachmentByGlobalID

int addAttachmentByGlobalID(java.lang.String parentGlobalID,
                            IAttachment attachment)
                            throws java.io.IOException,
                                   AutomationException
Adds an attachment to the object identified by the oid.

Parameters:
parentGlobalID - The parentGlobalID (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.

getAttachmentsByParentGlobalIDs

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

Parameters:
parentGlobalIDs - A reference to a com.esri.arcgis.system.IStringArray (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.

getAttachmentsByAttachmentGlobalIDs

IEnumAttachment getAttachmentsByAttachmentGlobalIDs(IStringArray attachmentGlobalIDs,
                                                    boolean infosOnly)
                                                    throws java.io.IOException,
                                                           AutomationException
Returns the attachments for the attachments with the attachment ids specified in the attIDs argument.

Parameters:
attachmentGlobalIDs - A reference to a com.esri.arcgis.system.IStringArray (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.

deleteAttachmentByGlobalID

void deleteAttachmentByGlobalID(java.lang.String globalID)
                                throws java.io.IOException,
                                       AutomationException
Deletes the attachment identified with attID.

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

deleteAttachmentsForParentByGlobalID

void deleteAttachmentsForParentByGlobalID(java.lang.String parentGlobalID)
                                          throws java.io.IOException,
                                                 AutomationException
Deletes all attachments for the object with oid.

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