Click or drag to resize

AmiServiceBehavior Class

DCG Administration Management Interface Service
Inheritance Hierarchy
SystemObject
  SanteDB.Messaging.AMI.WcfAmiServiceBehaviorBase
    SanteDB.DisconnectedClient.Ags.ServicesAmiServiceBehavior

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 AmiServiceBehaviorBaseAssociationCreate(String, String, String, Object).)
Public methodAssociationGet
Get associated object
(Overrides AmiServiceBehaviorBaseAssociationGet(String, String, String, String).)
Public methodAssociationRemove
Remove associated object
(Overrides AmiServiceBehaviorBaseAssociationRemove(String, String, String, String).)
Public methodAssociationSearch
Associated object search
(Overrides AmiServiceBehaviorBaseAssociationSearch(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 AmiServiceBehaviorBaseCreate(String, Object).)
Public methodCreateDiagnosticReport
Submits a diagnostic report
(Overrides AmiServiceBehaviorBaseCreateDiagnosticReport(DiagnosticReport).)
Public methodCreateUpdate
Create or update the specified resource
(Overrides AmiServiceBehaviorBaseCreateUpdate(String, String, Object).)
Public methodDelete
Delete the specified object
(Overrides AmiServiceBehaviorBaseDelete(String, String).)
Public methodDownloadLog
Download the log contents as a stream
(Overrides AmiServiceBehaviorBaseDownloadLog(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 AmiServiceBehaviorBaseGet(String, String).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLog
Get a single log file from the service
(Overrides AmiServiceBehaviorBaseGetLog(String).)
Public methodGetLogs
Get logs for the application
(Overrides AmiServiceBehaviorBaseGetLogs.)
Protected methodGetResourceHandler
Resource handler
(Overrides AmiServiceBehaviorBaseGetResourceHandler.)
Public methodGetSchema
Gets the schema for the administrative interface.
(Inherited from AmiServiceBehaviorBase.)
Public methodGetServerDiagnosticReport
Get a diagnostic report
(Overrides AmiServiceBehaviorBaseGetServerDiagnosticReport.)
Public methodGetTfaMechanisms
Get allowed TFA mechanisms
(Overrides AmiServiceBehaviorBaseGetTfaMechanisms.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVersion
Get version
(Overrides AmiServiceBehaviorBaseGetVersion(String, String, String).)
Public methodHead
Perform a head operation
(Inherited from AmiServiceBehaviorBase.)
Public methodHistory
Get the history of the object
(Overrides AmiServiceBehaviorBaseHistory(String, String).)
Public methodInvokeMethod(String, String, ParameterCollection)
Invoke a method
(Overrides AmiServiceBehaviorBaseInvokeMethod(String, String, ParameterCollection).)
Public methodInvokeMethod(String, String, String, ParameterCollection)
Invoke the specified operation on a specific instance
(Overrides AmiServiceBehaviorBaseInvokeMethod(String, String, String, ParameterCollection).)
Public methodLock
Lock the specified object
(Overrides AmiServiceBehaviorBaseLock(String, String).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOptions
Get the available service options
(Overrides AmiServiceBehaviorBaseOptions.)
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 AmiServiceBehaviorBaseResourceOptions(String).)
Public methodSearch
Perform a search on the AMI
(Overrides AmiServiceBehaviorBaseSearch(String).)
Protected methodThrowIfNotReady
Throw if the service is not ready
(Overrides AmiServiceBehaviorBaseThrowIfNotReady.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnLock
Unlock the resource
(Overrides AmiServiceBehaviorBaseUnLock(String, String).)
Public methodUpdate
Update the object
(Overrides AmiServiceBehaviorBaseUpdate(String, String, Object).)
Top
Fields
  NameDescription
Protected fieldm_traceSource
Trace source for logging
(Inherited from AmiServiceBehaviorBase.)
Top
Extension Methods
  NameDescription
Public Extension MethodConvertTReturn
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 MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Top
Remarks
This class implements the service behaviors for the Disconnected Gateway
See Also