public interface AtomInformationService
| Modifier and Type | Interface and Description |
|---|---|
static class |
AtomInformationService.PagedResource<T,E> |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<Connection> |
getConnection(java.net.URI socket,
java.net.URI targetSocket)
Retrieves the connection identified by the specified sockets.
|
java.util.Collection<java.net.URI> |
listAtomURIs()
Retrieves a list of all atoms on the atomserver.
|
java.util.Collection<java.net.URI> |
listAtomURIs(AtomState atomState)
Retrieves a list of all atoms with the given atomState on the atomserver.
|
java.util.Collection<java.net.URI> |
listAtomURIsCreatedAfter(java.util.Date createdAfter,
AtomState atomState)
retrieves atoms that have been modified after a certain date
|
java.util.Collection<java.net.URI> |
listAtomURIsModifiedAfter(java.util.Date modifiedAfter,
AtomState atomState)
retrieves atoms that have been modified after a certain date
|
org.springframework.data.domain.Slice<MessageEvent> |
listConnectionEvents(java.net.URI connectionUri,
int page,
java.lang.Integer preferredPageSize,
WonMessageType messageType) |
org.springframework.data.domain.Slice<MessageEvent> |
listConnectionEventsAfter(java.net.URI connectionUri,
java.net.URI msgURI,
java.lang.Integer preferredPageSize,
WonMessageType msgType) |
org.springframework.data.domain.Slice<MessageEvent> |
listConnectionEventsBefore(java.net.URI connectionUri,
java.net.URI msgURI,
java.lang.Integer preferredPageSize,
WonMessageType msgType) |
java.util.Collection<Connection> |
listConnections()
Retrieves all connections (regardless of state).
|
org.springframework.data.domain.Slice<Connection> |
listConnections(int page,
java.lang.Integer preferredSize,
java.util.Date timeSpot)
Retrieves slice of the connection URIs list for a given page number
|
java.util.Collection<Connection> |
listConnections(java.net.URI atomURI)
Retrieves all connections (regardless of state) for the specified local atom
URI.
|
org.springframework.data.domain.Slice<Connection> |
listConnections(java.net.URI atomURI,
int page,
java.lang.Integer preferredSize,
WonMessageType messageType,
java.util.Date timeSpot)
Retrieves slice of the list of connections for the specified local atom URI.
|
org.springframework.data.domain.Slice<Connection> |
listConnectionsAfter(java.net.URI resumeConnURI,
java.lang.Integer preferredPageSize,
java.util.Date timeSpot)
Retrieves slice of the connections that follows the given connection URI from
the point of view of their latest events.
|
org.springframework.data.domain.Slice |
listConnectionsAfter(java.net.URI atomURI,
java.net.URI resumeConnURI,
java.lang.Integer preferredPageSize,
WonMessageType messageType,
java.util.Date timeSpot)
Retrieves slice of the connections that follows the given connection URI from
the point of view of their latest events.
|
org.springframework.data.domain.Slice<Connection> |
listConnectionsBefore(java.net.URI resumeConnURI,
java.lang.Integer preferredPageSize,
java.util.Date timeSpot)
Retrieves slice of the connections that precede the given connection URI from
the point of view of their latest events.
|
org.springframework.data.domain.Slice |
listConnectionsBefore(java.net.URI atomURI,
java.net.URI resumeConnURI,
java.lang.Integer preferredPageSize,
WonMessageType messageType,
java.util.Date timeSpot)
Retrieves slice of the connections for the specified local atom URI that
precede the given connection URI from the point of view of their latest
events.
|
java.util.Collection<java.net.URI> |
listConnectionURIs()
Retrieves all connection URIs (regardless of state).
|
org.springframework.data.domain.Slice<java.net.URI> |
listConnectionURIs(int page,
java.lang.Integer preferredSize,
java.util.Date timeSpot)
Retrieves slice of the connection URIs list for a given page number
|
java.util.Collection<java.net.URI> |
listConnectionURIs(java.net.URI atomURI)
Retrieves all connection URIs (regardless of state) for the specified local
atom URI.
|
org.springframework.data.domain.Slice<java.net.URI> |
listConnectionURIs(java.net.URI atomURI,
int page,
java.lang.Integer preferredSize,
WonMessageType messageType,
java.util.Date timeSpot)
Retrieves slice of the list of connection URIs for the specified local atom
URI.
|
java.util.Collection<Connection> |
listModifiedConnectionsAfter(java.util.Date modifiedAfter)
Retrieves all connections that were modified (by adding events) after a
certain date
|
org.springframework.data.domain.Slice<java.net.URI> |
listPagedAtomURIs(int page,
java.lang.Integer preferredSize,
AtomState atomState)
Retrieves a page of the list of atoms on the atomserver that have a given
state with number of atom uris per page preference.
|
org.springframework.data.domain.Slice<java.net.URI> |
listPagedAtomURIsAfter(java.net.URI atom,
java.lang.Integer preferredSize,
AtomState atomState)
Retrieves list of atoms on the atomserver that where created later than the
given atom that have a given state with number of atom uris per page
preference.
|
org.springframework.data.domain.Slice<java.net.URI> |
listPagedAtomURIsBefore(java.net.URI atom,
java.lang.Integer preferredSize,
AtomState atomState)
Retrieves list of atoms on the atomserver that where created earlier than the
given atom that have a given state with number of atom uris per page
preference.
|
Atom |
readAtom(java.net.URI atomURI)
Read general information about the atom.
|
DataWithEtag<Atom> |
readAtom(java.net.URI atomURI,
java.lang.String etag)
read atom data including if atom version number is equal to etag
|
org.apache.jena.rdf.model.Model |
readAtomContent(java.net.URI atomURI)
Retrieves the public description of the atom as an RDF graph.
|
Connection |
readConnection(java.net.URI connectionURI)
Read general information about the connection.
|
DataWithEtag<Connection> |
readConnection(java.net.URI connectionURI,
java.lang.String Etag)
read connection data including etag if connection version number is equal to
etag
|
org.apache.jena.rdf.model.Model |
readConnectionContent(java.net.URI connectionURI)
Retrieves the public description of the connection as an RDF graph.
|
java.util.Collection<java.net.URI> listAtomURIs()
java.util.Collection<java.net.URI> listAtomURIs(AtomState atomState)
atomState - State that an atom needs to have to be included.org.springframework.data.domain.Slice<java.net.URI> listPagedAtomURIs(int page,
java.lang.Integer preferredSize,
AtomState atomState)
page - the page numberpreferredSize - preferred number of members per page, null =>
use defaultatomState - Active/Inactive, null => all statesorg.springframework.data.domain.Slice<java.net.URI> listPagedAtomURIsBefore(java.net.URI atom,
java.lang.Integer preferredSize,
AtomState atomState)
atom - preferredSize - preferred number of members per page, null =>
use defaultatomState - Active/Inactive, null => all statesorg.springframework.data.domain.Slice<java.net.URI> listPagedAtomURIsAfter(java.net.URI atom,
java.lang.Integer preferredSize,
AtomState atomState)
atom - preferredSize - preferred number of members per page, null =>
use defaultatomState - Active/Inactive, null => all statesjava.util.Collection<java.net.URI> listAtomURIsModifiedAfter(java.util.Date modifiedAfter,
AtomState atomState)
modifiedAfter - modification date of the atoms to retrieveatomState - filterByjava.util.Collection<java.net.URI> listAtomURIsCreatedAfter(java.util.Date createdAfter,
AtomState atomState)
createdAfter - modification date of the atoms to retrieveatomState - filterByjava.util.Collection<java.net.URI> listConnectionURIs()
java.util.Collection<Connection> listConnections()
java.util.Optional<Connection> getConnection(java.net.URI socket, java.net.URI targetSocket)
java.util.Collection<Connection> listModifiedConnectionsAfter(java.util.Date modifiedAfter)
modifiedAfter - modification dateorg.springframework.data.domain.Slice<java.net.URI> listConnectionURIs(int page,
java.lang.Integer preferredSize,
java.util.Date timeSpot)
page - the page numberpreferredSize - preferred number of members per page or null; null
=> use defaulttimeSpot - time at which we want the list state to be fixed, if null -
current stateorg.springframework.data.domain.Slice<Connection> listConnections(int page, java.lang.Integer preferredSize, java.util.Date timeSpot)
page - the page numberpreferredSize - preferred number of members per page or null; null
=> use defaulttimeSpot - time at which we want the list state to be fixed, if null -
current stateorg.springframework.data.domain.Slice<Connection> listConnectionsBefore(java.net.URI resumeConnURI, java.lang.Integer preferredPageSize, java.util.Date timeSpot)
resumeConnURI - the returned slice connections precede (in time of their
latest events) this connection uripreferredPageSize - preferred number of members per page or null; null
=> use defaulttimeSpot - time at which we want the list state to be fixed, cannot be
nullorg.springframework.data.domain.Slice<Connection> listConnectionsAfter(java.net.URI resumeConnURI, java.lang.Integer preferredPageSize, java.util.Date timeSpot)
resumeConnURI - the returned slice connections follow (in time of their
latest events) this connection uripreferredPageSize - preferred number of members per page or null; null
=> use defaulttimeSpot - time at which we want the list state to be fixed, cannot be
nulljava.util.Collection<java.net.URI> listConnectionURIs(java.net.URI atomURI)
throws NoSuchAtomException
atomURI - the URI of the atomNoSuchAtomException - if atomURI is not a known
atom URIjava.util.Collection<Connection> listConnections(java.net.URI atomURI) throws NoSuchAtomException
atomURI - the URI of the atomNoSuchAtomException - if atomURI is not a known
atom URIorg.springframework.data.domain.Slice<java.net.URI> listConnectionURIs(java.net.URI atomURI,
int page,
java.lang.Integer preferredSize,
WonMessageType messageType,
java.util.Date timeSpot)
atomURI - the URI of the atompage - the page numberpreferredSize - preferred number of members per page or null; null
=> use defaultmessageType - event type that should be used for defining connection
latest activity; null => all event typestimeSpot - time at which we want the list state to be fixed, if null -
current stateorg.springframework.data.domain.Slice<Connection> listConnections(java.net.URI atomURI, int page, java.lang.Integer preferredSize, WonMessageType messageType, java.util.Date timeSpot)
atomURI - the URI of the atompage - the page numberpreferredSize - preferred number of members per page or null; null
=> use defaultmessageType - event type that should be used for defining connection
latest activity; null => all event typestimeSpot - time at which we want the list state to be fixed, if null -
current stateorg.springframework.data.domain.Slice listConnectionsBefore(java.net.URI atomURI,
java.net.URI resumeConnURI,
java.lang.Integer preferredPageSize,
WonMessageType messageType,
java.util.Date timeSpot)
atomURI - resumeConnURI - the returned slice connections precede (in time of their
latest events) this connection uripreferredPageSize - preferred number of members per page or null; null
=> use defaultmessageType - event type that should be used for defining connection
latest activity; null => all event typestimeSpot - time at which we want the list state to be fixed, cannot be
nullorg.springframework.data.domain.Slice listConnectionsAfter(java.net.URI atomURI,
java.net.URI resumeConnURI,
java.lang.Integer preferredPageSize,
WonMessageType messageType,
java.util.Date timeSpot)
atomURI - resumeConnURI - the returned slice connections follow (in time of their
latest events) this connection uripreferredPageSize - preferred number of members per page or null; null
=> use defaultmessageType - event type that should be used for defining connection
latest activity; null => all event typestimeSpot - time at which we want the list state to be fixed, cannot be
nullAtom readAtom(java.net.URI atomURI) throws NoSuchAtomException
atomURI - NoSuchAtomExceptionDataWithEtag<Atom> readAtom(java.net.URI atomURI, java.lang.String etag) throws NoSuchAtomException
atomURI - describes the atom to lookupetag - describes the version of the data to look upNoSuchAtomExceptionorg.apache.jena.rdf.model.Model readAtomContent(java.net.URI atomURI)
throws NoSuchAtomException
atomURI - NoSuchAtomExceptionConnection readConnection(java.net.URI connectionURI) throws NoSuchConnectionException
connectionURI - NoSuchConnectionExceptionDataWithEtag<Connection> readConnection(java.net.URI connectionURI, java.lang.String Etag)
connectionURI - describes the connection to lookupEtag - describes the version of the data to look uporg.apache.jena.rdf.model.Model readConnectionContent(java.net.URI connectionURI)
throws NoSuchConnectionException
connectionURI - NoSuchConnectionExceptionorg.springframework.data.domain.Slice<MessageEvent> listConnectionEvents(java.net.URI connectionUri, int page, java.lang.Integer preferredPageSize, WonMessageType messageType)
org.springframework.data.domain.Slice<MessageEvent> listConnectionEventsBefore(java.net.URI connectionUri, java.net.URI msgURI, java.lang.Integer preferredPageSize, WonMessageType msgType)
org.springframework.data.domain.Slice<MessageEvent> listConnectionEventsAfter(java.net.URI connectionUri, java.net.URI msgURI, java.lang.Integer preferredPageSize, WonMessageType msgType)
Copyright © 2019. All Rights Reserved.