Demo.DICOM.Process.Storage
persistent class Demo.DICOM.Process.Storage extends EnsLib.DICOM.Process
SQL Table Name: Demo_DICOM_Process.Storage
Property Inventory
Method Inventory
- OnAssociationAborted()
- OnAssociationErrored()
- OnAssociationEstablished()
- OnAssociationRejected()
- OnAssociationReleased()
- OnError()
- OnMessage()
Parameters
parameter SETTINGS = OperationDuplexName;
This parameter names the operation used to provide storage
Properties
property CurrentState as %String [ InitialExpression = "OperationNotConnected" ];
This keeps track of the current state of the process
Property methods: CurrentStateDisplayToLogical(), CurrentStateGet(), CurrentStateGetStored(), CurrentStateIsValid(), CurrentStateLogicalToDisplay(), CurrentStateLogicalToOdbc(), CurrentStateNormalize(), CurrentStateSet()
property DocumentFromService as EnsLib.DICOM.Document;
This is the incoming document from the business Sservice
Property methods: DocumentFromServiceGet(), DocumentFromServiceGetObject(), DocumentFromServiceGetObjectId(), DocumentFromServiceGetStored(), DocumentFromServiceGetSwizzled(), DocumentFromServiceIsValid(), DocumentFromServiceNewObject(), DocumentFromServiceSet(), DocumentFromServiceSetObject(), DocumentFromServiceSetObjectId(), DocumentFromServiceUnSwizzle()
property OperationDuplexName;
This is the name of the operation providing storage
Property methods: OperationDuplexNameDisplayToLogical(), OperationDuplexNameGet(), OperationDuplexNameGetStored(), OperationDuplexNameIsValid(), OperationDuplexNameLogicalToDisplay(), OperationDuplexNameLogicalToOdbc(), OperationDuplexNameNormalize(), OperationDuplexNameSet()
property OriginatingMessageID as %Integer;
This keeps track of the OriginatingMessageID
Property methods: OriginatingMessageIDDisplayToLogical(), OriginatingMessageIDGet(), OriginatingMessageIDGetStored(), OriginatingMessageIDIsValid(), OriginatingMessageIDLogicalToDisplay(), OriginatingMessageIDNormalize(), OriginatingMessageIDSet()
Methods
final method OnAssociationAborted(pSourceConfigName As %String, pInput As EnsLib.DICOM.Notify.Aborted) as %Status
This callback is called by the framework when an association is aborted
final method OnAssociationErrored(pSourceConfigName As %String, pInput As EnsLib.DICOM.Notify.Errored) as %Status
This callback is called by the framework when an association encounters an error
method OnAssociationEstablished(pSourceConfigName As %String, pInput As EnsLib.DICOM.Notify.Established) as %Status
This method is called by the framework on successful establishment of an association
final method OnAssociationRejected(pSourceConfigName As %String, pInput As EnsLib.DICOM.Notify.Rejected) as %Status
This callback is called by the framework when an Association is rejected
method OnAssociationReleased(pSourceConfigName As %String, pInput As EnsLib.DICOM.Notify.Released) as %Status
Inherited description: This callback is called by the framework when an Association is released
method OnError(request As %Library.Persistent, ByRef response As %Library.Persistent, callrequest As %Library.Persistent, pErrorStatus As %Status, pCompletionKey As %String) as %Status
This method is called when any error occurs. Returning the same error will cause the BusinessProcess to set its
status to error and close down
method OnMessage(pSourceConfigName As %String, pInput As %Library.Persistent) as %Status
Messages received here are instances of EnsLib.DICOM.Document sent to this
process by the service or operation config items. In this demo, the process is ever
in one of two states, the Operation is connected or not.
Inherited Members
Inherited Properties
- %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
Inherited Methods
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %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()
- AbortAssociation()
- AdapterName()
- AssignOneSetting()
- ClearAllPendingResponses()
- DeferResponse()
- EnumerateSettingsClose()
- EnumerateSettingsExecute()
- EnumerateSettingsFetch()
- EstablishAssociation()
- GenerateSuperSession()
- GetDeferredResponseToken()
- GetProductionSettingValue()
- GetProductionSettings()
- GetPropertyConnections()
- GetSettings()
- GetShadowInstance()
- IsInPrivateSession()
- IsInPrivateSessionSet()
- IsResponsePending()
- OnComplete()
- OnDetermineTransferSyntax()
- OnFailureTimeout()
- OnGenerateSuperSession()
- OnGetConnections()
- OnGetReplyAction()
- OnInit()
- OnKeepalive()
- OnMonitor()
- OnProductionStart()
- OnProductionStop()
- OnRequest()
- OnResponse()
- OnTearDown()
- OnTimeout()
- QueueName()
- ReleaseAssociation()
- RemovePendingResponse()
- Reply()
- ReplyError()
- ScheduleWakeupCall()
- SendAlert()
- SendDeferredResponse()
- SendRequestAsync()
- SendRequestSync()
- SetTimer()
- StartPrivateSession()
- StopAllPrivateSessions()
- StopPrivateSession()
- UnRegisterPrivateSession()
Storage
Gray indicates storage defined by superclasses.
Storage Model: CacheStorage (Ens.BusinessProcess)
^Ens.BusinessProcessD(ID,"pending",n) | = | %MasterPendingResponses(n) |
^Ens.BusinessProcessD(ID,"received",n) | = | %MessagesReceived(n) |
^Ens.BusinessProcessD(ID,"sent",n) | = | %MessagesSent(n) |
^Ens.BusinessProcessD(ID) | = | %%CLASSNAME
%ConfigQueueName
%IsCompleted
%MasterPendingResponsesOld
%PrimaryRequestHeader
%PrimaryResponseHeader
%RepliedStatus
%responseId
Adapter
%SessionId
%TimeCompleted
%TimeCreated
%ConfigName
%QuitTask
AlertOnError
%responseClassName
%IsTimerInterrupted
%IsTerminated
%StatusCode
%MessagesReceivedOld
%MessagesSentOld
ReplyCodeActions
RetryInterval
AlertRetryGracePeriod
FailureTimeout
Retry
SuspendMessage
QueueCountAlert
QueueWaitAlert
InactivityTimeout
BusinessPartner
AlertGroups
%SuperSession
|
^Ens.BusinessProcessD(ID,"Process") | = | ServiceDuplexName
%IsInPrivateSession
|
^Ens.BusinessProcessD(ID,"Storage") | = | OriginatingMessageID
DocumentFromService
DocumentFromOperation
CurrentState
OperationDuplexName
|