|
|||||||||
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 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. |
boolean |
equals(Object o)
Compare this object with another |
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. |
int |
hashCode()
the hashcode for this object |
boolean |
isHasGlobalID()
Indicates if the attachments have a global object identity field. |
void |
updateAttachment(IAttachment att)
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 oID, IAttachment att) throws IOException, AutomationException
addAttachment
in interface IAttachmentManager
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.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 attIDs, boolean infosOnly) throws IOException, AutomationException
getAttachmentsByAttachmentIDs
in interface IAttachmentManager
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.public void updateAttachment(IAttachment att) throws IOException, AutomationException
updateAttachment
in interface IAttachmentManager
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.public void deleteAttachment(int attID) throws IOException, AutomationException
deleteAttachment
in interface IAttachmentManager
attID
- The attID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteAttachmentsForParent(int oID) throws IOException, AutomationException
deleteAttachmentsForParent
in interface IAttachmentManager
oID
- The oID (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 |