public class EcConceptScheme extends ConceptScheme
hasTopConcept, myType| Constructor and Description |
|---|
EcConceptScheme() |
| Modifier and Type | Method and Description |
|---|---|
static void |
get(String id,
org.stjs.javascript.functions.Callback1<EcConceptScheme> success,
org.stjs.javascript.functions.Callback1<String> failure)
Retrieves a concept scheme from the server, specified by the ID
|
static EcConceptScheme |
getBlocking(String id)
Retrieves a concept scheme from the server in a blocking fashion, specified by the ID
|
static void |
search(EcRepository repo,
String query,
org.stjs.javascript.functions.Callback1<org.stjs.javascript.Array<EcConceptScheme>> success,
org.stjs.javascript.functions.Callback1<String> failure,
Object paramObj)
Searches the repository given for concept schemes using the query passed in
|
addOwner, addReader, asNQuads, asRdfXml, assignId, assignIdAndVersion, asTurtle, canEdit, canEditAny, generateId, generateShortId, getDottedType, getGuid, getSearchStringByType, getServerBaseUrl, getTimestamp, hasOwner, hasReader, invalid, isId, removeOwner, removeReader, shortId, signWith, toSignableJson, trimVersionFromUrl, updateTimestamp, verify, veryShortIdpublic static void get(String id, org.stjs.javascript.functions.Callback1<EcConceptScheme> success, org.stjs.javascript.functions.Callback1<String> failure)
{String} - id
ID of the concept scheme to retrieve{Callback1} - success
Callback triggered after successfully retrieving the concept scheme,
returns the retrieved concept scheme{Callback1} - failure
Callback triggered if an error occurs while retrieving the concept schemepublic static EcConceptScheme getBlocking(String id)
{String} - id
ID of the concept scheme to retrieve{Callback1} - success
Callback triggered after successfully retrieving the concept scheme,
returns the retrieved concept scheme{Callback1} - failure
Callback triggered if an error occurs while retrieving the concept schemepublic static void search(EcRepository repo, String query, org.stjs.javascript.functions.Callback1<org.stjs.javascript.Array<EcConceptScheme>> success, org.stjs.javascript.functions.Callback1<String> failure, Object paramObj)
{EcRepository} - repo
Repository to search for concept schemes{String} - query
Query string used to search for a concept scheme{Callback1} - success
Callback triggered when the search successfully returns,
returns search results{Callback1} - failure
Callback triggered if an error occurs while searching{Object} - paramObj
Parameter object for searchCopyright © 2018 Eduworks Corporation. All rights reserved.