This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

Demo.DICOM.Process.StorageFile

persistent class Demo.DICOM.Process.StorageFile extends EnsLib.DICOM.Process

SQL Table Name: Demo_DICOM_Process.StorageFile

Property Inventory

Method Inventory

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()
property RetryCount as %Integer [ InitialExpression = 3 ];
This is defines the number of times a storage operation should be retried
Property methods: RetryCountDisplayToLogical(), RetryCountGet(), RetryCountGetStored(), RetryCountIsValid(), RetryCountLogicalToDisplay(), RetryCountNormalize(), RetryCountSet()

Methods

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
method OnAssociationErrored(pSourceConfigName As %String, pInput As EnsLib.DICOM.Notify.Errored) as %Status
This callback is called by the framework when an assocation 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
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

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: CacheStorage (Ens.BusinessProcess)

^Ens.BusinessProcessD(ID,"pending",n)
=
%MasterPendingResponses(n)

Storage Model: CacheStorage (Ens.BusinessProcess)

^Ens.BusinessProcessD(ID,"received",n)
=
%MessagesReceived(n)

Storage Model: CacheStorage (Ens.BusinessProcess)

^Ens.BusinessProcessD(ID,"sent",n)
=
%MessagesSent(n)

Storage Model: CacheStorage (Ens.BusinessProcess)

^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

Storage Model: CacheStorage (EnsLib.PrivateSession.Process)

^Ens.BusinessProcessD(ID,"Process")
=
ServiceDuplexName
%IsInPrivateSession

Storage Model: CacheStorage (Demo.DICOM.Process.StorageFile)

^Ens.BusinessProcessD(ID,"StorageFile")
=
OriginatingMessageID
DocumentFromService
CurrentState
OperationDuplexName
RetryCount
Feedback