public interface LinkedDataService
| Modifier and Type | Method and Description |
|---|---|
DataWithEtag<org.apache.jena.query.Dataset> |
getConnectionDataset(java.net.URI connectionUri,
boolean includeEventContainer,
boolean includeLatestEvent,
java.lang.String etag)
Returns a dataset describing the connection, if the etag indicates that it
has changed.
|
DataWithEtag<org.apache.jena.query.Dataset> |
getDatasetForUri(java.net.URI eventURI,
java.lang.String etag)
returns a dataset of the (message) event with the specified URI, with a value
that can be used for an etag.
|
org.apache.jena.query.Dataset |
getNeedDataset(java.net.URI needUri,
boolean deep,
java.lang.Integer deepLayerSize)
Returns a dataset describing the need with the specified URI.
|
DataWithEtag<org.apache.jena.query.Dataset> |
getNeedDataset(java.net.URI needUri,
java.lang.String etag)
Returns a dataset describing the need, if the etag indicates that it has
changed.
|
org.apache.jena.query.Dataset |
getNodeDataset() |
org.apache.jena.rdf.model.Model |
getUnreadInformationForNeed(java.net.URI needURI,
java.util.Collection<java.net.URI> lastSeenMessageURIs)
Returns a model specifying the number of messages and their latest and earliest timestamp found per connection
after the specified lastSeenMessageURI, or the total message count and respective timestamps for a connection
for which no lastSeenMessageURI is specified.
|
org.apache.jena.query.Dataset |
listConnectionEventURIs(java.net.URI connectionUri)
Returns a dataset containing all event uris belonging to the specified
connection.
|
org.apache.jena.query.Dataset |
listConnectionEventURIs(java.net.URI connectionUri,
boolean deep)
Returns a dataset containing all event uris belonging to the specified
connection.
|
NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> |
listConnectionEventURIs(java.net.URI connectionUri,
int pageNum,
java.lang.Integer preferedSize,
WonMessageType messageType,
boolean deep)
Returns paged resource containing all event uris belonging to the specified
connection.
|
NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> |
listConnectionEventURIsAfter(java.net.URI connectionUri,
java.net.URI msgURI,
java.lang.Integer preferedSize,
WonMessageType msgType,
boolean deep)
Returns a dataset containing all event uris belonging to the specified
connection that were created after the specified event uri.
|
NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> |
listConnectionEventURIsBefore(java.net.URI connectionUri,
java.net.URI msgURI,
java.lang.Integer preferedSize,
WonMessageType msgType,
boolean deep)
Returns a dataset containing all event uris belonging to the specified
connection that were created before the specified event uri.
|
org.apache.jena.query.Dataset |
listConnectionURIs(boolean deep)
Returns container dataset containing all connection URIs.
|
NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> |
listConnectionURIs(int page,
java.lang.Integer preferredSize,
java.util.Date timeSpot,
boolean deep)
Returns a resource containing connection uris at given page.
|
NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> |
listConnectionURIs(int page,
java.net.URI needURI,
java.lang.Integer preferredSize,
WonMessageType messageType,
java.util.Date timeSpot,
boolean deep,
boolean addMetadata)
Returns paged resource containing all connection uris belonging to the
specified need.
|
org.apache.jena.query.Dataset |
listConnectionURIs(java.net.URI needURI,
boolean deep,
boolean addMetadata)
Returns a model containing all connection uris belonging to the specified
need.
|
NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> |
listConnectionURIsAfter(java.net.URI afterConnURI,
java.lang.Integer preferredSize,
java.util.Date timeSpot,
boolean deep)
Returns a resource containing connection uris that follow (by time of their
latest event activities) the given connection as of state that was at the
specified time.
|
NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> |
listConnectionURIsAfter(java.net.URI needURI,
java.net.URI resumeConnURI,
java.lang.Integer preferredSize,
WonMessageType messageType,
java.util.Date timeSpot,
boolean deep,
boolean addMetadata)
Returns paged resource containing all connection uris belonging to the
specified need that follows the given connection URI from the point of view
of their latest events.
|
NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> |
listConnectionURIsBefore(java.net.URI beforeConnURI,
java.lang.Integer preferredSize,
java.util.Date timeSpot,
boolean deep)
Returns a resource containing connection uris that precede (by time of their
latest event activities) the given connection as of state that was at the
specified time.
|
NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> |
listConnectionURIsBefore(java.net.URI needURI,
java.net.URI resumeConnURI,
java.lang.Integer preferredSize,
WonMessageType messageType,
java.util.Date timeSpot,
boolean deep,
boolean addMetadata)
Returns paged resource containing all connection uris belonging to the
specified need that precede the given connection URI from the point of view
of their latest events.
|
org.apache.jena.query.Dataset |
listModifiedConnectionURIsAfter(java.util.Date modifiedAfter,
boolean deep)
Returns container dataset containing all connection URIs that where modified
after a certain date.
|
org.apache.jena.query.Dataset |
listModifiedNeedURIsAfter(java.util.Date modifiedDate)
Returns container dataset containing all needs that have been modified after
a certain date
|
org.apache.jena.query.Dataset |
listNeedURIs()
Returns a model containing all need URIs.
|
NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> |
listNeedURIs(int page)
Returns a model containing all need URIs.
|
NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> |
listNeedURIs(int page,
java.lang.Integer preferedSize,
NeedState needState)
Returns a model containing all need URIs that are in the specified state.
|
NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> |
listNeedURIsAfter(java.net.URI need)
Return all need URIs that where created after the provided need
|
NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> |
listNeedURIsAfter(java.net.URI need,
java.lang.Integer preferedSize,
NeedState needState)
Return all need URIs that where created after the provided need and that are
in the specified state
|
NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> |
listNeedURIsBefore(java.net.URI need)
Return all need URIs that where created before the provided need
|
NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> |
listNeedURIsBefore(java.net.URI need,
java.lang.Integer preferedSize,
NeedState needState)
Return all need URIs that where created after the provided need and that are
in the specified state
|
org.apache.jena.query.Dataset listNeedURIs()
NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> listNeedURIs(int page)
page - NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> listNeedURIs(int page, java.lang.Integer preferedSize, NeedState needState)
page - preferedSize - preferred number of need uris per page (null means use default)needState - NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> listNeedURIsBefore(java.net.URI need)
need - NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> listNeedURIsAfter(java.net.URI need)
need - NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> listNeedURIsBefore(java.net.URI need, java.lang.Integer preferedSize, NeedState needState)
need - preferedSize - preferred number of need uris per page (null means use default)needState - NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> listNeedURIsAfter(java.net.URI need, java.lang.Integer preferedSize, NeedState needState)
need - preferedSize - preferred number of need uris per page (null means use default)needState - org.apache.jena.query.Dataset listModifiedNeedURIsAfter(java.util.Date modifiedDate)
modifiedDate - modification date of needsorg.apache.jena.query.Dataset listConnectionURIs(boolean deep)
throws NoSuchConnectionException
deep - NoSuchConnectionException - only in case deep is set to true and connection data for a member
connection uri cannot be retrieved.org.apache.jena.query.Dataset listModifiedConnectionURIsAfter(java.util.Date modifiedAfter,
boolean deep)
throws NoSuchConnectionException
modifiedAfter - modification datedeep - If deep is true, the resource data of those connection uris is
also part of the returned resource.NoSuchConnectionExceptionNeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> listConnectionURIs(int page, java.lang.Integer preferredSize, java.util.Date timeSpot, boolean deep) throws NoSuchConnectionException
page - preferredSize - preferred number of connection uris per page (null means use
default)deep - NoSuchNeedExceptionNoSuchConnectionExceptionNeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> listConnectionURIsBefore(java.net.URI beforeConnURI, java.lang.Integer preferredSize, java.util.Date timeSpot, boolean deep) throws NoSuchConnectionException
beforeConnURI - a connection the preceding connections of which we are interested
inpreferredSize - preferred number of connection uris per page (null means use
default)timeSpot - date and time that specifies the connections and events state of
interestdeep - if true, the resource data of those connection uris is also part
of the resourceNoSuchNeedExceptionNoSuchConnectionException - only in case deep is set to true and connection data for a member
connection uri cannot be retrieved.NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> listConnectionURIsAfter(java.net.URI afterConnURI, java.lang.Integer preferredSize, java.util.Date timeSpot, boolean deep) throws NoSuchConnectionException
afterConnURI - a connection the following connections of which we are interested
inpreferredSize - preferred number of connection uris per page (null means use
default)timeSpot - date and time that specifies the connections and events state of
interestdeep - if true, the resource data of those connection uris is also part
of the resourceNoSuchNeedExceptionNoSuchConnectionException - only in case deep is set to true and connection data for a member
connection uri cannot be retrieved.org.apache.jena.query.Dataset listConnectionURIs(java.net.URI needURI,
boolean deep,
boolean addMetadata)
throws NoSuchNeedException,
NoSuchConnectionException
needURI - addMetadata - - if true, a metadata graph is added to the dataset containing
counts by connection statedeep - - if true, connection data is added (not only connection URIs)NoSuchNeedExceptionNoSuchConnectionExceptionNeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> listConnectionURIs(int page, java.net.URI needURI, java.lang.Integer preferredSize, WonMessageType messageType, java.util.Date timeSpot, boolean deep, boolean addMetadata) throws NoSuchNeedException, NoSuchConnectionException
page - numberpreferredSize - preferred number of connection uris per page (null means use
default)needURI - local need the connections of which are retrievedmessageType - the 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 fixeddeep - if true, the resource data of those connection uris is also part
of the resourceaddMetadata - - if true, a metadata graph is added to the dataset containing
counts by connection stateNoSuchNeedException - when specified need is not foundNoSuchConnectionException - only in case deep is set to true and connection data for a member
connection uri cannot be retrieved.NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> listConnectionURIsBefore(java.net.URI needURI, java.net.URI resumeConnURI, java.lang.Integer preferredSize, WonMessageType messageType, java.util.Date timeSpot, boolean deep, boolean addMetadata) throws NoSuchNeedException, NoSuchConnectionException
needURI - local need the connections of which are retrievedresumeConnURI - the returned slice connections precede (in time of their latest
events) this connection uripreferredSize - preferred number of connection uris per page (null means use
default)messageType - the 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 fixeddeep - if true, the resource data of those connection uris is also part
of the resourceaddMetadata - - if true, a metadata graph is added to the dataset containing
counts by connection stateNoSuchNeedException - when specified need is not foundNoSuchConnectionException - only in case deep is set to true and connection data for a member
connection uri cannot be retrieved.NeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> listConnectionURIsAfter(java.net.URI needURI, java.net.URI resumeConnURI, java.lang.Integer preferredSize, WonMessageType messageType, java.util.Date timeSpot, boolean deep, boolean addMetadata) throws NoSuchNeedException, NoSuchConnectionException
needURI - local need the connections of which are retrievedresumeConnURI - the returned slice connections follow (in time of their latest
events) this connection uripreferredSize - preferred number of connection uris per page (null means use
default)messageType - the 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 fixeddeep - if true, the resource data of those connection uris is also part
of the resourceaddMetadata - - if true, a metadata graph is added to the dataset containing
counts by connection stateNoSuchNeedException - when specified need is not foundNoSuchConnectionException - only in case deep is set to true and connection data for a member
connection uri cannot be retrieved.DataWithEtag<org.apache.jena.query.Dataset> getNeedDataset(java.net.URI needUri, java.lang.String etag)
needUri - etag - org.apache.jena.query.Dataset getNeedDataset(java.net.URI needUri,
boolean deep,
java.lang.Integer deepLayerSize)
throws NoSuchNeedException,
NoSuchConnectionException,
org.springframework.context.NoSuchMessageException
needUri - deep - - include need's connections datasets and each connection's
events' datasetsdeepLayerSize - - number of connections and events to include in the deep need
datasetNoSuchNeedExceptionNoSuchConnectionExceptionorg.springframework.context.NoSuchMessageExceptionDataWithEtag<org.apache.jena.query.Dataset> getConnectionDataset(java.net.URI connectionUri, boolean includeEventContainer, boolean includeLatestEvent, java.lang.String etag)
connectionUri - includeEventContainer - includeLatestEvent - etag - NoSuchConnectionExceptionorg.apache.jena.query.Dataset listConnectionEventURIs(java.net.URI connectionUri)
throws NoSuchConnectionException
connectionUri - NoSuchConnectionExceptionorg.apache.jena.query.Dataset listConnectionEventURIs(java.net.URI connectionUri,
boolean deep)
throws NoSuchConnectionException
connectionUri - deep - - include events datasetNoSuchConnectionExceptionNeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> listConnectionEventURIs(java.net.URI connectionUri, int pageNum, java.lang.Integer preferedSize, WonMessageType messageType, boolean deep) throws NoSuchConnectionException
connectionUri - connection parent of the eventspageNum - number of the page to be returnedpreferedSize - preferred number of uris per page, null means use defaultmessageType - message type, null means all typesdeep - NoSuchConnectionExceptionNeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> listConnectionEventURIsAfter(java.net.URI connectionUri, java.net.URI msgURI, java.lang.Integer preferedSize, WonMessageType msgType, boolean deep) throws NoSuchConnectionException
connectionUri - connection parent of the eventsmsgURI - message to follow (in message creation time)preferedSize - preferred number of uris per page, null means use defaultmsgType - message type, null means all typesdeep - NoSuchConnectionExceptionNeedInformationService.PagedResource<org.apache.jena.query.Dataset,java.net.URI> listConnectionEventURIsBefore(java.net.URI connectionUri, java.net.URI msgURI, java.lang.Integer preferedSize, WonMessageType msgType, boolean deep) throws NoSuchConnectionException
connectionUri - connection parent of the eventsmsgURI - message to precede (in message creation time)preferedSize - preferred number of uris per page, null means use defaultmsgType - message type, null means all typesdeep - NoSuchConnectionExceptionorg.apache.jena.query.Dataset getNodeDataset()
DataWithEtag<org.apache.jena.query.Dataset> getDatasetForUri(java.net.URI eventURI, java.lang.String etag)
eventURI - org.apache.jena.rdf.model.Model getUnreadInformationForNeed(java.net.URI needURI,
java.util.Collection<java.net.URI> lastSeenMessageURIs)
needURI - lastSeenMessageURIs - Copyright © 2018. All Rights Reserved.