public class CfdAlignment
extends org.schema.AlignmentObject
| Modifier and Type | Field and Description |
|---|---|
static String |
myType |
alignmentType, educationalFramework, targetDescription, targetName, targetUrladditionalType, alternateName, description, disambiguatingDescription, identifier, image, mainEntityOfPage, name, potentialAction, sameAs, url| Constructor and Description |
|---|
CfdAlignment() |
| Modifier and Type | Method and Description |
|---|---|
void |
_delete(org.stjs.javascript.functions.Callback1<String> success,
org.stjs.javascript.functions.Callback1<String> failure)
Deletes the alignment from the server corresponding to its ID
|
static void |
get(String id,
org.stjs.javascript.functions.Callback1<CfdAlignment> success,
org.stjs.javascript.functions.Callback1<String> failure)
Retrieves the alignment specified with the ID from the server
|
static CfdAlignment |
getBlocking(String id)
Retrieves an alignment from it's server synchronously, the call
blocks until it is successful or an error occurs
|
String |
getEducationalFramework()
Gets the AlignmentObject educationalFramework field of this alignment
|
String |
getTargetUrl()
Gets the AlignmentObject targetUrl field with the id of the competency it is aligned with
|
void |
save(org.stjs.javascript.functions.Callback1<String> success,
org.stjs.javascript.functions.Callback1<String> failure)
Saves this alignment details on the server corresponding to its ID
|
static void |
search(EcRepository repo,
String query,
org.stjs.javascript.functions.Callback1<org.stjs.javascript.Array<CfdAlignment>> success,
org.stjs.javascript.functions.Callback1<String> failure,
Object paramObj)
Searches the repository using the query and optional parameters provided
|
void |
setAlignmentType(String type)
Sets the AlignmentObject alignmentType field
|
void |
setEducationalFramework(String frameworkId)
Sets the AlignmentObject educationalFramework field with the id of the framework this competency is part of
|
void |
setTargetUrl(String targetId)
Sets the AlignmentObject targetUrl field with the id of the competency it is aligned with
|
getDescription, getDisplayStringFrom, getName, setDescription, setNameaddOwner, addReader, asNQuads, asRdfXml, assignId, assignIdAndVersion, asTurtle, canEdit, canEditAny, equals, generateId, generateShortId, getDottedType, getGuid, getSearchStringByType, getServerBaseUrl, getTimestamp, hasOwner, hasReader, invalid, isId, removeOwner, removeReader, shortId, signWith, toSignableJson, trimVersionFromUrl, updateTimestamp, verify, veryShortIdpublic static final String myType
public static void get(String id, org.stjs.javascript.functions.Callback1<CfdAlignment> success, org.stjs.javascript.functions.Callback1<String> failure)
{String} - id
ID of the alignment to retrieve{Callback1} - success
Callback triggered on successfully retrieving the alignment,
returns the alignment{Callback1} - [failure]
Callback triggered if error while retrieving alignmentpublic static CfdAlignment getBlocking(String id)
{String} - id
ID of the alignment to retrievepublic static void search(EcRepository repo, String query, org.stjs.javascript.functions.Callback1<org.stjs.javascript.Array<CfdAlignment>> success, org.stjs.javascript.functions.Callback1<String> failure, Object paramObj)
{EcRepository} - repo
Repository to search using the query provided{String} - query
The query to send to the search{Callback1>} - success
Callback triggered on successful search return{Callback1} - [failure]
Callback triggered if error searching{Object} - [paramObj]
Parameters to include in the searchstart - size - public String getEducationalFramework()
{String} - frameworkId
ID of framework this Alignment is related topublic void setEducationalFramework(String frameworkId)
{String} - frameworkId
ID of framework this Alignment is related topublic String getTargetUrl()
public void setTargetUrl(String targetId)
{String} - targetId
ID of competency this Alignment is related topublic void setAlignmentType(String type)
{String} - type
Alignment type for alignment. Recommended values include: 'assesses', 'teaches', 'requires', 'textComplexity', 'readingLevel', 'educationalSubject', and 'educationalLevel'.public void save(org.stjs.javascript.functions.Callback1<String> success, org.stjs.javascript.functions.Callback1<String> failure)
{Callback1} - success
Callback triggered on successfully saving the alignment{Callback1} - [failure]
Callback triggered if error while saving alignmentpublic void _delete(org.stjs.javascript.functions.Callback1<String> success, org.stjs.javascript.functions.Callback1<String> failure)
{Callback1} - success
Callback triggered on successfully deleting the alignment{Callback1} - [failure]
Callback triggered if error while deleting alignmentCopyright © 2019 Eduworks Corporation. All rights reserved.