Click or drag to resize

MetadataResourceHandlerTMetadata Class

Represents a resource handler base class which has appropriate permissions for metadata
Inheritance Hierarchy
SystemObject
  SanteDB.Rest.CommonChainedResourceHandlerBase
    SanteDB.Rest.CommonResourceHandlerBaseTMetadata
      SanteDB.Rest.AMI.ResourcesResourceHandlerBaseTMetadata
        SanteDB.Rest.AMI.ResourcesMetadataResourceHandlerTMetadata
          SanteDB.Rest.AMI.ResourcesIdentityDomainResourceHandler

Namespace: SanteDB.Rest.AMI.Resources
Assembly: SanteDB.Rest.AMI (in SanteDB.Rest.AMI.dll) Version: 3.0.2081-alpha+19f573cdc8c56fbc278c5e41a734f011a9baa699
Syntax
public class MetadataResourceHandler<TMetadata> : ResourceHandlerBase<TMetadata>
where TMetadata : new(), IdentifiedData

Type Parameters

TMetadata

[Missing <typeparam name="TMetadata"/> documentation for "T:SanteDB.Rest.AMI.Resources.MetadataResourceHandler`1"]

The MetadataResourceHandlerTMetadata type exposes the following members.

Constructors
 NameDescription
Public methodMetadataResourceHandlerTMetadata DI constructor
Top
Properties
 NameDescription
Public propertyCapabilities Gets the resource capabilities for the object
(Inherited from ResourceHandlerBaseTData)
Public propertyChildResources Gets the associated resources
(Inherited from ChainedResourceHandlerBase)
Protected propertyLocalizationService Get the localization service
(Inherited from ChainedResourceHandlerBase)
Public propertyOperations Gets the associated resources
(Inherited from ChainedResourceHandlerBase)
Public propertyRepository Get the respository
(Inherited from ResourceHandlerBaseTResource)
Public propertyResourceName Gets the resource name
(Inherited from ResourceHandlerBaseTResource)
Public propertyScope Gets the scope
(Inherited from ResourceHandlerBaseTData)
Public propertyServiceName Get service name
(Inherited from ResourceHandlerBaseTResource)
Public propertyType Gets the type
(Inherited from ResourceHandlerBaseTResource)
Top
Methods
 NameDescription
Public methodAddChildObject Add a child object instance
(Inherited from ChainedResourceHandlerBase)
Public methodAddChildResource Add a child resource
(Inherited from ChainedResourceHandlerBase)
Public methodAddOperation Add a property handler
(Inherited from ChainedResourceHandlerBase)
Public methodCreate Create a resource
(Overrides ResourceHandlerBaseTResourceCreate(Object, Boolean))
Public methodDelete Obsolete metadata
(Overrides ResourceHandlerBaseTResourceDelete(Object))
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows 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 resource
(Overrides ResourceHandlerBaseTResourceGet(Object, Object))
Public methodGetChildObject Get a child object
(Inherited from ChainedResourceHandlerBase)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodHandleFreeTextSearch Handle freetext search
(Inherited from ResourceHandlerBaseTResource)
Public methodInvokeOperation Fetchs the scoped entity
(Inherited from ChainedResourceHandlerBase)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodQuery Query for metadata
(Overrides ResourceHandlerBaseTResourceQuery(NameValueCollection))
Public methodQueryChildObjects Query child objects
(Inherited from ChainedResourceHandlerBase)
Public methodRemoveChildObject Remove a child object
(Inherited from ChainedResourceHandlerBase)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetChainedResource Try to get a chained resource
(Inherited from ChainedResourceHandlerBase)
Public methodTryGetOperation Try to get chianed resource
(Inherited from ChainedResourceHandlerBase)
Public methodUpdate Update metadata
(Overrides ResourceHandlerBaseTResourceUpdate(Object))
Top
Fields
 NameDescription
Protected fieldm_freetextSearch Freetext search
(Inherited from ResourceHandlerBaseTResource)
Protected fieldm_repository IRepository service
(Inherited from ResourceHandlerBaseTResource)
Protected fieldm_subscriptionExecutor Subscrpition executor
(Inherited from ResourceHandlerBaseTResource)
Protected fieldm_tracer The tracer
(Inherited from ChainedResourceHandlerBase)
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 MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
See Also