Click or drag to resize

AmiServiceBehavior Class

DCG Administration Management Interface Service
Inheritance Hierarchy
System.Object
  SanteDB.Messaging.AMI.Wcf.AmiServiceBehaviorBase
    SanteDB.DisconnectedClient.Ags.Services.AmiServiceBehavior

Namespace:  SanteDB.DisconnectedClient.Ags.Services
Assembly:  SanteDB.DisconnectedClient.Ags (in SanteDB.DisconnectedClient.Ags.dll) Version: 2.2.1
Syntax
public class AmiServiceBehavior : AmiServiceBehaviorBase

The AmiServiceBehavior type exposes the following members.

Constructors
  NameDescription
Public methodAmiServiceBehavior
AMI service behavior
Top
Methods
  NameDescription
Public methodAssociationCreate
Association based create
(Overrides AmiServiceBehaviorBase.AssociationCreate(String, String, String, Object).)
Public methodAssociationGet
Get associated object
(Overrides AmiServiceBehaviorBase.AssociationGet(String, String, String, String).)
Public methodAssociationRemove
Remove associated object
(Overrides AmiServiceBehaviorBase.AssociationRemove(String, String, String, String).)
Public methodAssociationSearch
Associated object search
(Overrides AmiServiceBehaviorBase.AssociationSearch(String, String, String).)
Public methodCheckIn
Check-in the specified object
(Inherited from AmiServiceBehaviorBase.)
Public methodCheckOut
Check-out the specified object
(Inherited from AmiServiceBehaviorBase.)
Public methodCreate
Create the specified resource
(Overrides AmiServiceBehaviorBase.Create(String, Object).)
Public methodCreateDiagnosticReport
Submits a diagnostic report
(Overrides AmiServiceBehaviorBase.CreateDiagnosticReport(DiagnosticReport).)
Public methodCreateUpdate
Create or update the specified resource
(Overrides AmiServiceBehaviorBase.CreateUpdate(String, String, Object).)
Public methodDelete
Delete the specified object
(Overrides AmiServiceBehaviorBase.Delete(String, String).)
Public methodDownloadLog
Download the log contents as a stream
(Overrides AmiServiceBehaviorBase.DownloadLog(String).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGet
Get the specified object
(Overrides AmiServiceBehaviorBase.Get(String, String).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLog
Get a single log file from the service
(Overrides AmiServiceBehaviorBase.GetLog(String).)
Public methodGetLogs
Get logs for the application
(Overrides AmiServiceBehaviorBase.GetLogs().)
Protected methodGetResourceHandler
Resource handler
(Overrides AmiServiceBehaviorBase.GetResourceHandler().)
Public methodGetSchema
Gets the schema for the administrative interface.
(Inherited from AmiServiceBehaviorBase.)
Public methodGetServerDiagnosticReport
Get a diagnostic report
(Overrides AmiServiceBehaviorBase.GetServerDiagnosticReport().)
Public methodGetTfaMechanisms
Get allowed TFA mechanisms
(Overrides AmiServiceBehaviorBase.GetTfaMechanisms().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVersion
Get version
(Overrides AmiServiceBehaviorBase.GetVersion(String, String, String).)
Public methodHead
Perform a head operation
(Inherited from AmiServiceBehaviorBase.)
Public methodHistory
Get the history of the object
(Overrides AmiServiceBehaviorBase.History(String, String).)
Public methodInvokeMethod(String, String, ParameterCollection)
Invoke a method
(Overrides AmiServiceBehaviorBase.InvokeMethod(String, String, ParameterCollection).)
Public methodInvokeMethod(String, String, String, ParameterCollection)
Invoke the specified operation on a specific instance
(Overrides AmiServiceBehaviorBase.InvokeMethod(String, String, String, ParameterCollection).)
Public methodLock
Lock the specified object
(Overrides AmiServiceBehaviorBase.Lock(String, String).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOptions
Get the available service options
(Overrides AmiServiceBehaviorBase.Options().)
Public methodPatch
Perform a patch on the serviceo
(Inherited from AmiServiceBehaviorBase.)
Public methodPing
Perform a ping
(Inherited from AmiServiceBehaviorBase.)
Public methodResourceOptions
Get resource options
(Overrides AmiServiceBehaviorBase.ResourceOptions(String).)
Public methodSearch
Perform a search on the AMI
(Overrides AmiServiceBehaviorBase.Search(String).)
Protected methodThrowIfNotReady
Throw if the service is not ready
(Overrides AmiServiceBehaviorBase.ThrowIfNotReady().)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnLock
Unlock the resource
(Overrides AmiServiceBehaviorBase.UnLock(String, String).)
Public methodUpdate
Update the object
(Overrides AmiServiceBehaviorBase.Update(String, String, Object).)
Top
Fields
  NameDescription
Protected fieldm_traceSource
Trace source for logging
(Inherited from AmiServiceBehaviorBase.)
Top
Extension Methods
  NameDescription
Public Extension MethodConvert<TReturn>
The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods.)
Public Extension MethodGetInstanceOf<TDomain>
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Top
Remarks
This class implements the service behaviors for the Disconnected Gateway
See Also