public class CfdReference
extends org.schema.CreativeWork
Working model of competency with CFD Reference extension.
| Modifier and Type | Field and Description |
|---|---|
static String |
edUse |
static String |
myType |
about, accessibilityAPI, accessibilityControl, accessibilityFeature, accessibilityHazard, accessibilitySummary, accessMode, accessModeSufficient, accountablePerson, aggregateRating, alternativeHeadline, associatedMedia, audience, audio, author, award, awards, character, citation, comment, commentCount, contentLocation, contentRating, contributor, copyrightHolder, copyrightYear, creator, dateCreated, dateModified, datePublished, discussionUrl, editor, educationalAlignment, educationalUse, encoding, encodings, exampleOfWork, fileFormat, funder, genre, hasPart, headline, inLanguage, interactionStatistic, interactivityType, isAccessibleForFree, isBasedOn, isBasedOnUrl, isFamilyFriendly, isPartOf, keywords, learningResourceType, license, locationCreated, mainEntity, material, mentions, offers, position, producer, provider, publication, publisher, publishingPrinciples, recordedAt, releasedEvent, review, reviews, schemaVersion, sourceOrganization, spatialCoverage, sponsor, temporalCoverage, text, thumbnailUrl, timeRequired, translator, typicalAgeRange, version, video, workExampleadditionalType, alternateName, description, disambiguatingDescription, identifier, image, mainEntityOfPage, name, potentialAction, sameAs, url| Constructor and Description |
|---|
CfdReference() |
| 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<CfdReference> success,
org.stjs.javascript.functions.Callback1<String> failure)
Retrieves the alignment specified with the ID from the server
|
static CfdReference |
getBlocking(String id)
Retrieves an alignment from it's server synchronously, the call
blocks until it is successful or an error occurs
|
CfdAlignment |
getEducationalAlignment()
Gets the educational alignment of the reference
|
String |
getEducationalUse()
Returns the Educational Use of the reference (Should be Reference)
|
String |
getName()
Returns the name of the reference
|
String |
getUrl()
Returns the URL of the reference
|
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<CfdReference>> success,
org.stjs.javascript.functions.Callback1<String> failure,
Object paramObj)
Searches the repository using the query and optional parameters provided
|
static void |
searchWithFramework(EcRepository repo,
String framework,
org.stjs.javascript.functions.Callback1<org.stjs.javascript.Array<CfdReference>> success,
org.stjs.javascript.functions.Callback1<String> failure,
Object paramObj)
Searches the repository for references with the framework and optional parameters provided
|
void |
setEducationalAlignment(CfdAlignment alignment)
Sets the educational alignment of the reference
|
void |
setName(String name)
Sets the Name of the reference
|
void |
setUrl(String url)
Sets the URL of the reference
|
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 final String myType
public static final String edUse
public static void get(String id, org.stjs.javascript.functions.Callback1<CfdReference> 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 CfdReference 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<CfdReference>> 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 static void searchWithFramework(EcRepository repo, String framework, org.stjs.javascript.functions.Callback1<org.stjs.javascript.Array<CfdReference>> success, org.stjs.javascript.functions.Callback1<String> failure, Object paramObj)
{EcRepository} - repo
Repository to search using the query provided{String} - Framework
The Framework to search for References with EducationalAlignments too{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 getName()
getName in class org.schema.Thingpublic void setName(String name)
setName in class org.schema.Thing{String} - name
name of the referencepublic String getUrl()
public void setUrl(String url)
{String} - URL
URL the reference is pointing atpublic CfdAlignment getEducationalAlignment()
public void setEducationalAlignment(CfdAlignment alignment)
{CfdAlignment} - alignment
Educational alignment for referencepublic String getEducationalUse()
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 © 2018 Eduworks Corporation. All rights reserved.