Home > Class Reference > ENSLIB namespace > EnsLib.EDI.EDIFACT.Document

EnsLib.EDI.EDIFACT.Document

persistent class EnsLib.EDI.EDIFACT.Document extends %Library.Persistent, EnsLib.EDI.BatchDocument, EnsLib.EDI.Segmented, EnsLib.EDI.EDIFACT.MsgBodyMethods

SQL Table Name: EnsLib_EDI_EDIFACT.Document

Represents an Interchange or a TransactionSet. FunctionalGroups are represented as Segments within an Interchange.

Property Inventory

Method Inventory

Parameters

parameter DEFSEARCHCLASS = EnsLib.EDI.EDIFACT.SearchTable;
Name of the default SearchTable indexing class used in UI choices and MessageBank submissions
parameter DOCCLASSFULLNAME = UN EDIFACT EDI Document;
Inherited description: Full descriptive name for this subclass of document
parameter DOCCLASSNAME = EDIFACT Document;
Inherited description: Compact descriptive name for this subclass of document
parameter DOCSHORTNAME = EDIFACT;
parameter DOMAIN = Ensemble;
Use our own domain for localization
parameter EXTENTSIZE = 2000000;
Inherited description: The EXTENTSIZE parameter is used to inform the SQL Query Optimizer of the approximate number of instances in the extent containing instances of this class.

For example, a class that expects to have about 1,000,000 instances should define:

parameter EXTENTSIZE = 1000000;
parameter SCHEMACLASS = EnsLib.EDI.SEF.Schema:DS:EDIFACT;
Name of the associated schema class and after a colon the schema element code that represents a DocType

Properties

