public class SourceDescriptionState extends GedcomxApplicationState<org.gedcomx.Gedcomx>
accessToken, client, DEFAULT_EMBEDDED_LINK_LOADER, entity, links, request, response, stateFactory| Modifier | Constructor and Description |
|---|---|
protected |
SourceDescriptionState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken,
StateFactory stateFactory) |
authenticateViaOAuth2, authenticateViaOAuth2AuthCode, authenticateViaOAuth2AuthCode, authenticateViaOAuth2ClientCredentials, authenticateViaOAuth2Password, authenticateViaOAuth2Password, authenticateWithAccessToken, buildFailureMessage, createAuthenticatedFeedRequest, createAuthenticatedGedcomxRequest, createAuthenticatedRequest, createRequest, createRequestForEmbeddedResource, embed, embed, getAccessToken, getClient, getDescription, getEmbeddedLinkLoader, getEntity, getETag, getHeaders, getLastEmbeddedRequest, getLastEmbeddedResponse, getLastModified, getLink, getLinks, getRequest, getResponse, getSelfUri, getUri, getWarnings, hasClientError, hasError, hasServerError, hasStatus, includeEmbeddedResources, inject, invoke, isAuthenticated, isEmbeddedLinkLoaded, loadEntityConditionally, loadLinks, readContributor, readContributor, readContributor, readFirstPage, readLastPage, readNextPage, readPage, readPreviousPageprotected SourceDescriptionState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken,
StateFactory stateFactory)
public String getSelfRel()
getSelfRel in class GedcomxApplicationState<org.gedcomx.Gedcomx>protected SourceDescriptionState clone(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response)
clone in class GedcomxApplicationState<org.gedcomx.Gedcomx>public SourceDescriptionState ifSuccessful()
ifSuccessful in class GedcomxApplicationState<org.gedcomx.Gedcomx>public SourceDescriptionState head(StateTransitionOption... options)
head in class GedcomxApplicationState<org.gedcomx.Gedcomx>public SourceDescriptionState options(StateTransitionOption... options)
options in class GedcomxApplicationState<org.gedcomx.Gedcomx>public SourceDescriptionState get(StateTransitionOption... options)
get in class GedcomxApplicationState<org.gedcomx.Gedcomx>public SourceDescriptionState delete(StateTransitionOption... options)
delete in class GedcomxApplicationState<org.gedcomx.Gedcomx>public SourceDescriptionState put(org.gedcomx.Gedcomx e, StateTransitionOption... options)
put in class GedcomxApplicationState<org.gedcomx.Gedcomx>public SourceDescriptionState post(org.gedcomx.Gedcomx entity, StateTransitionOption... options)
post in class GedcomxApplicationState<org.gedcomx.Gedcomx>protected org.gedcomx.Gedcomx loadEntity(com.sun.jersey.api.client.ClientResponse response)
loadEntity in class GedcomxApplicationState<org.gedcomx.Gedcomx>protected org.gedcomx.links.SupportsLinks getMainDataElement()
getMainDataElement in class GedcomxApplicationState<org.gedcomx.Gedcomx>public org.gedcomx.source.SourceDescription getSourceDescription()
public SourceDescriptionState update(org.gedcomx.source.SourceDescription description, StateTransitionOption... options)
public PersonsState readPersonas(StateTransitionOption... options)
public PersonState addPersona(org.gedcomx.conclusion.Person person, StateTransitionOption... options)
public PersonState addPersona(org.gedcomx.Gedcomx entity, StateTransitionOption... options)
public SourceDescriptionState queryAttachedReferences(StateTransitionOption... options)
public CollectionState readCollection(StateTransitionOption... options)
public SourceDescriptionState updateArtifact(DataSource artifact, StateTransitionOption... options)
Copyright © 2018. All rights reserved.