Difference between revisions of "Data (host object)"
From BioUML platform
m (Protected "Data (host object)": Autogenerated page ([edit=sysop] (indefinite))) |
(Automatic synchronization with BioUML) |
||
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) | ||
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) | ||
* {{Class|ru.biosoft.access.FilteredDataCollection}} '''trim'''(Object source, Integer from, Integer to) | * {{Class|ru.biosoft.access.FilteredDataCollection}} '''trim'''(Object source, Integer from, Integer to) |
Revision as of 11:20, 13 January 2014
- Host object name
- data
- Class
JavaScriptData
- Plugin
- ru.biosoft.plugins.javascript (JavaScript)
JavaScript host object
ScriptableObject data
Facade for data-manipulations
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) -
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) -
FilteredDataCollection
trim(Object source, Integer from, Integer to) - Object value(Object source, String element, String column)