Class Reference
Ens.BP.Context
Server:irisdocs3
Instance:IRISLATEST
User:UnknownUser
 
-
  [ENSLIB] >  [Ens] >  [BP] >  [Context]
Private  Storage

persistent class Ens.BP.Context extends %Persistent, %XML.Adaptor

This holds the (generated) properties defined by the BPL

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 5 8


Summary

Properties
%Context %LastError %LastFault %Process
%ResponseHandlers

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %ContextGet %Delete %DeleteExtent
%DeleteId %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%Exists %ExistsId %Extends %GUID
%GUIDSet %GetContentType %GetLock %GetParameter
%GetSwizzleObject %Id %InsertBatch %IsA
%IsModified %IsNull %KillExtent %KillExtentData
%LoadFromMemory %LockExtent %LockId %New
%NormalizeObject %ObjectIsNull %ObjectModified %Oid
%OnBeforeAddToSync %OnDetermineClass %Open %OpenId
%OriginalNamespace %PackageName %PhysicalAddress %PurgeIndices
%Reload %RemoveFromSaveSet %ResolveConcurrencyConflict %RollBack
%Save %SaveDirect %SaveIndices %SerializeObject
%SetModified %ShowContents %ShowContentsHead %SortBegin
%SortEnd %SyncObjectIn %SyncTransport %UnlockExtent
%UnlockId %ValidateIndices %ValidateObject EnterActivity
LeaveActivity SetResponseHandler XMLDTD XMLExport
XMLExportToStream XMLExportToString XMLNew XMLSchema
XMLSchemaNamespace XMLSchemaType

Subclasses
Ens.Background.BP.Context EnsLib.Printing.Dispatcher.Context EnsLib.PushNotifications.IdentityManager.Process.Context
EnsLib.ebXML.Process.MessageReceiver.Context EnsLib.ebXML.Process.MessageSender.Context

Parameters

• parameter XMLINCLUDEINGROUP = 0;
Prevent the XML Type and Name of classes derived from this class from interfering with one another if they have the same short classname.
• parameter XMLTYPE = "BP_Context";
Prevent this class from having the same default XML Type and Name as any of its subclasses that have the short classname "Context".

Properties

• property %Context as Ens.BP.Context(XMLPROJECTION="none") [ Calculated ];
This holds the reference to the context object
• property %LastError as %Status [ InitialExpression = $$$OK ];
This holds last exception
• property %LastFault as %String(MAXLEN="");
This holds the last thrown fault
• property %Process as Ens.BusinessProcess(XMLPROJECTION="none");
This holds the reference to the process object
• property %ResponseHandlers as array of %String(XMLPROJECTION="none") [ SqlFieldName = _ResponseHandlers ];
This holds the registered ResponseHandlers

Methods

• method %ContextGet() as Ens.BP.Context
Accessor for the %Context property
• method %GetContentType() as %String
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.
• method %ShowContents(pZenOutput As %Boolean = 0)
This method is called by the Management Portal to display a message-specific content viewer.
This method displays its content by writing out to the current device. The content should match the type returned by the %GetContentType method.
• method %ShowContentsHead(pZenOutput As %Boolean = 0)
This method is called by the Management Portal to display a portion of the HEAD section of a message-specific content viewer.
• method EnterActivity(pActivity As %Integer, pSubActivity As %Integer, pActivityID As %Integer)
This is invoked when a thread enters an activity
• method LeaveActivity(pActivity As %Integer, pSubActivity As %Integer, pActivityID As %Integer)
This is invoked when a thread leaves an activity
• method SetResponseHandler(pResponseHandlerName As %String, pCompletionKey As %String) as %Status
This method updates the Response Handlers collection by adding a new Response Handler name


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