public class TabStructuredImport extends Object
| Constructor and Description |
|---|
TabStructuredImport() |
| Modifier and Type | Method and Description |
|---|---|
static void |
importCompetencies(String text,
String serverUrl,
org.cassproject.ebac.identity.EcIdentity owner,
org.stjs.javascript.functions.Callback2<org.stjs.javascript.Array<EcCompetency>,org.stjs.javascript.Array<EcAlignment>> success,
org.stjs.javascript.functions.Callback1<String> failure,
org.stjs.javascript.functions.Callback1<Object> incremental,
org.cassproject.ebac.repository.EcRepository repo,
boolean hashNameForId)
Method to create competencies (and relationships if the parameters are passed in)
based on a CSV file and references to which columns correspond to which pieces
of data.
|
public static void importCompetencies(String text, String serverUrl, org.cassproject.ebac.identity.EcIdentity owner, org.stjs.javascript.functions.Callback2<org.stjs.javascript.Array<EcCompetency>,org.stjs.javascript.Array<EcAlignment>> success, org.stjs.javascript.functions.Callback1<String> failure, org.stjs.javascript.functions.Callback1<Object> incremental, org.cassproject.ebac.repository.EcRepository repo, boolean hashNameForId)
{Object} - text
Text to extract competencies from{String} - serverUrl
URL Prefix for the created competencies (and relationships?){EcIdentity} - owner
EcIdentity that will own the created competencies (and relationships?){Callback2, - Array{Callback1 - [failure]
Callback triggered if an error during creating the competencies{Callback1 - [incremental]
Callback triggered incrementally during creation of competencies to indicate progress,
returns an object indicating the number of competencies (and relationships?) created so far{EcRepository} - repo
Repository to save any new data to, or to use to generate IDs.Copyright © 2019 Eduworks Corporation. All rights reserved.