Class SocialAgentProfile
java.lang.Object
com.janeirodigital.sai.core.resources.ReadableResource
com.janeirodigital.sai.core.resources.CRUDResource
com.janeirodigital.sai.core.agents.SocialAgentProfile
Modifiable 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 SocialAgentProfileget(URI uri, SaiSession saiSession) Callget(URI, SaiSession, ContentType)without specifying a desired content type for retrievalstatic SocialAgentProfileget(URI uri, SaiSession saiSession, com.janeirodigital.sai.httputils.ContentType contentType) Get aSocialAgentProfileat the providedurireload()Reload a new instance ofSocialAgentProfileusing the attributes of the current instanceMethods inherited from class com.janeirodigital.sai.core.resources.CRUDResource
delete, updateMethods inherited from class com.janeirodigital.sai.core.resources.ReadableResource
checkReadableResponse, read 
- 
Method Details
- 
get
public static SocialAgentProfile get(URI uri, SaiSession saiSession, com.janeirodigital.sai.httputils.ContentType contentType) throws SaiException, com.janeirodigital.sai.httputils.SaiHttpNotFoundException Get aSocialAgentProfileat the provideduri- Parameters:
 uri- URI of theSocialAgentProfileto getsaiSession-SaiSessionto assigncontentType-ContentTypeto use- Returns:
 - Retrieved 
SocialAgentProfile - Throws:
 SaiExceptioncom.janeirodigital.sai.httputils.SaiHttpNotFoundException
 - 
get
public static SocialAgentProfile get(URI uri, SaiSession saiSession) throws com.janeirodigital.sai.httputils.SaiHttpNotFoundException, SaiException Callget(URI, SaiSession, ContentType)without specifying a desired content type for retrieval- Parameters:
 uri- URI of theSocialAgentProfilesaiSession-SaiSessionto assign- Returns:
 - Throws:
 com.janeirodigital.sai.httputils.SaiHttpNotFoundExceptionSaiException
 - 
reload
public SocialAgentProfile reload() throws com.janeirodigital.sai.httputils.SaiHttpNotFoundException, SaiExceptionReload a new instance ofSocialAgentProfileusing the attributes of the current instance- Returns:
 - Reloaded 
SocialAgentProfile - Throws:
 com.janeirodigital.sai.httputils.SaiHttpNotFoundExceptionSaiException
 
 -