public class FrameworkImport extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
savedComp |
static int |
savedRel |
static EcFramework |
targetUsable |
| Constructor and Description |
|---|
FrameworkImport() |
| Modifier and Type | Method and Description |
|---|---|
static void |
importCompetencies(EcFramework source,
EcFramework target,
boolean copy,
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<Object> failure)
Copies or links competencies that exist in one framework in a CASS instance,
to another different framework in the same CASS instance.
|
public static int savedComp
public static int savedRel
public static EcFramework targetUsable
public static void importCompetencies(EcFramework source, EcFramework target, boolean copy, 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<Object> failure)
{EcFramework} - source
Framework to copy or link the competencies from{EcFramework} - target
Framework to add the copied or linked competencies to{boolean} - copy
Flag indicating whether or not to copy or link the competencies in the source framework{String} - serverUrl
URL Prefix for the created competencies if copied{EcIdentity} - owner
EcIdentity that will own the created competencies if copied{Callback1>} - success
Callback triggered after succesfully copying or linking all of the competencies,
returns an array of the new or linked competencies{Callback1 - [failure]
Callback triggered if an error occurred while creating the competenciesCopyright © 2017 Eduworks Corporation. All rights reserved.