Ens.BP.Context
persistent class Ens.BP.Context extends %Library.Persistent, %XML.Adaptor
SQL Table Name: Ens_BP.Context
This holds the (generated) properties defined by the BPLProperty Inventory
Method Inventory
- %ContextGet()
- %GetContentType()
- %ShowContents()
- %ShowContentsHead()
- EnterActivity()
- LeaveActivity()
- SetResponseHandler()
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 methods: %LastErrorGet(), %LastErrorGetStored(), %LastErrorIsValid(), %LastErrorLogicalToOdbc(), %LastErrorLogicalToXSD(), %LastErrorSet(), %LastErrorXSDToLogical()
property %LastFault as %String);
This holds the last thrown fault
Property methods: %LastFaultDisplayToLogical(), %LastFaultGet(), %LastFaultGetStored(), %LastFaultIsValid(), %LastFaultLogicalToDisplay(), %LastFaultLogicalToOdbc(), %LastFaultNormalize(), %LastFaultSet()
property %Process as Ens.BusinessProcess (XMLPROJECTION = "none");
This holds the reference to the process object
Property methods: %ProcessGet(), %ProcessGetObject(), %ProcessGetObjectId(), %ProcessGetStored(), %ProcessGetSwizzled(), %ProcessIsValid(), %ProcessNewObject(), %ProcessSet(), %ProcessSetObject(), %ProcessSetObjectId(), %ProcessUnSwizzle()
property %ResponseHandlers as array of %String (XMLPROJECTION = "none") [ SqlFieldName = _ResponseHandlers ];
This holds the registered ResponseHandlers
Property methods: %ResponseHandlersBuildValueArray(), %ResponseHandlersCollectionToDisplay(), %ResponseHandlersCollectionToOdbc(), %ResponseHandlersDisplayToCollection(), %ResponseHandlersDisplayToLogical(), %ResponseHandlersGet(), %ResponseHandlersGetObject(), %ResponseHandlersGetObjectId(), %ResponseHandlersGetStored(), %ResponseHandlersGetSwizzled(), %ResponseHandlersIsValid(), %ResponseHandlersLogicalToDisplay(), %ResponseHandlersLogicalToOdbc(), %ResponseHandlersNormalize(), %ResponseHandlersOdbcToCollection(), %ResponseHandlersSet(), %ResponseHandlersSetObject(), %ResponseHandlersSetObjectId()
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.
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.
This is invoked when a thread enters an activity
This is invoked when a thread leaves an activity
This method updates the Response Handlers collection by adding a new Response Handler name
Indexes
index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
Inherited Members
Inherited Methods
- %%CLASSNAMELogicalToStorage()
- %%CLASSNAMEStorageToLogical()
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %BuildIndicesAsync()
- %BuildIndicesAsyncResponse()
- %CheckConstraints()
- %CheckConstraintsForExtent()
- %ClassIsLatestVersion()
- %ClassName()
- %ComposeOid()
- %ConstructClone()
- %Delete()
- %DeleteExtent()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Exists()
- %ExistsId()
- %Extends()
- %GUID()
- %GUIDSet()
- %GetLock()
- %GetParameter()
- %GetSwizzleObject()
- %Id()
- %InsertBatch()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %KillExtentData()
- %LoadFromMemory()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnBeforeAddToSync()
- %OnDeleteFinally()
- %OnDetermineClass()
- %OnOpenFinally()
- %OnSaveFinally()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- %ValidateTable()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
Storage
Storage Model: Storage (Ens.BP.Context)
^Ens.BP.ContextD(ID,"%ResponseHandlers",n) |
= | %ResponseHandlers(n) |
Storage Model: Storage (Ens.BP.Context)
^Ens.BP.ContextD(ID) |
= | %%CLASSNAME
%Process
%LastError
%LastFault
|