<?xml version="1.0" encoding="Windows-1255" ?><Class name="ExportImportMgr" id="core.env:ExportImportMgr" sort="21" urn="core.env:classes.ExportImportMgr.gs" toc="\Classes"><Summary>This object is used for performing export\import of a unit.</Summary><Remarks>&lt;p&gt;
         The export process generates a list of files which are necessary for the import process.
         This list include files of units which have dependency in the exported unit,
         and model descriptor files such as index.xml and config.xml
         
         The import process receives the list which was generated in the export process,
         and uses it to understand which units should be exported, and how.
       &lt;/p&gt;</Remarks><Copyright>(c) SAP AG 2003-2006. All rights reserved.</Copyright>
<Topics>
<Method name="exportUnit" sortGroup="true" scope="public" id="core.env:ExportImportMgr!exportUnit" sort="35" group="Methods" seq="0000"><Summary>Gets a unit to export, and returns a list of files which are necessary for the import process.
    This list include files of units which have dependency in the exported unit,
    and model descriptor files such as index.xml and config.xml.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;exportUnit&lt;/b&gt;(&lt;i&gt;urn&lt;/i&gt;, &lt;i&gt;unitId&lt;/i&gt;) &amp;rarr; []"><Param name="urn" type="String">The urn of model which contains the unit to export.</Param><Param name="unitId" type="String">The id of the unit to export.</Param></Parameters><Return type="[]">List of files to export.</Return></Method>
<Method name="importUnit" sortGroup="true" scope="public" id="core.env:ExportImportMgr!importUnit" sort="35" group="Methods" seq="0001"><Summary>Gets a unit to import and a list of files which are necessary for the import process.
   This list should be a list which was generated in the export process
   The import is to the currently opened model, if such exists.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;importUnit&lt;/b&gt;(&lt;i&gt;files&lt;/i&gt;, &lt;i&gt;unitId&lt;/i&gt;) &amp;rarr; &lt;q ref=&quot;core.gml:Element&quot;&gt;Element&lt;/q&gt;"><Param name="files" type="[]">List of files to import.</Param><Param name="unitId" type="String">The id of the unit to import.</Param></Parameters><Return type="gml:Element!" typeRef="&lt;q ref=&quot;core.gml:Element&quot;&gt;Element&lt;/q&gt;">A usage to the imported unit, or &lt;code&gt;null&lt;/code&gt; in case of any error.</Return></Method>
<Method name="validateConfiguration" sortGroup="true" scope="public" id="core.env:ExportImportMgr!validateConfiguration" sort="35" group="Methods" seq="0002"><Summary>Checks whether the given kit configuration is equal   
   to the current model's kits configuration
      This function is called at the begining of the import process,
      to check whether the import is valid.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;validateConfiguration&lt;/b&gt;(&lt;i&gt;exportedConfigXml&lt;/i&gt;) &amp;rarr; void"><Param name="exportedConfigXml" type="XmlDocument">&quot;_config.xml&quot; file of the model from which we perform the export.</Param></Parameters><Return></Return></Method>
</Topics>
</Class>