Click or drag to resize

ResourceHandlerBaseTData Class

Represents a resource handler base type that is always bound to HDSI
Inheritance Hierarchy
SystemObject
  SanteDB.Rest.CommonResourceHandlerBaseTData
    SanteDB.Rest.HDSI.ResourcesResourceHandlerBaseTData
      More...

Namespace:  SanteDB.Rest.HDSI.Resources
Assembly:  SanteDB.Rest.HDSI (in SanteDB.Rest.HDSI.dll) Version: 2.2.1
Syntax
public abstract class ResourceHandlerBase<TData> : ResourceHandlerBase<TData>, 
	INullifyResourceHandler, IApiResourceHandler, ICancelResourceHandler, IChainedApiResourceHandler, ICheckoutResourceHandler, 
	IApiResourceHandlerEx, IOperationalApiResourceHandler
where TData : new(), IdentifiedData

Type Parameters

TData
The data which the resource handler is bound to

The ResourceHandlerBaseTData type exposes the following members.

Constructors
Properties
Methods
  NameDescription
Public methodAddChildObject
Add an associated entity
Public methodAddChildResource
Add the property handler to this handler
Public methodAddOperation
Add the child operation
Public methodCancel
Cancel the specified object
Public methodCheckIn
Release the specified lock
Public methodCheckOut
Attempt to get a lock on the specified object
Public methodCreate
Create a resource
(Inherited from ResourceHandlerBaseTResource.)
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
Read clinical data
(Inherited from ResourceHandlerBaseTResource.)
Public methodGetChildObject
Get associated entity
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetRepository
Gets the repository
(Inherited from ResourceHandlerBaseTResource.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInvokeOperation
Invoke the specified operation
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNullify
Nullify the specified object
Public methodObsolete
OBsoletion wrapper with locking
(Overrides ResourceHandlerBaseTResourceObsolete(Object).)
Public methodQuery(NameValueCollection)
Perform a query
(Inherited from ResourceHandlerBaseTResource.)
Public methodQuery(NameValueCollection, Int32, Int32, Int32)
Perform the actual query
(Inherited from ResourceHandlerBaseTResource.)
Public methodQueryChildObjects
Query for associated entities
Public methodRemoveChildObject
Remove an associated entity
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTouch
Touch the specified object
Public methodTryGetChainedResource
Try to get a chained resource
Public methodTryGetOperation
Try to get operation
Public methodUpdate
Update with lock
(Overrides ResourceHandlerBaseTResourceUpdate(Object).)
Top
Fields
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
See Also
Inheritance Hierarchy
SystemObject
  SanteDB.Rest.CommonResourceHandlerBaseTData
    SanteDB.Rest.HDSI.ResourcesResourceHandlerBaseTData
      SanteDB.Rest.HDSI.ResourcesActResourceHandler
      SanteDB.Rest.HDSI.ResourcesApplicationEntityResourceHandler
      SanteDB.Rest.HDSI.ResourcesAssigningAuthorityResourceHandler
      SanteDB.Rest.HDSI.ResourcesBundleResourceHandler
      SanteDB.Rest.HDSI.ResourcesCodeSystemResourceHandler
      SanteDB.Rest.HDSI.ResourcesConceptClassResourceHandler
      SanteDB.Rest.HDSI.ResourcesConceptResourceHandler
      SanteDB.Rest.HDSI.ResourcesConceptSetResourceHandler
      SanteDB.Rest.HDSI.ResourcesDeviceEntityResourceHandler
      SanteDB.Rest.HDSI.ResourcesEntityRelationshipResourceHandler
      SanteDB.Rest.HDSI.ResourcesEntityResourceHandler
      SanteDB.Rest.HDSI.ResourcesExtensionTypeResourceHandler
      SanteDB.Rest.HDSI.ResourcesIdentifierTypeResourceHandler
      SanteDB.Rest.HDSI.ResourcesManufacturedMaterialHandler
      SanteDB.Rest.HDSI.ResourcesMaterialResourceHandler
      SanteDB.Rest.HDSI.ResourcesObservationResourceHandlerTObservation
      SanteDB.Rest.HDSI.ResourcesOrganizationResourceHandler
      SanteDB.Rest.HDSI.ResourcesPatientEncounterResourceHandler
      SanteDB.Rest.HDSI.ResourcesPatientResourceHandler
      SanteDB.Rest.HDSI.ResourcesPersonResourceHandler
      SanteDB.Rest.HDSI.ResourcesPlaceResourceHandler
      SanteDB.Rest.HDSI.ResourcesProcedureResourceHandler
      SanteDB.Rest.HDSI.ResourcesProviderResourceHandler
      SanteDB.Rest.HDSI.ResourcesReferenceTermResourceHandler
      SanteDB.Rest.HDSI.ResourcesSubstanceAdministrationResourceHandler
      SanteDB.Rest.HDSI.ResourcesTemplateDefinitionResourceHandler
      SanteDB.Rest.HDSI.ResourcesUserEntityResourceHandler