Click or drag to resize

SecurityRoleResourceHandler Class

A resource handler which handles security roles
Inheritance Hierarchy
SystemObject
  SanteDB.Rest.AMI.ResourcesSecurityEntityResourceHandlerSecurityRole
    SanteDB.Rest.AMI.ResourcesSecurityRoleResourceHandler

Namespace:  SanteDB.Rest.AMI.Resources
Assembly:  SanteDB.Rest.AMI (in SanteDB.Rest.AMI.dll) Version: 2.2.1
Syntax
public class SecurityRoleResourceHandler : SecurityEntityResourceHandler<SecurityRole>

The SecurityRoleResourceHandler type exposes the following members.

Constructors
  NameDescription
Public methodSecurityRoleResourceHandler
DI constructor
Top
Properties
  NameDescription
Public propertyCapabilities
Gets the capabilities of the resource
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public propertyChildResources
Get the child resources
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public propertyResourceName
Gets the name of the resource
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public propertyScope
Gets the scope of the object
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public propertyServiceName (Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public propertyType
Get the type
(Overrides SecurityEntityResourceHandlerTSecurityEntityType.)
Top
Methods
  NameDescription
Public methodAddChildObject
Add a child object instance
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public methodAddChildResource
Add a child resource
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public methodCreate
Create the specified security role
(Overrides SecurityEntityResourceHandlerTSecurityEntityCreate(Object, Boolean).)
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
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public methodGet
Get the specified object
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public methodGetChildObject
Get a child object
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetRepository
Gets the repository
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
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 roles
(Overrides SecurityEntityResourceHandlerTSecurityEntityObsolete(Object).)
Public methodQuery(NameValueCollection)
Query for the specified object
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public methodQuery(NameValueCollection, Int32, Int32, Int32)
Query for specified objects
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public methodQueryChildObjects
Query child objects
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public methodRemoveChildObject
Remove an associated entity
(Overrides SecurityEntityResourceHandlerTSecurityEntityRemoveChildObject(Object, String, Object).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetChainedResource
Try to get a chained resource
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public methodUpdate
Update roles
(Overrides SecurityEntityResourceHandlerTSecurityEntityUpdate(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