com.esri.arcgis.search
Interface IGPItemInfoHelperImpl

All Superinterfaces:
Serializable
All Known Implementing Classes:
IGPItemInfoHelperImplProxy

public interface IGPItemInfoHelperImpl
extends Serializable

Provides access to helper functions for item info.


Method Summary
 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 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.
 

Method Detail

getTypeHelper

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.