com.esri.arcgis.geodatabase
Class IAttachmentManagerProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IAttachmentManagerProxy
All Implemented Interfaces:
IAttachmentManager, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IAttachmentManager2Proxy

public class IAttachmentManagerProxy
extends com.esri.arcgis.interop.Dispatch
implements IAttachmentManager, java.io.Serializable

Internal use class Proxy for 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 =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.geodatabase.IAttachmentManager
IID, IID52067577_796d_421a_8502_8f10d4ebd1fe
 
Constructor Summary
  IAttachmentManagerProxy()
          For internal use only
  IAttachmentManagerProxy(java.lang.Object obj)
           
protected IAttachmentManagerProxy(java.lang.Object obj, java.lang.String iid)
           
  IAttachmentManagerProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IAttachmentManagerProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 int addAttachment(int parentObjectID, IAttachment attachment)
          Adds an attachment to the object identified by the oid.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 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 removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void updateAttachment(IAttachment attachment)
          Updates the attachment.
 
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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IAttachmentManagerProxy

public IAttachmentManagerProxy(java.lang.String CLSID,
                               java.lang.String host,
                               com.esri.arcgis.interop.AuthInfo authInfo)
                        throws java.net.UnknownHostException,
                               java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

IAttachmentManagerProxy

public IAttachmentManagerProxy()
For internal use only


IAttachmentManagerProxy

public IAttachmentManagerProxy(java.lang.Object obj)
                        throws java.io.IOException
Throws:
java.io.IOException

IAttachmentManagerProxy

protected IAttachmentManagerProxy(java.lang.Object obj,
                                  java.lang.String iid)
                           throws java.io.IOException
Throws:
java.io.IOException

IAttachmentManagerProxy

protected IAttachmentManagerProxy(java.lang.String CLSID,
                                  java.lang.String iid,
                                  java.lang.String host,
                                  com.esri.arcgis.interop.AuthInfo authInfo)
                           throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

addAttachment

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

Specified by:
addAttachment in interface IAttachmentManager
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

public 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.

Specified by:
getAttachmentsByParentIDs in interface IAttachmentManager
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

public 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.

Specified by:
getAttachmentsByAttachmentIDs in interface IAttachmentManager
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

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

Specified by:
updateAttachment in interface IAttachmentManager
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

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

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

deleteAttachmentsForParent

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

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

isHasGlobalID

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

Specified by:
isHasGlobalID in interface IAttachmentManager
Returns:
The hasGlobalID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.