EnsLib.EDI.EDIFACT.MsgBodyMethods
abstract class EnsLib.EDI.EDIFACT.MsgBodyMethods extends Ens.Util.MessageBodyMethods
Method Inventory
- %DrawHTMLForm()
- %DrawHTMLTable()
- %GetContentType()
- %ProcessSubmit()
- %ShowContents()
- %ShowContentsHead()
- GetStatsDimension()
- chooseDocType()
Methods
classmethod %DrawHTMLForm(pObj As %RegisteredObject, ByRef pID As %String, pActionURL As %String = "", ByRef pButtons As %CSP.Util.FormButton, pTarget As %String = "") as %Status
This method is called by the Management Portal to display a message-specific content editor
classmethod %DrawHTMLTable(pObj As %RegisteredObject, ByRef pID As %String) as %Status
Inherited description: This method is called by the Management Portal to
display a message-specific content viewer.
method %GetContentType() as %String
Inherited description: This method is called by the Management Portal to determine
the content type that will be returned by the %ShowContents()
method.
The return value is a string containing an HTTP content type.
classmethod %ProcessSubmit(pRequest As %CSP.Request, ByRef pID As %String = "", Output pErrorMsg As %String) as %RegisteredObject
This method is called by the Management Portal to
display a message-specific content editor.
method %ShowContents(pZenOutput As %Boolean = 0)
Inherited description: This method is called by the Management Portal to
display a message-specific content viewer for messages that
extend %XML.Adaptor or %JSON.Adaptor or where JSON
has been requested explicitly.
This method displays its content by writing out to the current device.
For XML content , non XML characters are suppressed and there is an optional size limit of output.
The content should match the type returned by the %GetContentType() method or in the case of JSON explicitly to %response.ContentType.
This method is called from EnsPortal.MessageContents when:
class extends both %XML.Adaptor and Ens.Util.MessageBodyMethods
class neither extends %XML.Adaptor nor %Stream.Object
class extends %JSON.Adaptor and Ens.Util.MessageBodyMethods and
UNSUPPORTEDFORMATS does not include JSON
In all cases the parameter, pZenOutput is passed in as 1.
This method can be overridden.
This method calls OnShowJSONContents() and OnShowXMLContents() which can also be overridden.
This method displays its content by writing out to the current device.
For XML content , non XML characters are suppressed and there is an optional size limit of output.
The content should match the type returned by the %GetContentType() method or in the case of JSON explicitly to %response.ContentType.
This method is called from EnsPortal.MessageContents when:
This method can be overridden.
This method calls OnShowJSONContents() and OnShowXMLContents() which can also be overridden.
method %ShowContentsHead(pZenOutput As %Boolean = 0)
Inherited description: This method is called by the Management Portal to
display a portion of the HEAD section of a
message-specific content viewer.
method GetStatsDimension() as %String
This method is used to provide the Statistics Site Dimension if not already set
method chooseDocType(Output pDocDesc) as %String