property %maps [ MultiDimensional , Transient ];
A local array of orefs "orefs" - a local map of integer ids to segment objects And either a subscript into ^IRIS.Temp for this object's LVD maps (for notes on LVD implementation see EnsEDI.inc) or local storage for these additional maps: "runtimeIndex" - array for runtime index to segment; will always be defined unless mapRuntimePath is defined "runtimePath" - array for runtime path to segment "bidirectionalLink" - array for runtime path and index linkage
Property methods: %mapsDisplayToLogical(), %mapsGet(), %mapsIsValid(), %mapsLogicalToDisplay(), %mapsLogicalToOdbc(), %mapsNormalize(), %mapsSet()
property Attachments as array of Ens.StreamContainer;
Attachment streams associated with this document
Property methods: AttachmentsBuildValueArray(), AttachmentsCollectionToDisplay(), AttachmentsCollectionToOdbc(), AttachmentsDisplayToCollection(), AttachmentsGet(), AttachmentsGetObject(), AttachmentsGetObjectId(), AttachmentsGetStored(), AttachmentsGetSwizzled(), AttachmentsIsValid(), AttachmentsOdbcToCollection(), AttachmentsSet(), AttachmentsSetObject(), AttachmentsSetObjectId()
property ChildCount as %Integer [ Calculated , Transient , ReadOnly ];
Number of Children
Property methods: ChildCountCompute(), ChildCountDisplayToLogical(), ChildCountGet(), ChildCountIsValid(), ChildCountLogicalToDisplay(), ChildCountNormalize(), ChildCountSQLCompute()
property ComponentSeparator as %String [ Calculated , Transient ];
Sub-element component separator character
Property methods: ComponentSeparatorDisplayToLogical(), ComponentSeparatorGet(), ComponentSeparatorIsValid(), ComponentSeparatorLogicalToDisplay(), ComponentSeparatorLogicalToOdbc(), ComponentSeparatorNormalize()
property DocTypeCategory as %String [ Transient , ReadOnly ];
the category portion of the DocType
Property methods: DocTypeCategoryDisplayToLogical(), DocTypeCategoryGet(), DocTypeCategoryIsValid(), DocTypeCategoryLogicalToDisplay(), DocTypeCategoryLogicalToOdbc(), DocTypeCategoryNormalize(), DocTypeCategorySet()
property DocTypeName as %String [ Transient , ReadOnly ];
Stored raw document type name ; the secondary type name portion of the DocType
Property methods: DocTypeNameDisplayToLogical(), DocTypeNameGet(), DocTypeNameIsValid(), DocTypeNameLogicalToDisplay(), DocTypeNameLogicalToOdbc(), DocTypeNameNormalize()
property ElementSeparator as %String [ Calculated , Transient ];
Data-element separator character
Property methods: ElementSeparatorDisplayToLogical(), ElementSeparatorGet(), ElementSeparatorIsValid(), ElementSeparatorLogicalToDisplay(), ElementSeparatorLogicalToOdbc(), ElementSeparatorNormalize()
property EscapeSeparator as %String [ Calculated , Transient ];
Release / Escape character
Property methods: EscapeSeparatorDisplayToLogical(), EscapeSeparatorGet(), EscapeSeparatorIsValid(), EscapeSeparatorLogicalToDisplay(), EscapeSeparatorLogicalToOdbc(), EscapeSeparatorNormalize()
property ExpRepeat as %Boolean [ InitialExpression = 0 ];
Boolean telling whether explicit indication of repetition is used in this document
Property methods: ExpRepeatDisplayToLogical(), ExpRepeatGet(), ExpRepeatGetStored(), ExpRepeatIsValid(), ExpRepeatLogicalToDisplay(), ExpRepeatNormalize(), ExpRepeatSet()
property FullSize as %Integer [ Calculated , Transient , ReadOnly ];
Size in bytes of the message content (assuming 1-byte segment terminators, including segments >32k)
Property methods: FullSizeDisplayToLogical(), FullSizeGet(), FullSizeIsValid(), FullSizeLogicalToDisplay(), FullSizeNormalize()
property Identifier as %String [ Calculated , Transient , ReadOnly ];
Unique document identification string found in document content
Property methods: IdentifierCompute(), IdentifierDisplayToLogical(), IdentifierGet(), IdentifierIsValid(), IdentifierLogicalToDisplay(), IdentifierLogicalToOdbc(), IdentifierNormalize(), IdentifierSQLCompute()
property Name as %String [ Calculated , Transient , ReadOnly ];
Raw type name of document
Property methods: NameCompute(), NameDisplayToLogical(), NameGet(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSQLCompute()
property ParentGroupEndSeg as EnsLib.EDI.EDIFACT.Segment [ Calculated , Transient , ReadOnly ];
Property methods: ParentGroupEndSegGet(), ParentGroupEndSegIdCompute(), ParentGroupEndSegIdDisplayToLogical(), ParentGroupEndSegIdGet(), ParentGroupEndSegIdIsValid(), ParentGroupEndSegIdLogicalToDisplay(), ParentGroupEndSegIdNormalize(), ParentGroupEndSegIdSQLCompute()
property ParentGroupEndSegId as %Integer [ Calculated , Transient , ReadOnly ];
Id of the group end segment of the FunctionalGroup in the Interchange within which this TransactionSet arrived
Property methods: ParentGroupEndSegIdCompute(), ParentGroupEndSegIdDisplayToLogical(), ParentGroupEndSegIdGet(), ParentGroupEndSegIdIsValid(), ParentGroupEndSegIdLogicalToDisplay(), ParentGroupEndSegIdNormalize(), ParentGroupEndSegIdSQLCompute()
property ParentGroupSeg as EnsLib.EDI.EDIFACT.Segment [ Calculated , Transient , ReadOnly ];
Property methods: ParentGroupSegGet(), ParentGroupSegIdCompute(), ParentGroupSegIdDisplayToLogical(), ParentGroupSegIdGet(), ParentGroupSegIdIsValid(), ParentGroupSegIdLogicalToDisplay(), ParentGroupSegIdNormalize(), ParentGroupSegIdSQLCompute()
property ParentGroupSegId as %Integer [ Calculated , Transient , ReadOnly ];
Id of the group start segment of the FunctionalGroup in the Interchange within which this TransactionSet arrived
Property methods: ParentGroupSegIdCompute(), ParentGroupSegIdDisplayToLogical(), ParentGroupSegIdGet(), ParentGroupSegIdIsValid(), ParentGroupSegIdLogicalToDisplay(), ParentGroupSegIdNormalize(), ParentGroupSegIdSQLCompute()
property ParentHeaderSeg as EnsLib.EDI.EDIFACT.Segment [ Calculated , Transient , ReadOnly ];
Property methods: ParentHeaderSegGet(), ParentHeaderSegIdCompute(), ParentHeaderSegIdDisplayToLogical(), ParentHeaderSegIdGet(), ParentHeaderSegIdIsValid(), ParentHeaderSegIdLogicalToDisplay(), ParentHeaderSegIdNormalize(), ParentHeaderSegIdSQLCompute()
property ParentHeaderSegId as %Integer [ Calculated , Transient , ReadOnly ];
Id of the header segment of the Interchange within which this TransactionSet arrived
Property methods: ParentHeaderSegIdCompute(), ParentHeaderSegIdDisplayToLogical(), ParentHeaderSegIdGet(), ParentHeaderSegIdIsValid(), ParentHeaderSegIdLogicalToDisplay(), ParentHeaderSegIdNormalize(), ParentHeaderSegIdSQLCompute()
property ParentIds as %String [ Calculated , Transient , ReadOnly ];
A $List of the Ids of all the enclosing parent documents of this nested document, if nested, in order from from immediate to outermost E.g. for Id of enclosing EncounterBatch if we are an Encounter
Property methods: ParentIdsCompute(), ParentIdsDisplayToLogical(), ParentIdsGet(), ParentIdsIsValid(), ParentIdsLogicalToDisplay(), ParentIdsLogicalToOdbc(), ParentIdsNormalize(), ParentIdsSQLCompute()
property ParentInterchange as EnsLib.EDI.EDIFACT.Document [ Calculated , Transient , ReadOnly ];
Property methods: ParentInterchangeGet(), ParentInterchangeGetObjectId()
property ParentTrailerSeg as EnsLib.EDI.EDIFACT.Segment [ Calculated , Transient , ReadOnly ];
Property methods: ParentTrailerSegGet(), ParentTrailerSegIdCompute(), ParentTrailerSegIdDisplayToLogical(), ParentTrailerSegIdGet(), ParentTrailerSegIdIsValid(), ParentTrailerSegIdLogicalToDisplay(), ParentTrailerSegIdNormalize(), ParentTrailerSegIdSQLCompute()
property ParentTrailerSegId as %Integer [ Calculated , Transient , ReadOnly ];
Id of the end segment of the Interchange within which this TransactionSet arrived
Property methods: ParentTrailerSegIdCompute(), ParentTrailerSegIdDisplayToLogical(), ParentTrailerSegIdGet(), ParentTrailerSegIdIsValid(), ParentTrailerSegIdLogicalToDisplay(), ParentTrailerSegIdNormalize(), ParentTrailerSegIdSQLCompute()
property RawContent as %String (MAXLEN = 10000) [ Calculated , Transient , ReadOnly ];
The raw text content of the document. Note that this is a truncated version suitable for use in SQL results and visual inspection, but not a complete or definitive representation of the document.
Property methods: RawContentCompute(), RawContentDisplayToLogical(), RawContentGet(), RawContentIsValid(), RawContentLogicalToDisplay(), RawContentLogicalToOdbc(), RawContentNormalize(), RawContentSQLCompute()
property RepetitionSeparator as %String [ Calculated , Transient ];
Repetition separator character
Property methods: RepetitionSeparatorDisplayToLogical(), RepetitionSeparatorGet(), RepetitionSeparatorIsValid(), RepetitionSeparatorLogicalToDisplay(), RepetitionSeparatorLogicalToOdbc(), RepetitionSeparatorNormalize()
property SegCount as %Integer [ Calculated , Transient , ReadOnly ];
Count of segments composing this document
Property methods: SegCountCompute(), SegCountDisplayToLogical(), SegCountGet(), SegCountIsValid(), SegCountLogicalToDisplay(), SegCountNormalize(), SegCountSQLCompute()
property SegmentTerminator as %String [ Calculated , Transient ];
Segment Terminator character(s)
Property methods: SegmentTerminatorDisplayToLogical(), SegmentTerminatorGet(), SegmentTerminatorIsValid(), SegmentTerminatorLogicalToDisplay(), SegmentTerminatorLogicalToOdbc(), SegmentTerminatorNormalize()
property Separators as %String (MAXLEN = 7, MINLEN = 4) [ Transient ];
All 4 Separators as a String, plus optionally SegmentTerminator: COMSEP_ELESEP_ESCSEP_REPSEP Additional characters will be output as the Segment Terminator; may be up to 3 chars for output with newlines
Property methods: SeparatorsDisplayToLogical(), SeparatorsGet(), SeparatorsIsValid(), SeparatorsLogicalToDisplay(), SeparatorsLogicalToOdbc(), SeparatorsNormalize(), SeparatorsSet()
property TypeVersion as %String [ Calculated , Transient , ReadOnly ];
Raw type version name of message found at MSH:12 in message content
Property methods: TypeVersionCompute(), TypeVersionDisplayToLogical(), TypeVersionGet(), TypeVersionIsValid(), TypeVersionLogicalToDisplay(), TypeVersionLogicalToOdbc(), TypeVersionNormalize(), TypeVersionSQLCompute()

Methods

method AddAttachment(pStream As %Stream.Object) as %Status [ Language = objectscript ]
method AddEndSegment() as %Status [ Language = objectscript ]
method AddFunctionalGroup(pGS As EnsLib.EDI.EDIFACT.Segment, Output pGroupSegIndex As %Integer = "") as %Status [ Language = objectscript ]
method AddTransactionSet(pTxnSet As EnsLib.EDI.EDIFACT.Document, pGroupSegIndex As %Integer, pAttachment As %Stream.Object = $$$NULLOREF) as %Status [ Language = objectscript ]
Add a TransactionSet to the Interchange. Add it to a group given the segment index of the placeholder segment between GS and GE segments.
method BuildMap(pKeepParsingAfterError As %Boolean = 1, pCreateExplicitRep As %Boolean = 0) as %Status [ Language = objectscript ]
pKeepParsingAfterError means keep trying to parse after errors are encountered; returned Status will contain all errors encountered
method Clear() as %Status [ Language = objectscript ]
Delete All Content and reset all properties
method ComponentSeparatorGet() as %String [ Language = objectscript ]
method ConstructExplicitClone(ByRef pStatus As %Status) as EnsLib.EDI.EDIFACT.Document [ Language = objectscript ]
method ConstructImplicitClone(ByRef pStatus As %Status) as EnsLib.EDI.EDIFACT.Document [ Language = objectscript ]
method CopyValues(pSource As EnsLib.EDI.EDIFACT.Document, pSourcePath As %String, pTargetPath As %String, pAction As %String, pKey As %String, pEmptyFieldAsNull As %Boolean = 0, pIgnoreMissingSource As %Boolean = 0) as %Status [ Language = objectscript ]
Inherited description: Copy a whole set of values from source to target when iteration is implied between 2 VDocs pSourcePath contains the property path to the source set
pTargetPath contains the property path to the target set
pAction contains an action code: "set", etc..
pKey contains an optional key value or a set of comma-separated key values to be used as array indices where empty array index placeholders are present in pPropertyPath.
method DocTypeSet(pDocType As %String, pBuildMap As %Boolean = 1) as %Status [ Language = objectscript ]
method DumpMaps() as %Status [ Language = objectscript ]
method ElementSeparatorGet() as %String [ Language = objectscript ]
classmethod EnumerateDocTypesClose(ByRef qHandle As %Binary) as %Status [ Language = objectscript ]
classmethod EnumerateDocTypesExecute(ByRef qHandle As %Binary, Category As %String, IncludeBase As %Boolean) as %Status [ Language = objectscript ]
classmethod EnumerateDocTypesFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer) as %Status [ Language = objectscript ]
classmethod EnumerateSegTypesClose(ByRef qHandle As %Binary) as %Status [ Language = objectscript ]
classmethod EnumerateSegTypesExecute(ByRef qHandle As %Binary, Category As %String = "", Level As %String, IncludeBase As %Boolean) as %Status [ Language = objectscript ]
classmethod EnumerateSegTypesFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer) as %Status [ Language = objectscript ]
classmethod EnumerateTypeCategoriesClose(ByRef qHandle As %Binary) as %Status [ Language = objectscript ]
classmethod EnumerateTypeCategoriesExecute(ByRef qHandle As %Binary, Standard As %String = "") as %Status [ Language = objectscript ]
classmethod EnumerateTypeCategoriesFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer) as %Status [ Language = objectscript ]
method EscapeSeparatorGet() as %String [ Language = objectscript ]
method FindSegment(pSegName As %String, ByRef pIndex As %String = "", Output pStatus As %Status) as EnsLib.EDI.EDIFACT.Segment [ Language = objectscript ]
Gets the next segment after index pIndex with name pSegName. Supports pSegName = '*' to match any segment.
method FullSizeGet() as %Integer [ Language = objectscript ]
classmethod GetAlias(pContentArrayName As %String, pArrayPos As %String) as %String [ Language = objectscript ]
This method computes the Alias string for a property name, given the property's node in the Content Array.
classmethod GetContentArray(Output pContents, pMode As %String, pDocType As %String, pLevel As %Integer, pIncludeBase As %Boolean) as %Status [ Language = objectscript ]
Inherited description: Returns array of properties that make up the contents of this object.
This method in implemented within the document class.
The content array is in the form:
pContents(n,"type")="%String"
pContents(n,"name")="Field"
pContents(n,"alias")=alias code
If pContents(n) is non-zero then the property is a composite type with
sub-properties. The sub-properties are indexed with a similar structure under
pContents(n,m) where m is the index of the subtype property.
classmethod GetFullSize(pMsgId) as %Integer [ Language = objectscript ]
Returns an array of links to manager pages for this type of VDoc; item 0 is the family description
method GetNextGroupPath(pGroup As %String, pPath As %String, ByRef pStatus As %Status = $$$OK) as %String [ Language = objectscript ]
Gets the next path in a group
method GetNextIndex(pPath As %String, pIndex As %String, ByRef pStatus As %Status = $$$OK) as %String [ Language = objectscript ]
Gets the next index in an array
method GetSegmentIndex(pPath As %String, Output pStatus As %Status) as %Integer [ Language = objectscript ]
Given a segment path, find the corresponding segment index
method GetSegmentPath(pIndex As %Integer, Output pStatus As %Status) as %String [ Language = objectscript ]
Given a segment index, find the corresponding segment path
method GetValueAt(pSegmentPropertyPath As %String, pSeparators As %String, Output pStatus As %Status, pTreatEmptyAsNull As %Boolean = 0) as %String [ Language = objectscript ]
Inherited description: Return the value of the designated virtual property.
pPropertyPath contains a text expression representing the address within the document of the value of interest.
pFormat contains additional context that may be used to influence the form of the result value
If no value can be found matching pPropertyPath in the current document an empty string is returned and output argument pStatus returns status information explaining the failure
pTreatEmptyFieldAsNull indicates whether repeating fields which have a separator but are empty should be considered to have a count of 1 (if false) or 0 (if true) This is implemented by the document subclass.
method IdentifierGet() as %String [ Language = objectscript ]
classmethod ImportFromDevice(Output pStatus As %Status, ByRef pConfigItem As %String, pIOFormatClassname As %String) as EnsLib.EDI.EDIFACT.Document [ Language = objectscript ]
classmethod ImportFromFile(pFilename As %String, pDocNum As %Integer = 1, Output pStatus As %Status, ByRef pConfigItem As %String, pIOFormatClassname As %String) as EnsLib.EDI.EDIFACT.Document [ Language = objectscript ]
classmethod ImportFromIOStream(pIOStream As %IO.I.CharacterStream, Output pStatus As %Status = $$$OK, ByRef pConfigItem As %String = "", pIOFormatClassname As %String = "") as EnsLib.EDI.EDIFACT.Document [ Language = objectscript ]
classmethod ImportFromLibraryStream(pLibStream As %Stream.Object, Output pStatus As %Status, ByRef pConfigItem As %String, pIOFormatClassname As %String) as EnsLib.EDI.EDIFACT.Document [ Language = objectscript ]
classmethod ImportFromString(pString As %String, Output pStatus As %Status, ByRef pConfigItem As %String, pIOFormatClassname As %String) as EnsLib.EDI.EDIFACT.Document [ Language = objectscript ]
classmethod KillGlobals(Output pDeletedCount, pKeepExtentCount=0, pDisplayLog=1) [ Language = objectscript ]
method NameGet() as %String [ Language = objectscript ]
classmethod NewControlID(pInbound As %Boolean = 0, pReceiverID As %String, pSenderID As %String, pType As %String = "H") as %Integer [ Language = objectscript ]
Get an new unique control number. Control numbers are classified into interchange control numbers "I" and group control numbers "G".
method NewReplyDocument(pDocType As %String = "", pLocalApplicationID As %String, Output pSC As %Status) as EnsLib.EDI.EDIFACT.Document [ Language = objectscript ]
classmethod NewReplyGroupSeg(pOriginalGS As EnsLib.EDI.EDIFACT.Segment, Output pSC As %Status) as EnsLib.EDI.EDIFACT.Segment [ Language = objectscript ]
Create a new group segment as a reply corresponding to an original GS segment
classmethod NewReplyHeaderSeg(pOriginalHeaderSeg As EnsLib.EDI.EDIFACT.Segment, pLocalApplicationID As %String = "", Output pSC) as EnsLib.EDI.EDIFACT.Segment [ Language = objectscript ]
method OutputHTML() as %Status [ Language = objectscript ]
Display Segments as HTML, using DocType info if available
method OutputHTMLZen() as %Status [ Language = objectscript ]
Display Segments as HTML, using DocType info if available
method OutputToDevice(pSeparators As %String, pIOFormatClassname As %String) as %Status [ Language = objectscript ]
method OutputToFile(pFilename As %String, pOverwrite As %Boolean, pSeparators As %String, pIOFormatClassname As %String) as %Status [ Language = objectscript ]
method OutputToIOStream(pIOStream As %IO.I.CharacterStream, pSeparators As %String, pFlush As %Boolean = 1, pIOFormatClassname As %String = "") as %Status [ Language = objectscript ]
method OutputToLibraryStream(pLibStream As %Stream.Object, pSeparators As %String, pIOFormatClassname As %String) as %Status [ Language = objectscript ]
method OutputToString(pSeparators As %String, Output pStatus As %Status, pIOFormatClassname As %String) as %String [ Language = objectscript ]
method ParentGroupEndSegGet() as EnsLib.EDI.EDIFACT.Segment [ Language = objectscript ]
method ParentGroupEndSegIdGet() as %String [ Language = objectscript ]
method ParentGroupSegGet() as EnsLib.EDI.EDIFACT.Segment [ Language = objectscript ]
method ParentGroupSegIdGet() as %String [ Language = objectscript ]
method ParentHeaderSegGet() as EnsLib.EDI.EDIFACT.Segment [ Language = objectscript ]
method ParentHeaderSegIdGet() as %String [ Language = objectscript ]
method ParentInterchangeGet() as EnsLib.EDI.EDIFACT.Document [ Language = objectscript ]
method ParentInterchangeGetObjectId(force As %Integer) as %String [ Language = objectscript ]
Required for AutoForm
method ParentTrailerSegGet() as EnsLib.EDI.EDIFACT.Segment [ Language = objectscript ]
method ParentTrailerSegIdGet() as %String [ Language = objectscript ]
method PokeDocType(pDocType As %String) as %Status [ Language = objectscript ]
classmethod Purge(Output pDeletedCount As %Integer, pDaysToKeep As %Integer = 7, pDummy As %Boolean = 0) as %Status [ Language = objectscript ]
method RawContentGet() as %String [ Language = objectscript ]
method RepetitionSeparatorGet() as %String [ Language = objectscript ]
method SegCountGet() as %Integer [ Language = objectscript ]
method SegmentTerminatorGet() as %String [ Language = objectscript ]
method SeparatorsSet(newvalue As %String) as %Status [ Language = objectscript ]
method SetValueAt(pValue As %String, pSegmentPropertyPath As %String, pAction As %String = "set", pKey As %String = "") as %Status [ Language = objectscript ]
Inherited description: Set the value of the designated virtual property.
pValue contains the value to set.
pPropertyPath contains a text expression representing the address within the document of the value of interest.
pKey contains an optional key value or a set of comma-separated key values to be used as array indices where empty array index placeholders are present in pPropertyPath.
pAction contains an action code: "set", "clear", "append", etc.
classmethod TotalCount() as %Integer [ Language = objectscript ]
method TypeVersionGet() as %String [ Language = objectscript ]
Inherited description: Subclasses should override this if the version can be gotten from the document content
method buildRuntimePathFromIndex(pId As %String, pPath As %String, pContentArray As %String, pType As %String, ByRef pCurrSeg As %Integer, pParentGrpOpt As %Boolean, pLoopNames As %String, pSC As %Status, pKeepParsingAfterError As %Boolean, pFirstRep As %Boolean = 0, pCreateExplicitRep As %Boolean = 0) as %Status [ Language = objectscript ]
Build a segment map for the current segment index array based on the document schema
If pKeepParsingAfterError is false then stop parsing when first error is encountered
classmethod checkDocType(ByRef pDocType As %String) as %Status [ Language = objectscript ]
method commitCollectionOpenSegments(pCollectionPath As %String) as %Status [ Language = objectscript ]
collapse segment objects within the collectionPath into just Id; Save if necessary
method commitSegmentByIndex(pIndex As %Integer) as %Status [ Language = objectscript ]
collapse segment object into just ID; Save if necessary
method commitSegmentByPath(pPath As %String) as %Status [ Language = objectscript ]
collapse segment object into just Id; Save if necessary
method convertRuntimePathToSchemaPath(pPath As %String) as %String [ Language = objectscript ]
classmethod getGroupEndSegId(pId As %RawString) as %String [ Language = objectscript ]
classmethod getGroupSegId(pId As %RawString) as %String [ Language = objectscript ]
classmethod getHeaderSegId(pParentId As %RawString) as %String [ Language = objectscript ]
method getId() as %String [ Language = objectscript ]
The same as %Id(), but allocates the Id even if the object hasn't been saved already
classmethod getIdentifier(pId As %RawString) as %String [ Language = objectscript ]
classmethod getName(pId As %RawString) as %String [ Language = objectscript ]
method getSegmentIdByIndex(pIndex As %Integer, Output pStatus As %Status) as %String [ Language = objectscript ]
method getSegmentIdByPath(pPath As %String, Output pStatus As %Status) as %String [ Language = objectscript ]
classmethod getSegsAsString(pId As %String, pMaxLen As %Integer = 10000, pStartOffset As %Integer = 1) as %String [ Language = objectscript ]
This method is for use from the RawContent property's SQL Compute invocation
classmethod getTrailerSegId(pParentId As %RawString) as %String [ Language = objectscript ]
classmethod getTypeVersion(pId As %RawString, pParentId As %String) as %String [ Language = objectscript ]

Inherited Methods