Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [EnsLib] >  [EDI] >  [ServiceInterface]
Private  Storage   

abstract class EnsLib.EDI.ServiceInterface

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 5


Summary

Methods
OnDocumentEnd OnDocumentStart OnPostDocument OnPreDocument
resolveDocType

Subclasses
EnsLib.EDI.EDIFACT.Operation.ReplyStandard EnsLib.EDI.EDIFACT.Service.Standard EnsLib.EDI.X12.Operation.ReplyStandard
EnsLib.EDI.X12.Service.Standard EnsLib.EDI.XML.Service.Standard

Parameters

• parameter DOCCLASS;

Methods

• method OnDocumentEnd(pDocument As EnsLib.EDI.Document, pSource As %String, pStatus As %Status) as %Status
Called by the Parser at the end of a document
• method OnDocumentStart(pDocument As EnsLib.EDI.Document, pSource As %String, pStatus As %Status) as %Status
Called by the Parser at the start of a document
• method OnPostDocument(pStream As %IO.I.CharacterStream, ByRef pLineExtra As %String = "")
This method is called after processing a Document, giving an opportunity to 'filter' extraneous header/trailer/filler which may be present in the stream. pLineExtra contains any extra chars read that may be part of the beginning of the next Document.
• method OnPreDocument(pStream As %IO.I.CharacterStream, ByRef pLineExtra As %String = "")
This method is called before attempting to process a Document, giving an opportunity to 'filter' extraneous header/trailer/filler which may be present in the stream. pLineExtra contains any extra chars read that may be part of the beginning of the Document to follow.
• method resolveDocType(pDoc As EnsLib.EDI.Document) as %String
Return the DocType that the given service would assign to this document


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.