@Unstable
public interface LiveDataEntryPropertyResource
Modifier and Type | Method and Description |
---|---|
Object |
getProperty(String sourceId,
String namespace,
String entryId,
String propertyId)
Retrieves the value of a property from a specified live data entry.
|
javax.ws.rs.core.Response |
setProperty(String sourceId,
String namespace,
String entryId,
String propertyId,
String value)
Sets the value of a property from a live data entry.
|
Object getProperty(String sourceId, String namespace, String entryId, String propertyId) 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 live data entrypropertyId
- identifies the property whose value to returnException
- if retrieving the property value failsjavax.ws.rs.core.Response setProperty(String sourceId, String namespace, String entryId, String propertyId, String value) throws Exception
sourceId
- indicates the LiveDataSource
component implementation whose entry needs to be updatednamespace
- the component manager name-space where to look for LiveDataSource
implementations; if
not specified then the context / current name-space is usedentryId
- identifies the live data entry whose property needs to be setpropertyId
- identifies the property whose value needs to be setvalue
- the new property valueException
- if settings the property value failsCopyright © 2004–2022 XWiki. All rights reserved.