public class ExtPerson
extends org.schema.Person
| Modifier and Type | Field and Description |
|---|---|
String |
addressLocality |
String |
addressRegion |
String |
agreementStatus |
String |
communities |
String |
dateCreated |
String |
lastActiveAt |
String |
legacyId |
additionalName, address, affiliation, alumniOf, award, awards, birthDate, birthPlace, brand, children, colleague, colleagues, contactPoint, contactPoints, deathDate, deathPlace, duns, email, familyName, faxNumber, follows, funder, gender, givenName, globalLocationNumber, hasOfferCatalog, hasPOS, height, homeLocation, honorificPrefix, honorificSuffix, isicV4, jobTitle, knows, makesOffer, memberOf, naics, nationality, netWorth, owns, parent, parents, performerIn, relatedTo, seeks, sibling, siblings, sponsor, spouse, taxID, telephone, vatID, weight, workLocation, worksForadditionalType, alternateName, description, disambiguatingDescription, identifier, image, mainEntityOfPage, name, potentialAction, sameAs, url| Constructor and Description |
|---|
ExtPerson()
Constructor, automatically sets @context and @type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
_delete(org.stjs.javascript.functions.Callback1<String> success,
org.stjs.javascript.functions.Callback1<String> failure)
Deletes the person from the server corresponding to its ID
|
static void |
get(String id,
org.stjs.javascript.functions.Callback1<ExtPerson> success,
org.stjs.javascript.functions.Callback1<String> failure)
Retrieves the person specified with the ID from the server
|
String |
getAccountCreated()
Returns the Account Created of the Person
|
String |
getAgreementStatus()
Returns the agreement status of the Person
|
String |
getAwards()
Returns the awards of the Person
|
String |
getBio()
Returns the bio of the Person
|
static ExtPerson |
getBlocking(String id)
Retrieves a person from the server synchronously, the call
blocks until it is successful or an error occurs
|
String |
getCommunities()
Returns the communities of the Person
|
String |
getEmail()
Returns the email of the Person
|
String |
getFirstName()
Returns the first name of the Person
|
String |
getId()
Returns the ID of the Person
|
org.schema.ImageObject |
getImage()
Returns the thumbnail image URL of the Person
|
org.schema.Organization |
getInstitution()
Returns the institution of the Person
|
String |
getJobTitle()
Returns the job title of the Person
|
String |
getLastActiveAt()
Returns the last active groups of the Person
|
String |
getLastName()
Returns the last name of the Person
|
String |
getLegacyId()
Returns the legacyId of the Person
|
String |
getLocationCounty()
Returns the person's location county
|
String |
getLocationState()
Returns the person's location state
|
String |
getName()
Returns the combined name of the Person
|
String |
getPhone()
Returns the telephone of the Person
|
String |
getPosition()
Returns the person's position in URL form
|
String |
getPositionLabel(String url)
Returns position label corresponding to the URL form
|
String |
getPositionUrl(String type)
Returns position URL corresponding to the label form
|
String |
getUrl()
Returns the person object URL
|
String |
getUserName()
Returns the alternate name of the Person
|
String |
getWebPage()
Returns the person's web page
|
String |
save(org.stjs.javascript.functions.Callback1<String> success,
org.stjs.javascript.functions.Callback1<String> failure)
Saves this person on the server corresponding to its ID
|
static void |
search(EcRepository repo,
String query,
org.stjs.javascript.functions.Callback1<org.stjs.javascript.Array<ExtPerson>> success,
org.stjs.javascript.functions.Callback1<String> failure,
Object paramObj)
Searches the repository using the query and optional parameters provided
|
void |
setAccountCreated(String created)
Sets the account created date of the Person
|
void |
setAgreementStatus(String status)
Sets the agreement status number of the Person
|
void |
setAwards(String awards)
Sets the awards of the Person
|
void |
setBio(String bio)
Sets the bio of the Person
|
void |
setCommunities(String communities)
Sets the communities of the Person
|
void |
setEmail(String email)
Sets the email of the Person
|
void |
setFirstName(String name)
Sets the first name of the Person
|
void |
setId(String id)
Sets the ID of the Person
|
void |
setImage(org.schema.ImageObject image)
Sets the thumbnail image URL of the Person
|
void |
setInstitution(org.schema.Organization affiliation)
Sets the institution of the Person
|
void |
setJobTitle(String title)
Sets the job title of the Person
|
void |
setLastActiveAt(String lastGroups)
Sets the last active group of the Person
|
void |
setLastName(String name)
Sets the last name of the Person
|
void |
setLegacyId(String id)
Sets the legacyId of the Person
|
void |
setLocationCounty(String county)
Sets the location county of the Person
|
void |
setLocationState(String state)
Sets the location state of the Person
|
void |
setName(String name)
Sets the combined name of the Person
|
void |
setPhone(String phone)
Sets the telephone number of the Person
|
void |
setPosition(String url)
Sets the person's position URL.
|
void |
setUrl(String url)
Sets the person object URL
|
void |
setUserName(String name)
Sets the alternate name of the Person
|
void |
setWebPage(String page)
Sets the web page URL of the Person
|
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 String legacyId
public String agreementStatus
public String addressRegion
public String addressLocality
public String lastActiveAt
public String communities
public String dateCreated
public static void get(String id, org.stjs.javascript.functions.Callback1<ExtPerson> success, org.stjs.javascript.functions.Callback1<String> failure)
{String} - id
ID of the person to retrieve{Callback1} - success
Callback triggered on successfully retrieving the person,
returns the person{Callback1} - [failure]
Callback triggered if error while retrieving personpublic static ExtPerson getBlocking(String id)
{String} - id
ID of the person to retrievepublic static void search(EcRepository repo, String query, org.stjs.javascript.functions.Callback1<org.stjs.javascript.Array<ExtPerson>> 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 save(org.stjs.javascript.functions.Callback1<String> success, org.stjs.javascript.functions.Callback1<String> failure)
{Callback1} - success
Callback triggered on successfully saving the ExtPerson{Callback1} - [failure]
Callback triggered if error while saving ExtPersonpublic void _delete(org.stjs.javascript.functions.Callback1<String> success, org.stjs.javascript.functions.Callback1<String> failure)
{Callback1} - success
Callback triggered on successfully deleting the person{Callback1} - [failure]
Callback triggered if error while deleting personpublic String getId()
public void setId(String id)
{String} - id
ID of the Personpublic String getLegacyId()
public void setLegacyId(String id)
{String} - id
legacyId of the Personpublic String getFirstName()
public void setFirstName(String name)
{String} - name
first name of the Personpublic String getLastName()
public void setLastName(String name)
{String} - name
last name of the Personpublic String getName()
getName in class org.schema.Thingpublic void setName(String name)
setName in class org.schema.Thing{String} - name
combined name of the Personpublic String getUserName()
public void setUserName(String name)
{String} - name
username of the Personpublic String getJobTitle()
public void setJobTitle(String title)
{String} - title
job title of the Personpublic String getEmail()
public void setEmail(String email)
{String} - email
email of the Personpublic String getPhone()
public void setPhone(String phone)
{String} - phone
telephone of the Personpublic String getBio()
public void setBio(String bio)
{String} - bio
bio of the Personpublic String getAwards()
public void setAwards(String awards)
{String} - awards
awards of the Personpublic org.schema.Organization getInstitution()
public void setInstitution(org.schema.Organization affiliation)
{Organization} - affiliation
affiliation of the Personpublic String getLocationState()
public void setLocationState(String state)
{String} - state
location state of the Personpublic String getLocationCounty()
public void setLocationCounty(String county)
{String} - county
location county of the Personpublic String getAgreementStatus()
public void setAgreementStatus(String status)
{String} - status
agreement status of the Personpublic String getAccountCreated()
public void setAccountCreated(String created)
{String} - created
account created of the Personpublic String getLastActiveAt()
public void setLastActiveAt(String lastGroups)
{String} - lastGroups
last active groups of the Personpublic String getCommunities()
public void setCommunities(String communities)
{String} - communities
communities of the Personpublic org.schema.ImageObject getImage()
public void setImage(org.schema.ImageObject image)
{ImageObject} - image
image object of the Personpublic String getWebPage()
public void setWebPage(String page)
{String} - page
web page url of the Personpublic String getUrl()
public void setUrl(String url)
{String} - url
url of the Person objectpublic String getPosition()
public void setPosition(String url)
{String} - url
url of the Person objectpublic String getPositionLabel(String url)
url - URL of the person's positionCopyright © 2018 Eduworks Corporation. All rights reserved.