Click or drag to resize

SecurityEntityResourceHandlerTSecurityEntity Class

Represents a resource handler that wraps a security based entity
Inheritance Hierarchy

Namespace:  SanteDB.Rest.AMI.Resources
Assembly:  SanteDB.Rest.AMI (in SanteDB.Rest.AMI.dll) Version: 2.2.1
Syntax
public abstract class SecurityEntityResourceHandler<TSecurityEntity> : IApiResourceHandler, 
	IChainedApiResourceHandler, IServiceImplementation
where TSecurityEntity : SecurityEntity

Type Parameters

TSecurityEntity
The type of security entity being wrapped

The SecurityEntityResourceHandlerTSecurityEntity type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCapabilities
Gets the capabilities of the resource
Public propertyChildResources
Get the child resources
Public propertyResourceName
Gets the name of the resource
Public propertyScope
Gets the scope of the object
Public propertyServiceName
Public propertyType
Gets the type that this handles
Top
Methods
  NameDescription
Public methodAddChildObject
Add a child object instance
Public methodAddChildResource
Add a child resource
Public methodCreate
Creates the specified object in the underlying data store
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.)
Protected methodFireSecurityAttributesChanged
Raise the security attributes change event
Public methodGet
Get the specified object
Public methodGetChildObject
Get a child object
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetRepository
Gets the repository
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodObsolete
Obsolete the specified object
Public methodQuery(NameValueCollection)
Query for the specified object
Public methodQuery(NameValueCollection, Int32, Int32, Int32)
Query for specified objects
Public methodQueryChildObjects
Query child objects
Public methodRemoveChildObject
Remove a child object
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetChainedResource
Try to get a chained resource
Public methodUpdate
Update the specified 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