|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IAttachmentManager
| 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. |
| Method Detail |
|---|
int addAttachment(int parentObjectID,
IAttachment attachment)
throws IOException,
AutomationException
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.
IEnumAttachment getAttachmentsByParentIDs(ILongArray oids,
boolean infosOnly)
throws IOException,
AutomationException
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.
IEnumAttachment getAttachmentsByAttachmentIDs(ILongArray attachmentIDs,
boolean infosOnly)
throws IOException,
AutomationException
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.
void updateAttachment(IAttachment attachment)
throws IOException,
AutomationException
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.
void deleteAttachment(int attachmentID)
throws IOException,
AutomationException
attachmentID - The attachmentID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void deleteAttachmentsForParent(int parentObjectID)
throws IOException,
AutomationException
parentObjectID - The parentObjectID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isHasGlobalID()
throws IOException,
AutomationException
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 | ||||||||