Class SourceDescriptionState
The SourceDescriptionState exposes management functions for a source description.
- Gedcomx\Rs\Client\GedcomxApplicationState
- Gedcomx\Rs\Client\SourceDescriptionState
Direct known subclasses
Gedcomx\Extensions\FamilySearch\Rs\Client\FamilySearchSourceDescriptionState
Methods summary
public
|
#
__construct( GuzzleHttp\Client $client, GuzzleHttp\Psr7\Request $request, GuzzleHttp\Psr7\Response $response, string $accessToken,
Constructs a source description state using the specified client, request, response, access token and state factory. |
public
string
|
|
public
|
|
public
|
#
update(
Updates the specified source description. |
public
|
#
readPersons(
Read persons associated with the current source description. |
public
mixed
|
#
readPersonas(
Read personas associated with the current source description. |
public
|
#
addPersonPersona(
Adds a persona to the current source description using a person object. |
public
|
#
addGedcomxPersona(
Adds a persona to the current source description using a GEDCOM X object. |
public
|
#
queryAttachedReferences(
Queries for attached references to this source description. |
public
|
#
readCollection(
Reads the collection specified by this state instance. |
Methods inherited from Gedcomx\Rs\Client\GedcomxApplicationState
authenticateViaOAuth2AuthCode()
,
authenticateViaOAuth2ClientCredentials()
,
authenticateViaOAuth2Password()
,
authenticateViaOAuth2WithoutCredentials()
,
authenticateWithAccessToken()
,
delete()
,
generateClientSecret()
,
get()
,
getAccessToken()
,
getClient()
,
getETag()
,
getEntity()
,
getHeader()
,
getHeaders()
,
getLastEmbeddedRequest()
,
getLastEmbeddedResponse()
,
getLastModified()
,
getLink()
,
getLinks()
,
getRequest()
,
getResourceReference()
,
getResponse()
,
getSelfUri()
,
getStatus()
,
getUri()
,
hasClientError()
,
hasError()
,
hasServerError()
,
hasStatus()
,
head()
,
ifSuccessful()
,
inject()
,
isAuthenticated()
,
loadAllEmbeddedResources()
,
logout()
,
options()
,
post()
,
put()
,
readAttributableContributor()
,
readContributor()
,
readReferenceContributor()
,
send()