%XML.Exchange
abstract class %XML.Exchange extends %Library.RegisteredObject
The %XML.Exchange class provides an interface for managing XML representations of objects.Method Inventory
- AssignGUIDs()
- CheckGUIDs()
- Export()
- ExportAllDir()
- ExportDir()
- ExportTableDir()
- GetDescription()
- GetPath()
- Load()
- LoadDir()
- ShowQualifiers()
Methods
The identifiable issues and their resolutions are:
- GUID entry missing OID cross reference
- If the object exists then add the OID cross reference
- If the object does not exist then remove the GUID entry
- GUID entry conflicts with OID cross reference
- Manual intervention required
- GUID entry for missing object
- Remove both the GUID entry and the OID cross reference
- GUID entry for missing class
- Remove both the GUID entry and the OID cross reference
- OID cross reference missing GUID entry
- If the object exists add the GUID entry
- If the object does not exist remove the OID cross reference
- OID cross reference conflicts with GUID entry
- Manual intervention required
The method will output results as the check proceeds and show a tally when the check is complete.
Each of the items must be of a type that extends the %XML.Exchange.Adaptor class: If exporting multiple Exchange Items pass the items("oid")="" as an array.
If the output filename is empty, matching Exchange Items will be exported to the current device.
The directory structure created is based on the type of Exchange Items being exported. The file names used can be controlled by the /name qualifier.
Each of the items must be of a type that extends the %XML.Exchange.Adaptor class. If exporting multiple Exchange Items pass the items("oid")="" as an array.
Load Exchange Items from the file file. Returns an stream of Exchange Items it loaded in loaded,
You may give it a list of files to load
via a single subscripted array. If you pass listonly as true then it will not
load anything but just list the Exchange Items that exist in the files that you supply it.
If selecteditems is defined then this will contain a single subscripted array
of items to load. It will only load items that are in this list from the file/s
provided, so this provides a way to limit which items get loaded.
qspec is a list of qualifiers which can be displayed with 'Do ##class(%XML.Exchange).ShowQualifiers()'
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()