@Unstable
public interface LiveDataEntryResource
Modifier and Type | Method and Description |
---|---|
void |
deleteEntry(String sourceId,
String namespace,
String entryId)
Deletes an entry from the data set.
|
Entry |
getEntry(String sourceId,
String namespace,
String entryId)
Fetches an entry from the specified live data source.
|
javax.ws.rs.core.Response |
updateEntry(String sourceId,
String namespace,
String entryId,
Entry entry)
Updates an existing entry.
|
Entry getEntry(String sourceId, String namespace, String entryId) throws Exception
sourceId
- indicates the LiveDataSource
component implementationnamespace
- the component manager name-space where to look for LiveDataSource
implementations; if
not specified then the context / current name-space is usedentryId
- identifies the entry to retrieveException
- if retrieving the entry failsjavax.ws.rs.core.Response updateEntry(String sourceId, String namespace, String entryId, Entry entry) throws Exception
sourceId
- indicates the LiveDataSource
component implementationnamespace
- the component manager name-space where to look for LiveDataSource
implementations; if
not specified then the context / current name-space is usedentry
- the new entry valuesentryId
- identifies the entry to updateException
- if updating the specified entry failsvoid deleteEntry(String sourceId, String namespace, String entryId) throws Exception
sourceId
- indicates the LiveDataSource
component implementationnamespace
- the component manager name-space where to look for LiveDataSource
implementations; if
not specified then the context / current name-space is usedentryId
- identifies the entry to deleteException
- if deleting the specified entry failsCopyright © 2004–2022 XWiki. All rights reserved.