JavascriptEngineBridge Class |
Namespace: SanteDB.BusinessRules.JavaScript.JNI
The JavascriptEngineBridge type exposes the following members.
| Name | Description | |
|---|---|---|
| Environment |
Get the host environment in which the environment is working
| |
| IsInFrontEnd |
True if the system is operating on the SanteDB Front end
|
| Name | Description | |
|---|---|---|
| AddBusinessRule(String, String, ExpandoObject, FuncObject, ExpandoObject) |
Add a business rule for the specified object
| |
| AddBusinessRule(String, String, String, ExpandoObject, FuncObject, ExpandoObject) |
Add a business rule for the specified object
| |
| AddCache(ExpandoObject, ExpandoObject) |
Add an object to the cache
| |
| AddCache(String, ExpandoObject) |
Add an object to the cache
| |
| AddValidator(String, FuncObject, Object) |
Adds validator
| |
| AddValidator(String, String, FuncObject, Object) |
Adds validator
| |
| Break |
Break current execution
| |
| DeleteCache |
Delete cache item
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| ExecuteBundleRules |
Execute bundle rules
| |
| ExecuteRule |
Executes the business rule
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| Find(String, ExpandoObject) |
Find object
| |
| Find(String, String) |
Finds the specified data
| |
| Get |
Gets the specified data from the underlying data-store
| |
| GetCache(ExpandoObject) |
Get the object from cache
| |
| GetCache(String) |
Add an object to the cache
| |
| GetDataAsset |
Get data asset
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetService |
Get service by name
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Insert |
Inserts the specified object
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| NewGuid |
Generate new guid
| |
| Obsolete |
Gets the specified data from the underlying data-store
| |
| ParseGuid |
Generate new guid
| |
| Save |
Saves the specified object
| |
| SaveTags |
Saves tags associated with the specified object
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| ConvertTReturn |
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.) | |
| GetInstanceOfTDomain |
Gets an instance of TDomain from me
(Defined by ModelExtensions.) |