public class ExtInstitution extends Organization
| Modifier and Type | Field and Description |
|---|---|
String |
communityLink |
static String |
EMPLOYEE_TYPE_ADMINISTRATOR |
static String |
EMPLOYEE_TYPE_ASSISTANT |
static String |
EMPLOYEE_TYPE_IT |
String |
legacyId
ExtInstitution objects use the following elements from schema.org/Organization:
- id
- context
- type
- url
- name
- description
- sameAs
- address
- telephone
- faxNumber
- areaServed (ECOP Region)
- member (for administrators)
- employee (for assistant)
- contactPoint (for IT poc)
- logo
|
String |
locationState |
String |
memberCount |
address, aggregateRating, alumni, areaServed, award, awards, brand, contactPoint, contactPoints, department, dissolutionDate, duns, email, employee, employees, event, events, faxNumber, founder, founders, foundingDate, foundingLocation, funder, globalLocationNumber, hasOfferCatalog, hasPOS, isicV4, legalName, leiCode, location, logo, makesOffer, member, memberOf, members, naics, numberOfEmployees, owns, parentOrganization, review, reviews, seeks, serviceArea, sponsor, subOrganization, taxID, telephone, vatIDadditionalType, alternateName, description, disambiguatingDescription, identifier, image, mainEntityOfPage, name, potentialAction, sameAs, urlid, owner, reader, signatureatProperties, context, type| Constructor and Description |
|---|
ExtInstitution()
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 institution from the server corresponding to its ID
|
void |
addPOC(String type,
String name,
String title,
String email,
String phone,
String fax,
String addr1,
String addr2,
String addr3,
String addrCityState,
String addrZip)
Adds a POC for the institution from raw contact information
|
static void |
get(String id,
org.stjs.javascript.functions.Callback1<ExtInstitution> success,
org.stjs.javascript.functions.Callback1<String> failure)
Retrieves the institution specified with the ID from the server
|
Person |
getAdminPOC()
Returns the administrative POC of the Institution
|
String |
getAlternateName()
Returns the alternate name of the Institution
|
Person |
getAssistantPOC()
Returns the assistant POC of the Institution
|
static ExtInstitution |
getBlocking(String id)
Retrieves a institution from the server synchronously, the call
blocks until it is successful or an error occurs
|
String |
getCommunityLink()
Returns the institution's people community link
|
String |
getDescription()
Returns the description of the Institution
|
String |
getFax()
Returns the fax of the Institution
|
String |
getId()
Returns the ID of the Institution
|
ImageObject |
getImage()
Returns the thumbnail image URL of the institution
|
ContactPoint |
getITPOC()
Returns the IT POC of the Institution
|
String |
getLegacyId()
Returns the legacyId of the Institution
|
String |
getLocationState()
Returns the institution's location state
|
String |
getMemberCount()
Returns the institution's number of members
|
String |
getName()
Returns the name of the Institution
|
String |
getPhone()
Returns the telephone of the Institution
|
String |
getRegion()
Returns the institution's region
|
String |
getUrl()
Returns the institution object URL
|
String |
getWebPage()
Returns the institution's web page
|
String |
save(org.stjs.javascript.functions.Callback1<String> success,
org.stjs.javascript.functions.Callback1<String> failure)
Saves this institution on the server corresponding to its ID
|
static void |
search(EcRepository repo,
String query,
org.stjs.javascript.functions.Callback1<org.stjs.javascript.Array<ExtInstitution>> success,
org.stjs.javascript.functions.Callback1<String> failure,
Object paramObj)
Searches the repository using the query and optional parameters provided
|
void |
setAdminPOC(Person poc)
Sets administrative POC for the Institution
|
void |
setAlternateName(String name)
Sets the alternate name of the Institution
|
void |
setAssistantPOC(Person poc)
Sets assistant POC for the Institution
|
void |
setCommunityLink(String page)
Sets the people community link of the Institution
|
void |
setDescription(String desc)
Sets the description of the Institution
|
void |
setFax(String fax)
Sets the fax number of the Institution
|
void |
setId(String id)
Sets the ID of the Institution
|
void |
setImage(ImageObject image)
Sets the thumbnail image URL of the institution
|
void |
setITPOC(ContactPoint poc)
Sets IT POC for the Institution
|
void |
setLegacyId(String id)
Sets the legacyId of the Institution
|
void |
setLocationState(String state)
Sets the location state of the Institution
|
void |
setMemberCount(String count)
Sets the member count for the Institution
|
void |
setName(String name)
Sets the first name of the Institution
|
void |
setPhone(String phone)
Sets the telephone number of the Institution
|
void |
setRegion(String region)
Sets the region of the Institution
|
void |
setUrl(String url)
Sets the institution object URL
|
void |
setWebPage(String page)
Sets the web page URL of the Institution
|
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, veryShortIdatIfy, atIfyArray, atIfyObject, compact, copyFrom, deAtify, getFullType, getTypes, isA, isAny, isAtProperty, isProbablyJson, setContextAndType, toJson, upgradepublic static String EMPLOYEE_TYPE_ADMINISTRATOR
public static String EMPLOYEE_TYPE_ASSISTANT
public static String EMPLOYEE_TYPE_IT
public String legacyId
public String locationState
public String memberCount
public String communityLink
public ExtInstitution()
public static void get(String id, org.stjs.javascript.functions.Callback1<ExtInstitution> success, org.stjs.javascript.functions.Callback1<String> failure)
{String} - id
ID of the institution to retrieve{Callback1} - success
Callback triggered on successfully retrieving the institution,
returns the institution{Callback1} - [failure]
Callback triggered if error while retrieving institutionpublic static ExtInstitution getBlocking(String id)
{String} - id
ID of the institution to retrievepublic static void search(EcRepository repo, String query, org.stjs.javascript.functions.Callback1<org.stjs.javascript.Array<ExtInstitution>> 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 ExtInstitution{Callback1} - [failure]
Callback triggered if error while saving ExtInstitutionpublic void _delete(org.stjs.javascript.functions.Callback1<String> success, org.stjs.javascript.functions.Callback1<String> failure)
{Callback1} - success
Callback triggered on successfully deleting the institution{Callback1} - [failure]
Callback triggered if error while deleting institutionpublic String getId()
public void setId(String id)
{String} - id
ID of the Institutionpublic String getLegacyId()
public void setLegacyId(String id)
{String} - id
legacyId of the Institutionpublic String getName()
public void setName(String name)
public String getAlternateName()
public void setAlternateName(String name)
{String} - name
alternate name of the Institutionpublic String getPhone()
public void setPhone(String phone)
{String} - phone
telephone of the Institutionpublic String getFax()
public void setFax(String fax)
{String} - fax
fax of the Institutionpublic String getDescription()
getDescription in class Thingpublic void setDescription(String desc)
setDescription in class Thing{String} - desc
description of the Institutionpublic String getWebPage()
public void setWebPage(String page)
{String} - page
web page url of the Institutionpublic String getCommunityLink()
public void setCommunityLink(String page)
{String} - page
people community link of the Institutionpublic String getUrl()
public void setUrl(String url)
{String} - url
url of the Institution objectpublic String getLocationState()
public void setLocationState(String state)
{String} - state
location state of the Institutionpublic ImageObject getImage()
public void setImage(ImageObject image)
{ImageObject} - image
image object of the institutionpublic String getRegion()
public void setRegion(String region)
{String} - region
region of the Institutionpublic String getMemberCount()
public void setMemberCount(String count)
{String} - count
member count at the Institutionpublic Person getAssistantPOC()
public void setAssistantPOC(Person poc)
{Person} - poc
assistant POC at the Institutionpublic Person getAdminPOC()
public void setAdminPOC(Person poc)
{Person} - poc
administrativePOC at the Institutionpublic ContactPoint getITPOC()
public void setITPOC(ContactPoint poc)
{ContactPoint} - poc
IT POC at the Institutionpublic void addPOC(String type, String name, String title, String email, String phone, String fax, String addr1, String addr2, String addr3, String addrCityState, String addrZip)
{String} - type{String} - name{String} - title{String} - email{String} - phone{String} - fax{String} - addr1{String} - addr2{String} - addrCityState{String} - addrZipCopyright © 2018 Eduworks Corporation. All rights reserved.