Click or drag to resize

IXmlDataImporter Interface

Imports instance data (e.g. .icedata) into a repository.

Namespace:  PDTec.IceNet.Core.Xml
Assembly:  PDTec.IceNet.Core (in PDTec.IceNet.Core.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public interface IXmlDataImporter

The IXmlDataImporter type exposes the following members.

Properties
  NameDescription
Public propertyFiles
Gets the file information that was stored in the XML document. The dictionary key is the ID of the new file object that has been created in the repository during the import. The dictionary value is the ObjectInfo including the FileContentInfo records from the XML document.
Public propertyFolderIdMap
Gets the dictionary that maps the folder IDs from the XML document to the imported folder IDs. The folder IDs are available after successfull import.
Public propertyFolderIds
Gets the IDs of the folders that were created during the import. The folder IDs are available after successfull import.
Public propertyCode exampleFolderKeys
Gets the folder keys stored in the imported XML document. The folder keys are available after successfull import. The dictionary maps keys to folder IDs.
Public propertyCode exampleFolderPermissions
Gets the folder permissions stored in the imported XML document. The folder permissions are available after successfull import. The dictionary maps folder IDs to permission information.
Public propertyCode exampleFolderQualifications
Gets the folder qualifications stored in the imported XML document. The folder qualifications are available after successfull import. The dictionary maps folder IDs to qualifications information.
Public propertyObjectIdMap
Gets the dictionary that maps the object IDs from the XML document to the imported object IDs. The object IDs are available after successfull import.
Public propertyObjectIds
Gets the IDs of the objects that were created during the import. The object IDs are available after successfull import.
Public propertyCode exampleObjectKeys
Gets the folder keys stored in the imported XML document. The folder keys are available after successfull import. The dictionary maps keys to folder IDs.
Public propertyCode exampleObjectPermissions
Gets the object permissions stored in the imported XML document. The object permissions are available after successfull import. The dictionary maps object IDs to permission information.
Public propertyCode exampleObjectQualifications
Gets the object qualifications stored in the imported XML document. The object qualifications are available after successfull import. The dictionary maps object IDs to qualifications information.
Public propertyPreserveIds
Gets or sets a value indicating whether the IDs from XML should be preserved when importing into the repository. This option is only available if the underlying data storage accepts external IDs (relational databases don't do this).
Top
Methods
  NameDescription
Public methodCode exampleImport
Imports data from an XML reader into a folder.
Top
Remarks
An instance of IXmlDataImporter can be used for a single import action only because it stores state information (e.g. keys) that can be retrieved by the appropriate properties.
See Also