public interface NeedInformationService
| Modifier and Type | Interface and Description |
|---|---|
static class |
NeedInformationService.Page<T>
Deprecated.
|
static class |
NeedInformationService.PagedResource<T,E> |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.domain.Slice<MessageEventPlaceholder> |
listConnectionEvents(java.net.URI connectionUri,
int page,
java.lang.Integer preferredPageSize,
WonMessageType messageType) |
org.springframework.data.domain.Slice<MessageEventPlaceholder> |
listConnectionEventsAfter(java.net.URI connectionUri,
java.net.URI msgURI,
java.lang.Integer preferredPageSize,
WonMessageType msgType) |
org.springframework.data.domain.Slice<MessageEventPlaceholder> |
listConnectionEventsBefore(java.net.URI connectionUri,
java.net.URI msgURI,
java.lang.Integer preferredPageSize,
WonMessageType msgType) |
org.springframework.data.domain.Slice<java.net.URI> |
listConnectionEventURIsAfter(java.net.URI connectionUri,
java.net.URI msgURI,
java.lang.Integer preferredPageSize,
WonMessageType msgType)
Deprecated.
|
org.springframework.data.domain.Slice<java.net.URI> |
listConnectionEventURIsBefore(java.net.URI connectionUri,
java.net.URI msgURI,
java.lang.Integer preferredPageSize,
WonMessageType msgType)
Deprecated.
|
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 needURI)
Retrieves all connection URIs (regardless of state) for the specified local need URI.
|
org.springframework.data.domain.Slice<java.net.URI> |
listConnectionURIs(java.net.URI needURI,
int page,
java.lang.Integer preferredSize,
WonMessageType messageType,
java.util.Date timeSpot)
Retrieves slice of the list of connection URIs for the specified local need URI.
|
org.springframework.data.domain.Slice<java.net.URI> |
listConnectionURIsAfter(java.net.URI resumeConnURI,
java.lang.Integer preferredPageSize,
java.util.Date timeSpot)
Retrieves slice of the connection URIs that follows the given connection URI from the point of view of their
latest events.
|
org.springframework.data.domain.Slice |
listConnectionURIsAfter(java.net.URI needURI,
java.net.URI resumeConnURI,
java.lang.Integer preferredPageSize,
WonMessageType messageType,
java.util.Date timeSpot)
Retrieves slice of the connection URIs that follows the given connection URI from the point of view of their
latest events.
|
org.springframework.data.domain.Slice<java.net.URI> |
listConnectionURIsBefore(java.net.URI resumeConnURI,
java.lang.Integer preferredPageSize,
java.util.Date timeSpot)
Retrieves slice of the connection URIs that precede the given connection URI from the point of view of their
latest events.
|
org.springframework.data.domain.Slice |
listConnectionURIsBefore(java.net.URI needURI,
java.net.URI resumeConnURI,
java.lang.Integer preferredPageSize,
WonMessageType messageType,
java.util.Date timeSpot)
Retrieves slice of the connection URIs for the specified local need URI that precede the given connection URI
from the point of view of their latest events.
|
java.util.Collection<java.net.URI> |
listModifiedConnectionURIsAfter(java.util.Date modifiedAfter)
Retrieves all connection URIs that were modified (by adding events) after a certain date
|
java.util.Collection<java.net.URI> |
listModifiedNeedURIsAfter(java.util.Date modifiedAfter)
retrieves needs that have been modified after a certain date
|
java.util.Collection<java.net.URI> |
listNeedURIs()
Retrieves a list of all needs on the needserver.
|
org.springframework.data.domain.Slice<java.net.URI> |
listNeedURIs(int page,
java.lang.Integer preferredSize,
NeedState needState)
Retrieves a page of the list of needs on the needserver that have a given state
with number of need uris per page preference.
|
org.springframework.data.domain.Slice<java.net.URI> |
listNeedURIsAfter(java.net.URI need,
java.lang.Integer preferredSize,
NeedState needState)
Retrieves list of needs on the needserver that where created later than the given need
that have a given state with number of need uris per page preference.
|
org.springframework.data.domain.Slice<java.net.URI> |
listNeedURIsBefore(java.net.URI need,
java.lang.Integer preferredSize,
NeedState needState)
Retrieves list of needs on the needserver that where created earlier than the given need
that have a given state with number of need uris per page preference.
|
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.
|
Need |
readNeed(java.net.URI needURI)
Read general information about the need.
|
DataWithEtag<Need> |
readNeed(java.net.URI needURI,
java.lang.String etag)
read need data including if need version number is equal to etag
|
org.apache.jena.rdf.model.Model |
readNeedContent(java.net.URI needURI)
Retrieves the public description of the need as an RDF graph.
|
java.util.Collection<java.net.URI> listNeedURIs()
org.springframework.data.domain.Slice<java.net.URI> listNeedURIs(int page,
java.lang.Integer preferredSize,
NeedState needState)
page - the page numberpreferredSize - preferred number of members per page, null => use defaultneedState - Active/Inactive, null => all statesorg.springframework.data.domain.Slice<java.net.URI> listNeedURIsBefore(java.net.URI need,
java.lang.Integer preferredSize,
NeedState needState)
need - preferredSize - preferred number of members per page, null => use defaultneedState - Active/Inactive, null => all statesorg.springframework.data.domain.Slice<java.net.URI> listNeedURIsAfter(java.net.URI need,
java.lang.Integer preferredSize,
NeedState needState)
need - preferredSize - preferred number of members per page, null => use defaultneedState - Active/Inactive, null => all statesjava.util.Collection<java.net.URI> listModifiedNeedURIsAfter(java.util.Date modifiedAfter)
modifiedAfter - modification date of the needs to retrievejava.util.Collection<java.net.URI> listConnectionURIs()
java.util.Collection<java.net.URI> listModifiedConnectionURIsAfter(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<java.net.URI> listConnectionURIsBefore(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<java.net.URI> listConnectionURIsAfter(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 needURI)
throws NoSuchNeedException
needURI - the URI of the needNoSuchNeedException - if needURI is not a known need URIorg.springframework.data.domain.Slice<java.net.URI> listConnectionURIs(java.net.URI needURI,
int page,
java.lang.Integer preferredSize,
WonMessageType messageType,
java.util.Date timeSpot)
needURI - the URI of the needpage - 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 stateNoSuchNeedException - if needURI is not a known need URIorg.springframework.data.domain.Slice listConnectionURIsBefore(java.net.URI needURI,
java.net.URI resumeConnURI,
java.lang.Integer preferredPageSize,
WonMessageType messageType,
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 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 listConnectionURIsAfter(java.net.URI needURI,
java.net.URI resumeConnURI,
java.lang.Integer preferredPageSize,
WonMessageType messageType,
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 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 nullNeed readNeed(java.net.URI needURI) throws NoSuchNeedException
needURI - NoSuchNeedExceptionDataWithEtag<Need> readNeed(java.net.URI needURI, java.lang.String etag) throws NoSuchNeedException
needURI - describes the need to lookupetag - describes the version of the data to look upNoSuchNeedExceptionorg.apache.jena.rdf.model.Model readNeedContent(java.net.URI needURI)
throws NoSuchNeedException
needURI - NoSuchNeedExceptionConnection readConnection(java.net.URI connectionURI) throws NoSuchConnectionException
connectionURI - NoSuchNeedExceptionNoSuchConnectionExceptionDataWithEtag<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 - NoSuchNeedExceptionNoSuchConnectionExceptionorg.springframework.data.domain.Slice<MessageEventPlaceholder> listConnectionEvents(java.net.URI connectionUri, int page, java.lang.Integer preferredPageSize, WonMessageType messageType)
@Deprecated
org.springframework.data.domain.Slice<java.net.URI> listConnectionEventURIsBefore(java.net.URI connectionUri,
java.net.URI msgURI,
java.lang.Integer preferredPageSize,
WonMessageType msgType)
connectionUri - msgURI - before which the messages should be returned (created before this message msgURI)preferredPageSize - preferred number of members per page, null => use defaultmsgType - null => all typesorg.springframework.data.domain.Slice<MessageEventPlaceholder> listConnectionEventsBefore(java.net.URI connectionUri, java.net.URI msgURI, java.lang.Integer preferredPageSize, WonMessageType msgType)
@Deprecated
org.springframework.data.domain.Slice<java.net.URI> listConnectionEventURIsAfter(java.net.URI connectionUri,
java.net.URI msgURI,
java.lang.Integer preferredPageSize,
WonMessageType msgType)
connectionUri - msgURI - after which the messages should be returned (created after this message msgURI)preferredPageSize - preferred number of members per page, null => use defaultmsgType - null => all typesorg.springframework.data.domain.Slice<MessageEventPlaceholder> listConnectionEventsAfter(java.net.URI connectionUri, java.net.URI msgURI, java.lang.Integer preferredPageSize, WonMessageType msgType)
Copyright © 2018. All Rights Reserved.