public class CollectionsState extends GedcomxApplicationState<org.gedcomx.Gedcomx>
accessToken, client, DEFAULT_EMBEDDED_LINK_LOADER, entity, links, request, response, stateFactory| Modifier | Constructor and Description |
|---|---|
protected |
CollectionsState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken,
StateFactory stateFactory) |
| Modifier and Type | Method and Description |
|---|---|
CollectionState |
addCollection(org.gedcomx.records.Collection collection,
org.gedcomx.source.SourceDescription sourceDescription,
StateTransitionOption... options) |
CollectionState |
addCollection(org.gedcomx.records.Collection collection,
StateTransitionOption... options) |
CollectionState |
addCollection(org.gedcomx.source.SourceDescription description,
StateTransitionOption... options) |
protected CollectionsState |
clone(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response) |
CollectionsState |
delete(StateTransitionOption... options) |
CollectionsState |
get(StateTransitionOption... options) |
List<org.gedcomx.records.Collection> |
getCollections() |
protected org.gedcomx.links.SupportsLinks |
getMainDataElement() |
List<org.gedcomx.source.SourceDescription> |
getSourceDescriptions() |
CollectionsState |
head(StateTransitionOption... options) |
CollectionsState |
ifSuccessful() |
protected org.gedcomx.Gedcomx |
loadEntity(com.sun.jersey.api.client.ClientResponse response) |
CollectionsState |
options(StateTransitionOption... options) |
CollectionsState |
post(org.gedcomx.Gedcomx entity,
StateTransitionOption... options) |
CollectionsState |
put(org.gedcomx.Gedcomx e,
StateTransitionOption... options) |
CollectionState |
readCollection(org.gedcomx.records.Collection collection,
StateTransitionOption... options) |
CollectionState |
readCollection(org.gedcomx.source.SourceDescription sourceDescription,
StateTransitionOption... options) |
CollectionState |
readCollection(StateTransitionOption... options) |
CollectionState |
readFirstPage(StateTransitionOption... options) |
CollectionState |
readLastPage(StateTransitionOption... options) |
CollectionState |
readNextPage(StateTransitionOption... options) |
CollectionState |
readPreviousPage(StateTransitionOption... options) |
CollectionState |
updateCollection(org.gedcomx.records.Collection collection,
StateTransitionOption... options) |
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, getSelfRel, getSelfUri, getUri, getWarnings, hasClientError, hasError, hasServerError, hasStatus, includeEmbeddedResources, inject, invoke, isAuthenticated, isEmbeddedLinkLoaded, loadEntityConditionally, loadLinks, readContributor, readContributor, readContributor, readPageprotected CollectionsState(com.sun.jersey.api.client.ClientRequest request,
com.sun.jersey.api.client.ClientResponse response,
String accessToken,
StateFactory stateFactory)
protected CollectionsState clone(com.sun.jersey.api.client.ClientRequest request, com.sun.jersey.api.client.ClientResponse response)
clone in class GedcomxApplicationState<org.gedcomx.Gedcomx>public CollectionsState ifSuccessful()
ifSuccessful 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 CollectionsState head(StateTransitionOption... options)
head in class GedcomxApplicationState<org.gedcomx.Gedcomx>public CollectionsState options(StateTransitionOption... options)
options in class GedcomxApplicationState<org.gedcomx.Gedcomx>public CollectionsState get(StateTransitionOption... options)
get in class GedcomxApplicationState<org.gedcomx.Gedcomx>public CollectionsState delete(StateTransitionOption... options)
delete in class GedcomxApplicationState<org.gedcomx.Gedcomx>public CollectionsState put(org.gedcomx.Gedcomx e, StateTransitionOption... options)
put in class GedcomxApplicationState<org.gedcomx.Gedcomx>public CollectionsState post(org.gedcomx.Gedcomx entity, StateTransitionOption... options)
post in class GedcomxApplicationState<org.gedcomx.Gedcomx>public List<org.gedcomx.records.Collection> getCollections()
public List<org.gedcomx.source.SourceDescription> getSourceDescriptions()
public CollectionState readCollection(org.gedcomx.records.Collection collection, StateTransitionOption... options)
public CollectionState updateCollection(org.gedcomx.records.Collection collection, StateTransitionOption... options)
public CollectionState readCollection(org.gedcomx.source.SourceDescription sourceDescription, StateTransitionOption... options)
public CollectionState readCollection(StateTransitionOption... options)
public CollectionState addCollection(org.gedcomx.records.Collection collection, StateTransitionOption... options)
public CollectionState addCollection(org.gedcomx.source.SourceDescription description, StateTransitionOption... options)
public CollectionState addCollection(org.gedcomx.records.Collection collection, org.gedcomx.source.SourceDescription sourceDescription, StateTransitionOption... options)
public CollectionState readNextPage(StateTransitionOption... options)
readNextPage in class GedcomxApplicationState<org.gedcomx.Gedcomx>public CollectionState readPreviousPage(StateTransitionOption... options)
readPreviousPage in class GedcomxApplicationState<org.gedcomx.Gedcomx>public CollectionState readFirstPage(StateTransitionOption... options)
readFirstPage in class GedcomxApplicationState<org.gedcomx.Gedcomx>public CollectionState readLastPage(StateTransitionOption... options)
readLastPage in class GedcomxApplicationState<org.gedcomx.Gedcomx>Copyright © 2020. All rights reserved.