com.esri.arcgis.search
Class IGPItemInfoHelperImplProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.search.IGPItemInfoHelperImplProxy
All Implemented Interfaces:
IGPItemInfoHelperImpl, Externalizable, Serializable

public class IGPItemInfoHelperImplProxy
extends com.esri.arcgis.interop.Dispatch
implements IGPItemInfoHelperImpl, Serializable

Provides access to helper functions for item info.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IGPItemInfoHelperImplProxy()
           
  IGPItemInfoHelperImplProxy(Object obj)
           
protected IGPItemInfoHelperImplProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void documentInfo2ItemInfo(IDocumentInfo pDocInfo, IItemInfo pItemInfo)
          Update Item Info from document info.
 IThumbnailInfo getThumbnailInfoFromMD(IPropertySet pMD)
          Get thumbnail info from metadata.
 IThumbnailInfo getThumbnailInfoFromPicture(IPicture pPicture)
          Get thumbnail info from metadata.
 IThumbnailInfo getThumbnailInfoFromStream(IStream pStream)
          Get thumbnail info from Stream.
 IItemInfoTypeHelper getTypeHelper()
          Item Info type helper.
 void removeListener(String iidStr, Object theListener)
           
 void retrieveDocOrLayerItemInfo(String catalogPath, IItemInfo pItemInfo)
          Retrieve item info for documents or layer.
 void setTypeHelperByRef(IItemInfoTypeHelper ppHelper)
          Item Info type helper.
 void updateMetadataByItemInfo(IPropertySet pMD, IItemInfo pItemInfo)
          Update metadata from Item Info.
 void updateUserDefinedItemInfo(IItemInfo pItemInfo, IPropertySet pMD, boolean vbDocOrLayer)
          Init ItemInfo from metadata.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IGPItemInfoHelperImplProxy

public IGPItemInfoHelperImplProxy()

IGPItemInfoHelperImplProxy

public IGPItemInfoHelperImplProxy(Object obj)
                           throws IOException
Throws:
IOException

IGPItemInfoHelperImplProxy

protected IGPItemInfoHelperImplProxy(Object obj,
                                     String iid)
                              throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getTypeHelper

public IItemInfoTypeHelper getTypeHelper()
                                  throws IOException,
                                         AutomationException
Item Info type helper.

Specified by:
getTypeHelper in interface IGPItemInfoHelperImpl
Returns:
A reference to a com.esri.arcgis.search.IItemInfoTypeHelper
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTypeHelperByRef

public void setTypeHelperByRef(IItemInfoTypeHelper ppHelper)
                        throws IOException,
                               AutomationException
Item Info type helper.

Specified by:
setTypeHelperByRef in interface IGPItemInfoHelperImpl
Parameters:
ppHelper - A reference to a com.esri.arcgis.search.IItemInfoTypeHelper (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateUserDefinedItemInfo

public void updateUserDefinedItemInfo(IItemInfo pItemInfo,
                                      IPropertySet pMD,
                                      boolean vbDocOrLayer)
                               throws IOException,
                                      AutomationException
Init ItemInfo from metadata.

Specified by:
updateUserDefinedItemInfo in interface IGPItemInfoHelperImpl
Parameters:
pItemInfo - A reference to a com.esri.arcgis.geodatabase.IItemInfo (in)
pMD - A reference to a com.esri.arcgis.system.IPropertySet (in)
vbDocOrLayer - The vbDocOrLayer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateMetadataByItemInfo

public void updateMetadataByItemInfo(IPropertySet pMD,
                                     IItemInfo pItemInfo)
                              throws IOException,
                                     AutomationException
Update metadata from Item Info.

Specified by:
updateMetadataByItemInfo in interface IGPItemInfoHelperImpl
Parameters:
pMD - A reference to a com.esri.arcgis.system.IPropertySet (in)
pItemInfo - A reference to a com.esri.arcgis.geodatabase.IItemInfo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

retrieveDocOrLayerItemInfo

public void retrieveDocOrLayerItemInfo(String catalogPath,
                                       IItemInfo pItemInfo)
                                throws IOException,
                                       AutomationException
Retrieve item info for documents or layer.

Specified by:
retrieveDocOrLayerItemInfo in interface IGPItemInfoHelperImpl
Parameters:
catalogPath - The catalogPath (in)
pItemInfo - A reference to a com.esri.arcgis.geodatabase.IItemInfo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

documentInfo2ItemInfo

public void documentInfo2ItemInfo(IDocumentInfo pDocInfo,
                                  IItemInfo pItemInfo)
                           throws IOException,
                                  AutomationException
Update Item Info from document info.

Specified by:
documentInfo2ItemInfo in interface IGPItemInfoHelperImpl
Parameters:
pDocInfo - A reference to a com.esri.arcgis.carto.IDocumentInfo (in)
pItemInfo - A reference to a com.esri.arcgis.geodatabase.IItemInfo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getThumbnailInfoFromMD

public IThumbnailInfo getThumbnailInfoFromMD(IPropertySet pMD)
                                      throws IOException,
                                             AutomationException
Get thumbnail info from metadata.

Specified by:
getThumbnailInfoFromMD in interface IGPItemInfoHelperImpl
Parameters:
pMD - A reference to a com.esri.arcgis.system.IPropertySet (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IThumbnailInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getThumbnailInfoFromPicture

public IThumbnailInfo getThumbnailInfoFromPicture(IPicture pPicture)
                                           throws IOException,
                                                  AutomationException
Get thumbnail info from metadata.

Specified by:
getThumbnailInfoFromPicture in interface IGPItemInfoHelperImpl
Parameters:
pPicture - A reference to a com.esri.arcgis.support.ms.stdole.IPicture (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IThumbnailInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getThumbnailInfoFromStream

public IThumbnailInfo getThumbnailInfoFromStream(IStream pStream)
                                          throws IOException,
                                                 AutomationException
Get thumbnail info from Stream.

Specified by:
getThumbnailInfoFromStream in interface IGPItemInfoHelperImpl
Parameters:
pStream - A reference to a com.esri.arcgis.system.IStream (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IThumbnailInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.