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

EnsLib.PrivateSession.Process


persistent class EnsLib.PrivateSession.Process extends
Ens.BusinessProcess

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 2 11


Summary


This is a Business Process class.

RequestResponse
%Library.Persistent Ens.Response

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

Methods
%%OIDGet %1Check %AddJrnObjToSyncSet %AddToSaveSet
%AddToSyncSet %BMEBuilt %BindExport %BuildIndices
%BuildIndicesAsync %BuildIndicesAsyncResponse %BuildIndicesSegment %BuildObjectGraph
%CheckConstraints %CheckConstraintsForExtent %ClassIsLatestVersion %ClassName
%Close %ComposeOid %ConstructClone %Delete
%DeleteExtent %DeleteId %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %DowngradeConcurrency %ExecuteAfterTriggers %ExecuteBeforeTriggers
%Exists %ExistsId %Extends %FileIndices
%FileIndicesBuffered %GUID %GUIDSet %GetLock
%GetParameter %GetSwizzleObject %Id %IncrementCount
%InsertBatch %IsA %IsModified %IsNull
%JournalObject %KillExtent %KillExtentData %LoadFromMemory
%LockExtent %LockId %New %NormalizeObject
%ObjectIsNull %ObjectModified %Oid %OnBeforeAddToSync
%OnClose %OnDetermineClass %OnNew %Open
%OpenId %OriginalNamespace %PackageName %PhysicalAddress
%PurgeIndices %Reload %RemoveFromSaveSet %ResolveConcurrencyConflict
%RollBack %SQLAcquireLock %SQLAcquireTableLock %SQLAfterTriggers
%SQLBeforeTriggers %SQLBuildIndices %SQLBuildPurgeIndexForRow %SQLBuildPurgeIndices
%SQLCheckUnique %SQLCheckUniqueIndices %SQLCheckUniqueKeys %SQLCopyIcolIntoName
%SQLCopyNameIntoIcol %SQLCreateInsDelTables %SQLDefineiDjVars %SQLDelete
%SQLDeleteChildren %SQLDeleteTempStreams %SQLEExit %SQLExists
%SQLFKeyDelLock %SQLFastInsert %SQLFieldValidate %SQLGetLock
%SQLGetOld %SQLGetOldAll %SQLGetOldIndex %SQLInsert
%SQLInsertComputes %SQLInsertStreams %SQLInvalid %SQLInvalid2
%SQLMVDelete %SQLMVIndexDelete %SQLMVIndexInsert %SQLMVIndexUpdate
%SQLMVInsert %SQLMVUpdate %SQLMissing %SQLNormalizeCompFields
%SQLNormalizeFields %SQLPurgeIndices %SQLQuickBulkInsert %SQLQuickBulkLoad
%SQLQuickBulkSave %SQLQuickBulkUpdate %SQLQuickDelete %SQLQuickDeleteChildren
%SQLQuickFindPKeyByRowID %SQLQuickFindRowIDByPKey %SQLQuickInsert %SQLQuickLoad
%SQLQuickLoadChildren %SQLQuickLogicalToOdbc %SQLQuickOdbcToLogical %SQLQuickUpdate
%SQLReleaseLock %SQLReleaseTableLock %SQLStorageValidation %SQLTrigDelTab
%SQLTrigInsTab %SQLUnlock %SQLUnlock2 %SQLUnlockError
%SQLUnlockRef %SQLUpdate %SQLUpdateComputes %SQLUpdateStreams
%SQLValidateCompFields %SQLValidateFields %SQLicompView %SQLnBuild
%Save %SaveDirect %SaveIndices %SerializeObject
%SetModified %SortBegin %SortEnd %SuperSessionSet
%SyncObjectIn %SyncTransport %UnlockExtent %UnlockId
%UpgradeConcurrency %ValidateIndices %ValidateObject %requestGet
%responseGet %responseSet AdapterName AssignOneSetting
ClearAllPendingResponses DeferResponse EnumerateSettingsClose EnumerateSettingsExecute
EnumerateSettingsFetch EvalInitialExpression GenerateSuperSession GetDeferredResponseToken
GetMessageList GetProductionSettingValue GetProductionSettings GetPropertyConnections
GetRequestClassList GetResponseClassList GetSettings GetShadowInstance
IsInPrivateSession IsInPrivateSessionSet IsResponsePending MessageHeaderHandler
OnComplete OnDocument OnError OnErroredResponse
OnFailureTimeout OnGenerateSuperSession OnGetConnections OnGetReplyAction
OnInit OnKeepalive OnMonitor OnPrivateSessionStarted
OnPrivateSessionStopped OnProductionStart OnProductionStop OnRequest
OnResponse OnTask OnTearDown OnTimeout
Purge QueueName RemovePendingResponse Reply
ReplyError SendAlert SendDeferredResponse SendRequestAsync
SendRequestAsyncInternal SendRequestSync SendRequestSyncMultiple SetTimer
StartPrivateSession StopAllPrivateSessions StopPrivateSession UnRegisterPrivateSession
WillHandleErroredResponse acceptRequestAsync acceptRequestSync doReplyAction
finalReplyAction findCachedObject getId initConfig
inprocRequest makeConnections queueRequestAsync queueRequestSync


Parameters


• parameter DOMAIN = "EnsDICOM";
Domain for Text localization

Properties


• property %IsInPrivateSession as array of %Boolean(STORAGEDEFAULT="list");
Indicates if a given ConfigItem is in private session or not
• property ServiceDuplexName as %String;
The Duplex Service name. This property is set at runtime after receiving the primary request

Methods


• method IsInPrivateSession(pDuplexConfigName As %String) as %Boolean
• method IsInPrivateSessionSet(pDuplexConfigName As %String, pInPrivateSession As %Boolean)
IsInPrivateSession
• method OnDocument(pSourceConfigName As %String, pInput As %Library.Persistent) as %Status
• method OnPrivateSessionStarted(pSourceConfigName As %String, pSelfGenerated As %Boolean) as %Status
• method OnPrivateSessionStopped(pSourceConfigName As %String, pSelfGenerated As %Boolean, pAttachedMessage As %Persistent = "") as %Status
• method OnRequest(pRequest As %Library.Persistent, Output pResponse As Ens.Response) as %Status
This method is always called asynchronously ONCE at the beginning of the process
• method OnResponse(request As %Library.Persistent, ByRef response As %Library.Persistent, callrequest As %Library.Persistent, callresponse As %Library.Persistent, pCompletionKey As %String) as %Status
Handle a 'Response'
• method StartPrivateSession(pDuplexConfigName As %String = "") as %Status
• method StopAllPrivateSessions(pAttachedMessage As %Persistent = "") as %Status
• method StopPrivateSession(pDuplexConfigName As %String = "", pAttachedMessage As %Persistent = "") as %Status
• method UnRegisterPrivateSession(pDuplexConfigName As %String) as %String