com.esri.arcgis.carto
Interface ICartoItemInfoHelper

All Superinterfaces:
Serializable

public interface ICartoItemInfoHelper
extends Serializable

Provides access to helper functions to sync metadata inside documents and xml file.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void metadata2DocumentInfo(IPropertySet pPropertySet, IDocumentInfo2 pDocuInfo)
          Initialize the DocumentInfo from the content of metadata.
 void updateDocumentInfo(String path, IPropertySet pPropertySet)
          Update the metadata inside documents.
 void updateItemInfoFromDocumentInfo(IDocumentInfo2 pDocInfo)
          transfer DocumentInfo to ItemInfo as used by Search solution.
 

Method Detail

metadata2DocumentInfo

void metadata2DocumentInfo(IPropertySet pPropertySet,
                           IDocumentInfo2 pDocuInfo)
                           throws IOException,
                                  AutomationException
Initialize the DocumentInfo from the content of metadata.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pPropertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
pDocuInfo - A reference to a com.esri.arcgis.carto.IDocumentInfo2 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateItemInfoFromDocumentInfo

void updateItemInfoFromDocumentInfo(IDocumentInfo2 pDocInfo)
                                    throws IOException,
                                           AutomationException
transfer DocumentInfo to ItemInfo as used by Search solution.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pDocInfo - A reference to a com.esri.arcgis.carto.IDocumentInfo2 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateDocumentInfo

void updateDocumentInfo(String path,
                        IPropertySet pPropertySet)
                        throws IOException,
                               AutomationException
Update the metadata inside documents.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
path - The path (in)
pPropertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.