|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.AttachmentManager
public class AttachmentManager
COM Class 'AttachmentManager'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'
Description '.' 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 |
---|
Fields inherited from interface com.esri.arcgis.geodatabase.IAttachmentManager |
---|
IID, IID52067577_796d_421a_8502_8f10d4ebd1fe, xxDummy |
Constructor Summary | |
---|---|
AttachmentManager(java.lang.Object obj)
Construct a AttachmentManager using a reference to such an object returned from ArcGIS Engine or Server. |
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. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
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. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
hashCode()
the hashcode for this object |
boolean |
isHasGlobalID()
Indicates if the attachments have a global object identity field. |
void |
release()
Release a AttachmentManager. |
void |
updateAttachment(IAttachment attachment)
Updates the attachment. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttachmentManager(java.lang.Object obj) throws java.io.IOException
obj
to AttachmentManager
. *
AttachmentManager o = (AttachmentManager)obj; // will not work
AttachmentManager o = new AttachmentManager(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problems
AttachmentManager theAttachmentManager = (AttachmentManager) obj;
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public int addAttachment(int parentObjectID, IAttachment attachment) throws java.io.IOException, AutomationException
addAttachment
in interface IAttachmentManager
parentObjectID
- The parentObjectID (in)attachment
- A reference to a com.esri.arcgis.geodatabase.IAttachment (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumAttachment getAttachmentsByParentIDs(ILongArray oids, boolean infosOnly) throws java.io.IOException, AutomationException
getAttachmentsByParentIDs
in interface IAttachmentManager
oids
- A reference to a com.esri.arcgis.system.ILongArray (in)infosOnly
- The infosOnly (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumAttachment getAttachmentsByAttachmentIDs(ILongArray attachmentIDs, boolean infosOnly) throws java.io.IOException, AutomationException
getAttachmentsByAttachmentIDs
in interface IAttachmentManager
attachmentIDs
- A reference to a com.esri.arcgis.system.ILongArray (in)infosOnly
- The infosOnly (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void updateAttachment(IAttachment attachment) throws java.io.IOException, AutomationException
updateAttachment
in interface IAttachmentManager
attachment
- A reference to a com.esri.arcgis.geodatabase.IAttachment (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteAttachment(int attachmentID) throws java.io.IOException, AutomationException
deleteAttachment
in interface IAttachmentManager
attachmentID
- The attachmentID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteAttachmentsForParent(int parentObjectID) throws java.io.IOException, AutomationException
deleteAttachmentsForParent
in interface IAttachmentManager
parentObjectID
- The parentObjectID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasGlobalID() throws java.io.IOException, AutomationException
isHasGlobalID
in interface IAttachmentManager
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |