@Unstable
public interface LiveDataPropertiesResource
LiveDataSource
.Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
addProperty(String sourceId,
String namespace,
PropertyDescriptor propertyDescriptor)
Adds a new property to the data set.
|
Properties |
getProperties(String sourceId,
String namespace)
Provides the list of properties known by a specific
LiveDataSource implementation. |
Properties getProperties(String sourceId, String namespace) throws Exception
LiveDataSource
implementation.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 usedLiveDataSource
component implementationException
- if retrieving the list of properties failsjavax.ws.rs.core.Response addProperty(String sourceId, String namespace, PropertyDescriptor propertyDescriptor) 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 usedpropertyDescriptor
- describes the property to addException
- if adding the property failsCopyright © 2004–2022 XWiki. All rights reserved.