Difference between revisions of "Data (host object)"
From BioUML platform
m (Protected "Data (host object)": Autogenerated page ([edit=sysop] (indefinite))) |
(Automatic synchronization with BioUML) |
||
(2 intermediate revisions by one user not shown) | |||
Line 2: | Line 2: | ||
:data | :data | ||
;Class | ;Class | ||
− | :{{Class|ru.biosoft. | + | :{{Class|ru.biosoft.plugins.javascript.host.JavaScriptData}} |
;Plugin | ;Plugin | ||
− | :[[Ru.biosoft. | + | :[[Ru.biosoft.plugins.javascript (plugin)|ru.biosoft.plugins.javascript (JavaScript)]] |
[[Category:Host objects]] | [[Category:Host objects]] | ||
=== JavaScript host object === | === JavaScript host object === | ||
Line 13: | Line 13: | ||
==== Functions: ==== | ==== Functions: ==== | ||
− | |||
* Scriptable '''columnNames'''({{Class|ru.biosoft.access.DataCollection}} dc) | * Scriptable '''columnNames'''({{Class|ru.biosoft.access.DataCollection}} dc) | ||
* Boolean '''contains'''(String path) | * Boolean '''contains'''(String path) | ||
* Boolean '''contains2'''(String path, {{Class|ru.biosoft.access.DataCollection}} dc) | * Boolean '''contains2'''(String path, {{Class|ru.biosoft.access.DataCollection}} dc) | ||
* {{Class|ru.biosoft.access.FileDataElement}} '''createFile'''(FileCollection parent, String name) | * {{Class|ru.biosoft.access.FileDataElement}} '''createFile'''(FileCollection parent, String name) | ||
− | * {{Class|ru.biosoft.access.DataElement}} '''get'''(String path) | + | * {{Class|ru.biosoft.access.DataElement}} '''get'''(String path<nowiki>[</nowiki>, String className<nowiki>]</nowiki>) |
* {{Class|ru.biosoft.access.DataCollection}} '''get2'''({{Class|ru.biosoft.access.DataCollection}} dc, String path) | * {{Class|ru.biosoft.access.DataCollection}} '''get2'''({{Class|ru.biosoft.access.DataCollection}} dc, String path) | ||
* String '''getLastError'''() | * String '''getLastError'''() | ||
Line 27: | Line 26: | ||
* void '''recalc'''({{Class|ru.biosoft.access.DataCollection}} dc, String column, String expression) | * void '''recalc'''({{Class|ru.biosoft.access.DataCollection}} dc, String column, String expression) | ||
* Boolean '''remove'''({{Class|ru.biosoft.access.DataCollection}} dc, String path) | * Boolean '''remove'''({{Class|ru.biosoft.access.DataCollection}} dc, String path) | ||
− | |||
* Boolean '''save'''({{Class|ru.biosoft.access.DataCollection}} dc, String path) | * Boolean '''save'''({{Class|ru.biosoft.access.DataCollection}} dc, String path) | ||
− | |||
* Object '''value'''(Object source, String element, String column) | * Object '''value'''(Object source, String element, String column) | ||
[[Category:Autogenerated pages]] | [[Category:Autogenerated pages]] |
Latest revision as of 12:21, 25 August 2015
- Host object name
- data
- Class
JavaScriptData
- Plugin
- ru.biosoft.plugins.javascript (JavaScript)
[edit] JavaScript host object
ScriptableObject data
Facade for data-manipulations
[edit] Functions:
- Scriptable columnNames(
DataCollection
dc) - Boolean contains(String path)
- Boolean contains2(String path,
DataCollection
dc) -
FileDataElement
createFile(FileCollection parent, String name) -
DataElement
get(String path[, String className]) -
DataCollection
get2(DataCollection
dc, String path) - String getLastError()
- DataElement importFile(DataCollection parent, FileDataElement de, String name[, String format])
- DataElement importFile2(DataCollection parent, String path)
-
TableDataCollection
join(String type, Object leftSource, Object rightSource, String leftColumns, String rightColumns, String resultName) - Boolean put(
DataCollection
dc, String path,Object
de) - void recalc(
DataCollection
dc, String column, String expression) - Boolean remove(
DataCollection
dc, String path) - Boolean save(
DataCollection
dc, String path) - Object value(Object source, String element, String column)