Click or drag to resize

IChainedApiResourceHandler Interface

Represnets a resource handler which can link sub-objects (or certain sub-objects) with a parent object

Namespace:  SanteDB.Rest.Common
Assembly:  SanteDB.Rest.Common (in SanteDB.Rest.Common.dll) Version: 2.2.1
Syntax
public interface IChainedApiResourceHandler : IApiResourceHandler

The IChainedApiResourceHandler type exposes the following members.

Properties
  NameDescription
Public propertyCapabilities
Gets the capabilities of this service
(Inherited from IApiResourceHandler.)
Public propertyChildResources
Gets the associated resources
Public propertyResourceName
Gets the name of the resource which the resource handler supports.
(Inherited from IApiResourceHandler.)
Public propertyScope
Get the scope of this resource handler (the service to which the resources are bound)
(Inherited from IApiResourceHandler.)
Public propertyType
Gets the type which the resource handler supports.
(Inherited from IApiResourceHandler.)
Top
Methods
  NameDescription
Public methodAddChildObject
Adds the specified object with sub item key
Public methodAddChildResource
Add a property handler
Public methodCreate
Creates a resource.
(Inherited from IApiResourceHandler.)
Public methodGet
Gets a specific resource instance.
(Inherited from IApiResourceHandler.)
Public methodGetChildObject
Fetchs the scoped entity
Public methodObsolete
Obsoletes a resource.
(Inherited from IApiResourceHandler.)
Public methodQuery(NameValueCollection)
Queries for a resource.
(Inherited from IApiResourceHandler.)
Public methodQuery(NameValueCollection, Int32, Int32, Int32)
Queries for a resource.
(Inherited from IApiResourceHandler.)
Public methodQueryChildObjects
Queries the associated entities which are contained within the specified scoping entity
Public methodRemoveChildObject
Removes the specified associated entity form the specified property name collection
Public methodTryGetChainedResource
Try to get chianed resource
Public methodUpdate
Updates a resource.
(Inherited from IApiResourceHandler.)
Top
See Also