Click or drag to resize

JavascriptEngineBridge Class

The Javascript Engine bridge
Inheritance Hierarchy
SystemObject
  SanteDB.BusinessRules.JavaScript.JNIJavascriptEngineBridge

Namespace:  SanteDB.BusinessRules.JavaScript.JNI
Assembly:  SanteDB.BusinessRules.JavaScript (in SanteDB.BusinessRules.JavaScript.dll) Version: 2.2.1
Syntax
public class JavascriptEngineBridge

The JavascriptEngineBridge type exposes the following members.

Properties
  NameDescription
Public propertyEnvironment
Get the host environment in which the environment is working
Public propertyIsInFrontEnd
True if the system is operating on the SanteDB Front end
Top
Methods
  NameDescription
Public methodAddBusinessRule(String, String, ExpandoObject, FuncObject, ExpandoObject)
Add a business rule for the specified object
Public methodAddBusinessRule(String, String, String, ExpandoObject, FuncObject, ExpandoObject)
Add a business rule for the specified object
Public methodAddCache(ExpandoObject, ExpandoObject)
Add an object to the cache
Public methodAddCache(String, ExpandoObject)
Add an object to the cache
Public methodAddValidator(String, FuncObject, Object)
Adds validator
Public methodAddValidator(String, String, FuncObject, Object)
Adds validator
Public methodBreak
Break current execution
Public methodDeleteCache
Delete cache item
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecuteBundleRules
Execute bundle rules
Public methodExecuteRule
Executes the business rule
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 methodFind(String, ExpandoObject)
Find object
Public methodFind(String, String)
Finds the specified data
Public methodGet
Gets the specified data from the underlying data-store
Public methodGetCache(ExpandoObject)
Get the object from cache
Public methodGetCache(String)
Add an object to the cache
Public methodGetDataAsset
Get data asset
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetService
Get service by name
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsert
Inserts the specified object
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNewGuid
Generate new guid
Public methodObsolete
Gets the specified data from the underlying data-store
Public methodParseGuid
Generate new guid
Public methodSave
Saves the specified object
Public methodSaveTags
Saves tags associated with the specified object
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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 MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Top
See Also