public class AttachmentManager extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IAttachmentManager
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 =
IID, IID52067577_796d_421a_8502_8f10d4ebd1fe, xxDummy
Constructor and Description |
---|
AttachmentManager(java.lang.Object obj)
Construct a AttachmentManager using a reference to such an object returned from ArcGIS Engine or Server.
|
Modifier and Type | Method and Description |
---|---|
long |
addAttachment(long parentObjectID,
IAttachment attachment)
Adds an attachment to the object identified by the oid.
|
long |
addAttachmentByGlobalID(java.lang.String parentGlobalID,
IAttachment attachment)
Adds an attachment to the object identified by the oid.
|
void |
deleteAttachment(long attachmentID)
Deletes the attachment identified with attID.
|
void |
deleteAttachmentByGlobalID(java.lang.String globalID)
Deletes the attachment identified with attID.
|
void |
deleteAttachmentForParent(long parentObjectID,
long attachmentID)
Deletes the attachment.
|
void |
deleteAttachmentsForParent(long parentObjectID)
Deletes all attachments for the object with oid.
|
void |
deleteAttachmentsForParentByGlobalID(java.lang.String parentGlobalID)
Deletes all attachments for the object with oid.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IEnumAttachment |
getAttachmentsByAttachmentGlobalIDs(IStringArray attachmentGlobalIDs,
boolean infosOnly)
Returns the attachments for the attachments with the attachment ids specified in the attIDs argument.
|
IEnumAttachment |
getAttachmentsByAttachmentIDs(ILongLongArray attachmentIDs,
boolean infosOnly)
Returns the attachments for the attachments with the attachment ids specified in the attIDs argument.
|
IEnumAttachment |
getAttachmentsByParentGlobalIDs(IStringArray parentGlobalIDs,
boolean infosOnly)
Returns the attachments for the objects with the object ids specified in the oids argument.
|
IEnumAttachment |
getAttachmentsByParentIDs(ILongLongArray oids,
boolean infosOnly)
Returns the attachments for the objects with the object ids specified in the oids argument.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
int |
hashCode()
the hashcode for this object
|
boolean |
isHasGlobalID()
Indicates if the attachments have a global object identity field.
|
void |
release()
Release this COM object reference
|
void |
updateAttachment(IAttachment attachment)
Updates the attachment.
|
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 Serverjava.io.IOException
- if there are interop problems
AttachmentManager theAttachmentManager = (AttachmentManager) obj;
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 long addAttachment(long parentObjectID, IAttachment attachment) throws java.io.IOException, AutomationException
addAttachment
in interface IAttachmentManager
parentObjectID
- Signed 64-bit int (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(ILongLongArray oids, boolean infosOnly) throws java.io.IOException, AutomationException
getAttachmentsByParentIDs
in interface IAttachmentManager
oids
- A reference to a com.esri.arcgis.system.ILongLongArray (in)infosOnly
- The infosOnly (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IEnumAttachment getAttachmentsByAttachmentIDs(ILongLongArray attachmentIDs, boolean infosOnly) throws java.io.IOException, AutomationException
getAttachmentsByAttachmentIDs
in interface IAttachmentManager
attachmentIDs
- A reference to a com.esri.arcgis.system.ILongLongArray (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(long attachmentID) throws java.io.IOException, AutomationException
deleteAttachment
in interface IAttachmentManager
attachmentID
- Signed 64-bit int (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deleteAttachmentsForParent(long parentObjectID) throws java.io.IOException, AutomationException
deleteAttachmentsForParent
in interface IAttachmentManager
parentObjectID
- Signed 64-bit int (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.public long addAttachmentByGlobalID(java.lang.String parentGlobalID, IAttachment attachment) throws java.io.IOException, AutomationException
addAttachmentByGlobalID
in interface IAttachmentManager
parentGlobalID
- The parentGlobalID (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 getAttachmentsByParentGlobalIDs(IStringArray parentGlobalIDs, boolean infosOnly) throws java.io.IOException, AutomationException
getAttachmentsByParentGlobalIDs
in interface IAttachmentManager
parentGlobalIDs
- A reference to a com.esri.arcgis.system.IStringArray (in)infosOnly
- The infosOnly (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IEnumAttachment getAttachmentsByAttachmentGlobalIDs(IStringArray attachmentGlobalIDs, boolean infosOnly) throws java.io.IOException, AutomationException
getAttachmentsByAttachmentGlobalIDs
in interface IAttachmentManager
attachmentGlobalIDs
- A reference to a com.esri.arcgis.system.IStringArray (in)infosOnly
- The infosOnly (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deleteAttachmentByGlobalID(java.lang.String globalID) throws java.io.IOException, AutomationException
deleteAttachmentByGlobalID
in interface IAttachmentManager
globalID
- The globalID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deleteAttachmentsForParentByGlobalID(java.lang.String parentGlobalID) throws java.io.IOException, AutomationException
deleteAttachmentsForParentByGlobalID
in interface IAttachmentManager
parentGlobalID
- The parentGlobalID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deleteAttachmentForParent(long parentObjectID, long attachmentID) throws java.io.IOException, AutomationException
deleteAttachmentForParent
in interface IAttachmentManager
parentObjectID
- Signed 64-bit int (in)attachmentID
- Signed 64-bit int (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.