Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / EnsLib.PEX.BusinessProcess
Private  Storage   

EnsLib.PEX.BusinessProcess


persistent class EnsLib.PEX.BusinessProcess extends
Ens.BusinessProcess, EnsLib.PEX.Common

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 1 8


Summary


This is a Business Process class.

RequestResponse
%Library.Persistent %Library.Persistent

Properties
%ConfigName %ConfigQueueName %CurrentResponseHeader %IsCompleted
%IsTerminated %IsTimerInterrupted %LastActionTime %LastHandledTime
%LastReportedError %MasterPendingResponses %MasterPendingResponsesOld %MessagesReceived
%MessagesReceivedOld %MessagesSent %MessagesSentOld %PrimaryRequestHeader
%PrimaryResponseHeader %QuitTask %RepliedStatus %SessionId
%StatusCode %SuperSession %TimeCompleted %TimeCreated
%WarnedLatest %gatewayConnection %gatewayExtraClasspaths %gatewayProxy
%gatewayTimeout %isShadow %request %response
%responseClassName %responseId Adapter AlertGroups
AlertOnError AlertRetryGracePeriod BusinessPartner FailureTimeout
InactivityTimeout QueueCountAlert QueueWaitAlert ReplyCodeActions
Retry RetryInterval SuspendMessage ThrottleDelay
persistentProperties

Methods
%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 %OnClose %OnDetermineClass %OnNew
%Open %OpenId %OriginalNamespace %PackageName
%PhysicalAddress %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SaveIndices %SerializeObject %SetModified %SortBegin
%SortEnd %SuperSessionSet %SyncObjectIn %SyncTransport
%UnlockExtent %UnlockId %ValidateIndices %ValidateObject
AdapterName AssignOneSetting CheckGatewayConnection CheckGatewayDisconnection
ClearAllPendingResponses Connect DeferResponse Disconnect
EnumerateSettingsClose EnumerateSettingsExecute EnumerateSettingsFetch GenerateSuperSession
GetDeferredResponseToken GetProductionSettingValue GetProductionSettings GetPropertyConnections
GetSettings GetShadowInstance IsResponsePending OnComplete
OnError OnFailureTimeout OnGenerateSuperSession OnGetConnections
OnGetReplyAction OnInit OnKeepalive OnMonitor
OnProductionStart OnProductionStop OnRequest OnResponse
OnTearDown OnTimeout QueueName RemovePendingResponse
Reply ReplyError SendAlert SendDeferredResponse
SendRequestAsync SendRequestSync SetTimer deserialize
dispatchReply dispatchSendRequestAsync dispatchSendRequestSync dispatchSetTimer
getPersistentProperty serialize setPersistentProperty


Parameters


• parameter SETTINGS = "%remoteClassname:Remote BusinessProcess,%remoteSettings:Remote BusinessProcess,%gatewayHost:Remote BusinessProcess,%gatewayPort:Remote BusinessProcess,%gatewayTimeout:Remote BusinessProcess,%gatewayExtraClasspaths:Remote BusinessProcess";
List of properties can be set as settings in the configuration file format is a comma separated list of property names

Properties


• property persistentProperties as array of %String(MAXLEN="");

Methods


• method OnComplete(request As %Library.Persistent, ByRef response As %Library.Persistent) as %Status
Called when all the Async responses are received, or timeout has occurred
• method OnRequest(request As %Persistent, Output response As %Persistent) as %Status
Handle a 'Request'
• method OnResponse(request As %Persistent, ByRef response As %Persistent, callRequest As %Persistent, callResponse As %Persistent, pCompletionKey As %String) as %Status
Handle a 'Response'
• method dispatchReply(response)
• method dispatchSendRequestAsync(target, request, responseRequired, completionkey, description)
• method dispatchSetTimer(timeout, completionKey)
• method getPersistentProperty(name)
• method setPersistentProperty(name, value)