|
|||||||||
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
.
Constructor Summary | |
---|---|
AttachmentManager(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(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. |
int |
hashCode()
the hashcode for this object |
boolean |
isHasGlobalID()
Indicates if the attachments have a global object identity field. |
void |
updateAttachment(IAttachment attachment)
Updates the attachment. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public AttachmentManager(Object obj) throws 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
IOException
- if there are interop problems
AttachmentManager theAttachmentManager = (AttachmentManager) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int addAttachment(int parentObjectID, IAttachment attachment) throws IOException, AutomationException
addAttachment
in interface IAttachmentManager
parentObjectID
- The parentObjectID (in)attachment
- A reference to a com.esri.arcgis.geodatabase.IAttachment (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumAttachment getAttachmentsByParentIDs(ILongArray oids, boolean infosOnly) throws IOException, AutomationException
getAttachmentsByParentIDs
in interface IAttachmentManager
oids
- A reference to a com.esri.arcgis.system.ILongArray (in)infosOnly
- The infosOnly (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumAttachment getAttachmentsByAttachmentIDs(ILongArray attachmentIDs, boolean infosOnly) throws IOException, AutomationException
getAttachmentsByAttachmentIDs
in interface IAttachmentManager
attachmentIDs
- A reference to a com.esri.arcgis.system.ILongArray (in)infosOnly
- The infosOnly (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void updateAttachment(IAttachment attachment) throws IOException, AutomationException
updateAttachment
in interface IAttachmentManager
attachment
- A reference to a com.esri.arcgis.geodatabase.IAttachment (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteAttachment(int attachmentID) throws IOException, AutomationException
deleteAttachment
in interface IAttachmentManager
attachmentID
- The attachmentID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteAttachmentsForParent(int parentObjectID) throws IOException, AutomationException
deleteAttachmentsForParent
in interface IAttachmentManager
parentObjectID
- The parentObjectID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasGlobalID() throws IOException, AutomationException
isHasGlobalID
in interface IAttachmentManager
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 |