|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAttachmentManager
Method Summary | |
---|---|
int |
addAttachment(int oID,
IAttachment att)
Adds an attachment to the object identified by the oid. |
void |
deleteAttachment(int attID)
Deletes the attachment identified with attID. |
void |
deleteAttachmentsForParent(int oID)
Deletes all attachments for the object with oid. |
IEnumAttachment |
getAttachmentsByAttachmentIDs(ILongArray attIDs,
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 att)
Updates the attachment. |
Method Detail |
---|
int addAttachment(int oID, IAttachment att) throws IOException, AutomationException
oID
- The oID (in)att
- 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 attIDs, boolean infosOnly) throws IOException, AutomationException
attIDs
- 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 att) throws IOException, AutomationException
att
- 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 attID) throws IOException, AutomationException
attID
- The attID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void deleteAttachmentsForParent(int oID) throws IOException, AutomationException
oID
- The oID (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 |