Class ReadableSocialAgentProfile
java.lang.Object
com.janeirodigital.sai.core.resources.ReadableResource
com.janeirodigital.sai.core.agents.ReadableSocialAgentProfile
Publicly readable instantiation of a
Social Agent
profile which is also cross-pollinated with other terms from the Solid ecosystem
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.janeirodigital.sai.core.resources.ReadableResource
contentType, dataset, exists, httpClient, jsonLdContext, resource, saiSession, unprotected, uri -
Method Summary
Modifier and TypeMethodDescriptionstatic ReadableSocialAgentProfileget(URI uri, SaiSession saiSession) Callget(URI, SaiSession, ContentType)without specifying a desired content type for retrievalstatic ReadableSocialAgentProfileget(URI uri, SaiSession saiSession, com.janeirodigital.sai.httputils.ContentType contentType) Get aReadableSocialAgentProfilefrom the provideduri.reload()Reload a new instance ofReadableSocialAgentProfileusing the attributes of the current instanceMethods inherited from class com.janeirodigital.sai.core.resources.ReadableResource
checkReadableResponse, read
-
Method Details
-
get
public static ReadableSocialAgentProfile get(URI uri, SaiSession saiSession, com.janeirodigital.sai.httputils.ContentType contentType) throws SaiException, com.janeirodigital.sai.httputils.SaiHttpNotFoundException Get aReadableSocialAgentProfilefrom the provideduri.- Parameters:
uri- URI to get theReadableSocialAgentProfilefromsaiSession-SaiSessionto usecontentType-ContentTypeto use for retrieval- Returns:
ReadableSocialAgentProfile- Throws:
SaiExceptioncom.janeirodigital.sai.httputils.SaiHttpNotFoundException
-
get
public static ReadableSocialAgentProfile get(URI uri, SaiSession saiSession) throws SaiException, com.janeirodigital.sai.httputils.SaiHttpNotFoundException Callget(URI, SaiSession, ContentType)without specifying a desired content type for retrieval- Parameters:
uri- URI of theReadableSocialAgentProfileto getsaiSession-SaiSessionto assign- Returns:
- Retrieved
ReadableSocialAgentProfile - Throws:
SaiExceptioncom.janeirodigital.sai.httputils.SaiHttpNotFoundException
-
reload
public ReadableSocialAgentProfile reload() throws com.janeirodigital.sai.httputils.SaiHttpNotFoundException, SaiExceptionReload a new instance ofReadableSocialAgentProfileusing the attributes of the current instance- Returns:
- Reloaded
ReadableSocialAgentProfile - Throws:
com.janeirodigital.sai.httputils.SaiHttpNotFoundExceptionSaiException
-